drivers/pinctrl/mediatek/pinctrl-mtk-mt6797.h
Source file repositories/reference/linux-study-clean/drivers/pinctrl/mediatek/pinctrl-mtk-mt6797.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/pinctrl/mediatek/pinctrl-mtk-mt6797.h- Extension
.h- Size
- 60271 bytes
- Lines
- 2430
- Domain
- Driver Families
- Bucket
- drivers/pinctrl
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
pinctrl-paris.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef __PINCTRL_MTK_MT6797_H
#define __PINCTRL_MTK_MT6797_H
#include "pinctrl-paris.h"
static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
0, "GPIO0",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
DRV_GRP3,
MTK_FUNCTION(0, "GPIO0"),
MTK_FUNCTION(1, "CSI0A_L0P_T0A")
),
MTK_PIN(
1, "GPIO1",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
DRV_GRP3,
MTK_FUNCTION(0, "GPIO1"),
MTK_FUNCTION(1, "CSI0A_L0N_T0B")
),
MTK_PIN(
2, "GPIO2",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
DRV_GRP3,
MTK_FUNCTION(0, "GPIO2"),
MTK_FUNCTION(1, "CSI0A_L1P_T0C")
),
MTK_PIN(
3, "GPIO3",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
DRV_GRP3,
MTK_FUNCTION(0, "GPIO3"),
MTK_FUNCTION(1, "CSI0A_L1N_T1A")
),
MTK_PIN(
4, "GPIO4",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
DRV_GRP3,
MTK_FUNCTION(0, "GPIO4"),
MTK_FUNCTION(1, "CSI0A_L2P_T1B")
),
MTK_PIN(
5, "GPIO5",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
DRV_GRP3,
MTK_FUNCTION(0, "GPIO5"),
MTK_FUNCTION(1, "CSI0A_L2N_T1C")
),
MTK_PIN(
6, "GPIO6",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
DRV_GRP3,
MTK_FUNCTION(0, "GPIO6"),
MTK_FUNCTION(1, "CSI0B_L0P_T0A")
),
MTK_PIN(
7, "GPIO7",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
DRV_GRP3,
MTK_FUNCTION(0, "GPIO7"),
MTK_FUNCTION(1, "CSI0B_L0N_T0B")
),
MTK_PIN(
8, "GPIO8",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
DRV_GRP3,
MTK_FUNCTION(0, "GPIO8"),
MTK_FUNCTION(1, "CSI0B_L1P_T0C")
),
MTK_PIN(
9, "GPIO9",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
DRV_GRP3,
MTK_FUNCTION(0, "GPIO9"),
MTK_FUNCTION(1, "CSI0B_L1N_T1A")
),
MTK_PIN(
10, "GPIO10",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
DRV_GRP3,
MTK_FUNCTION(0, "GPIO10"),
MTK_FUNCTION(1, "CSI1A_L0P_T0A")
),
MTK_PIN(
11, "GPIO11",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
DRV_GRP3,
MTK_FUNCTION(0, "GPIO11"),
MTK_FUNCTION(1, "CSI1A_L0N_T0B")
),
Annotation
- Immediate include surface: `pinctrl-paris.h`.
- Atlas domain: Driver Families / drivers/pinctrl.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.