aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2018-11-05 20:41:11 +0530
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2018-11-05 21:46:20 +0530
commite32cd0dce842c55f2f76b93b1f16efbff28f215c (patch)
tree1e6408e540f040e48faa75758e23a6f1342f21bd
parent0d8948a534fb183cc89a742684806e080d01684d (diff)
download96b-common-mt6797-eint.tar.gz
pinctrl: mediatek: mt6797: Fix driving groupsmt6797-eint
Fix driving groups for individual pins of the Mediatek MT6797 SoC. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-rw-r--r--drivers/pinctrl/mediatek/pinctrl-mtk-mt6797.h244
1 files changed, 122 insertions, 122 deletions
diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-mt6797.h b/drivers/pinctrl/mediatek/pinctrl-mtk-mt6797.h
index 47dcc059cff8..aeed65dac92f 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mtk-mt6797.h
+++ b/drivers/pinctrl/mediatek/pinctrl-mtk-mt6797.h
@@ -18,196 +18,196 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
0, "GPIO0",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
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,
+ DRV_FIXED,
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,
+ DRV_FIXED,
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,
+ DRV_FIXED,
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,
+ DRV_FIXED,
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,
+ DRV_FIXED,
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,
+ DRV_FIXED,
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,
+ DRV_FIXED,
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,
+ DRV_FIXED,
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,
+ DRV_FIXED,
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,
+ DRV_FIXED,
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,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO11"),
MTK_FUNCTION(1, "CSI1A_L0N_T0B")
),
MTK_PIN(
12, "GPIO12",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO12"),
MTK_FUNCTION(1, "CSI1A_L1P_T0C")
),
MTK_PIN(
13, "GPIO13",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO13"),
MTK_FUNCTION(1, "CSI1A_L1N_T1A")
),
MTK_PIN(
14, "GPIO14",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO14"),
MTK_FUNCTION(1, "CSI1A_L2P_T1B")
),
MTK_PIN(
15, "GPIO15",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO15"),
MTK_FUNCTION(1, "CSI1A_L2N_T1C")
),
MTK_PIN(
16, "GPIO16",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO16"),
MTK_FUNCTION(1, "CSI1B_L0P_T0A")
),
MTK_PIN(
17, "GPIO17",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO17"),
MTK_FUNCTION(1, "CSI1B_L0N_T0B")
),
MTK_PIN(
18, "GPIO18",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO18"),
MTK_FUNCTION(1, "CSI1B_L1P_T0C")
),
MTK_PIN(
19, "GPIO19",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO19"),
MTK_FUNCTION(1, "CSI1B_L1N_T1A")
),
MTK_PIN(
20, "GPIO20",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO20"),
MTK_FUNCTION(1, "CSI1B_L2P_T1B")
),
MTK_PIN(
21, "GPIO21",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO21"),
MTK_FUNCTION(1, "CSI1B_L2N_T1C")
),
MTK_PIN(
22, "GPIO22",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO22"),
MTK_FUNCTION(1, "CSI2_L0P_T0A")
),
MTK_PIN(
23, "GPIO23",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO23"),
MTK_FUNCTION(1, "CSI2_L0N_T0B")
),
MTK_PIN(
24, "GPIO24",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO24"),
MTK_FUNCTION(1, "CSI2_L1P_T0C")
),
MTK_PIN(
25, "GPIO25",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO25"),
MTK_FUNCTION(1, "CSI2_L1N_T1A")
),
MTK_PIN(
26, "GPIO26",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO26"),
MTK_FUNCTION(1, "CSI2_L2P_T1B")
),
MTK_PIN(
27, "GPIO27",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO27"),
MTK_FUNCTION(1, "CSI2_L2N_T1C")
),
@@ -321,21 +321,21 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
37, "GPIO37",
MTK_EINT_FUNCTION(0, 25),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO37"),
MTK_FUNCTION(1, "SCL0_0")
),
MTK_PIN(
38, "GPIO38",
MTK_EINT_FUNCTION(0, 26),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO38"),
MTK_FUNCTION(1, "SDA0_0")
),
MTK_PIN(
39, "GPIO39",
MTK_EINT_FUNCTION(0, 27),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO39"),
MTK_FUNCTION(1, "DPI_D0"),
MTK_FUNCTION(2, "SPI1_CLK_A"),
@@ -348,7 +348,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
40, "GPIO40",
MTK_EINT_FUNCTION(0, 28),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO40"),
MTK_FUNCTION(1, "DPI_D1"),
MTK_FUNCTION(2, "SPI1_MI_A"),
@@ -361,7 +361,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
41, "GPIO41",
MTK_EINT_FUNCTION(0, 29),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO41"),
MTK_FUNCTION(1, "DPI_D2"),
MTK_FUNCTION(2, "SPI1_CS_A"),
@@ -374,7 +374,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
42, "GPIO42",
MTK_EINT_FUNCTION(0, 30),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO42"),
MTK_FUNCTION(1, "DPI_D3"),
MTK_FUNCTION(2, "SPI1_MO_A"),
@@ -387,7 +387,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
43, "GPIO43",
MTK_EINT_FUNCTION(0, 31),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO43"),
MTK_FUNCTION(1, "DPI_D4"),
MTK_FUNCTION(2, "SPI2_CLK_A"),
@@ -400,7 +400,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
44, "GPIO44",
MTK_EINT_FUNCTION(0, 32),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO44"),
MTK_FUNCTION(1, "DPI_D5"),
MTK_FUNCTION(2, "SPI2_MI_A"),
@@ -413,7 +413,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
45, "GPIO45",
MTK_EINT_FUNCTION(0, 33),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO45"),
MTK_FUNCTION(1, "DPI_D6"),
MTK_FUNCTION(2, "SPI2_CS_A"),
@@ -425,7 +425,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
46, "GPIO46",
MTK_EINT_FUNCTION(0, 34),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO46"),
MTK_FUNCTION(1, "DPI_D7"),
MTK_FUNCTION(2, "SPI2_MO_A"),
@@ -437,7 +437,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
47, "GPIO47",
MTK_EINT_FUNCTION(0, 35),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO47"),
MTK_FUNCTION(1, "DPI_D8"),
MTK_FUNCTION(2, "CLKM0"),
@@ -450,7 +450,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
48, "GPIO48",
MTK_EINT_FUNCTION(0, 36),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO48"),
MTK_FUNCTION(1, "DPI_D9"),
MTK_FUNCTION(2, "CLKM1"),
@@ -463,7 +463,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
49, "GPIO49",
MTK_EINT_FUNCTION(0, 37),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO49"),
MTK_FUNCTION(1, "DPI_D10"),
MTK_FUNCTION(2, "MD_INT1_C2K_UIM1_HOT_PLUG_IN"),
@@ -475,7 +475,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
50, "GPIO50",
MTK_EINT_FUNCTION(0, 38),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO50"),
MTK_FUNCTION(1, "DPI_D11"),
MTK_FUNCTION(2, "MD_INT2"),
@@ -487,7 +487,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
51, "GPIO51",
MTK_EINT_FUNCTION(0, 39),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO51"),
MTK_FUNCTION(1, "DPI_DE"),
MTK_FUNCTION(2, "SPI4_CLK_A"),
@@ -499,7 +499,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
52, "GPIO52",
MTK_EINT_FUNCTION(0, 40),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO52"),
MTK_FUNCTION(1, "DPI_CK"),
MTK_FUNCTION(2, "SPI4_MI_A"),
@@ -511,7 +511,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
53, "GPIO53",
MTK_EINT_FUNCTION(0, 41),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO53"),
MTK_FUNCTION(1, "DPI_HSYNC"),
MTK_FUNCTION(2, "SPI4_CS_A"),
@@ -524,7 +524,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
54, "GPIO54",
MTK_EINT_FUNCTION(0, 42),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO54"),
MTK_FUNCTION(1, "DPI_VSYNC"),
MTK_FUNCTION(2, "SPI4_MO_A"),
@@ -537,14 +537,14 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
55, "GPIO55",
MTK_EINT_FUNCTION(0, 43),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO55"),
MTK_FUNCTION(1, "SCL1_0")
),
MTK_PIN(
56, "GPIO56",
MTK_EINT_FUNCTION(0, 44),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO56"),
MTK_FUNCTION(1, "SDA1_0")
),
@@ -746,7 +746,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
74, "GPIO74",
MTK_EINT_FUNCTION(0, 54),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO74"),
MTK_FUNCTION(1, "SCL3_0"),
MTK_FUNCTION(7, "AUXIF_CLK1")
@@ -754,7 +754,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
75, "GPIO75",
MTK_EINT_FUNCTION(0, 55),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO75"),
MTK_FUNCTION(1, "SDA3_0"),
MTK_FUNCTION(7, "AUXIF_ST1")
@@ -940,7 +940,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
94, "GPIO94",
MTK_EINT_FUNCTION(0, 65),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO94"),
MTK_FUNCTION(1, "USB_DRVVBUS"),
MTK_FUNCTION(2, "PWM_C"),
@@ -949,7 +949,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
95, "GPIO95",
MTK_EINT_FUNCTION(0, 66),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO95"),
MTK_FUNCTION(1, "SDA2_0"),
MTK_FUNCTION(7, "AUXIF_ST0")
@@ -957,7 +957,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
96, "GPIO96",
MTK_EINT_FUNCTION(0, 67),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO96"),
MTK_FUNCTION(1, "SCL2_0"),
MTK_FUNCTION(7, "AUXIF_CLK0")
@@ -965,7 +965,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
97, "GPIO97",
MTK_EINT_FUNCTION(0, 68),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO97"),
MTK_FUNCTION(1, "URXD0"),
MTK_FUNCTION(2, "UTXD0"),
@@ -978,7 +978,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
98, "GPIO98",
MTK_EINT_FUNCTION(0, 69),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO98"),
MTK_FUNCTION(1, "UTXD0"),
MTK_FUNCTION(2, "URXD0"),
@@ -1122,91 +1122,91 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
114, "GPIO114",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO114"),
MTK_FUNCTION(1, "MSDC0_DAT0")
),
MTK_PIN(
115, "GPIO115",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO115"),
MTK_FUNCTION(1, "MSDC0_DAT1")
),
MTK_PIN(
116, "GPIO116",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO116"),
MTK_FUNCTION(1, "MSDC0_DAT2")
),
MTK_PIN(
117, "GPIO117",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO117"),
MTK_FUNCTION(1, "MSDC0_DAT3")
),
MTK_PIN(
118, "GPIO118",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO118"),
MTK_FUNCTION(1, "MSDC0_DAT4")
),
MTK_PIN(
119, "GPIO119",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO119"),
MTK_FUNCTION(1, "MSDC0_DAT5")
),
MTK_PIN(
120, "GPIO120",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO120"),
MTK_FUNCTION(1, "MSDC0_DAT6")
),
MTK_PIN(
121, "GPIO121",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO121"),
MTK_FUNCTION(1, "MSDC0_DAT7")
),
MTK_PIN(
122, "GPIO122",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO122"),
MTK_FUNCTION(1, "MSDC0_CMD")
),
MTK_PIN(
123, "GPIO123",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO123"),
MTK_FUNCTION(1, "MSDC0_CLK")
),
MTK_PIN(
124, "GPIO124",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO124"),
MTK_FUNCTION(1, "MSDC0_DSL")
),
MTK_PIN(
125, "GPIO125",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO125"),
MTK_FUNCTION(1, "MSDC0_RSTB")
),
MTK_PIN(
126, "GPIO126",
MTK_EINT_FUNCTION(0, 81),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO126"),
MTK_FUNCTION(1, "MD1_SIM1_SCLK"),
MTK_FUNCTION(2, "MD1_SIM2_SCLK"),
@@ -1216,7 +1216,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
127, "GPIO127",
MTK_EINT_FUNCTION(0, 82),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO127"),
MTK_FUNCTION(1, "MD1_SIM1_SRST"),
MTK_FUNCTION(2, "MD1_SIM2_SRST"),
@@ -1226,7 +1226,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
128, "GPIO128",
MTK_EINT_FUNCTION(0, 83),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO128"),
MTK_FUNCTION(1, "MD1_SIM1_SIO"),
MTK_FUNCTION(2, "MD1_SIM2_SIO"),
@@ -1236,7 +1236,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
129, "GPIO129",
MTK_EINT_FUNCTION(0, 84),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO129"),
MTK_FUNCTION(1, "MSDC1_CMD"),
MTK_FUNCTION(2, "CONN_DSP_JMS"),
@@ -1247,7 +1247,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
130, "GPIO130",
MTK_EINT_FUNCTION(0, 85),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO130"),
MTK_FUNCTION(1, "MSDC1_DAT0"),
MTK_FUNCTION(2, "CONN_DSP_JDI"),
@@ -1258,7 +1258,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
131, "GPIO131",
MTK_EINT_FUNCTION(0, 86),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO131"),
MTK_FUNCTION(1, "MSDC1_DAT1"),
MTK_FUNCTION(2, "CONN_DSP_JDO"),
@@ -1269,7 +1269,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
132, "GPIO132",
MTK_EINT_FUNCTION(0, 87),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO132"),
MTK_FUNCTION(1, "MSDC1_DAT2"),
MTK_FUNCTION(5, "C2K_RTCK")
@@ -1277,7 +1277,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
133, "GPIO133",
MTK_EINT_FUNCTION(0, 88),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO133"),
MTK_FUNCTION(1, "MSDC1_DAT3"),
MTK_FUNCTION(2, "CONN_DSP_JINTP"),
@@ -1288,7 +1288,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
134, "GPIO134",
MTK_EINT_FUNCTION(0, 89),
- DRV_GRP3,
+ DRV_GRP4,
MTK_FUNCTION(0, "GPIO134"),
MTK_FUNCTION(1, "MSDC1_CLK"),
MTK_FUNCTION(2, "CONN_DSP_JCK"),
@@ -1483,7 +1483,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
155, "GPIO155",
MTK_EINT_FUNCTION(0, 101),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO155"),
MTK_FUNCTION(1, "MD1_SIM2_SCLK"),
MTK_FUNCTION(2, "MD1_SIM1_SCLK"),
@@ -1493,7 +1493,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
156, "GPIO156",
MTK_EINT_FUNCTION(0, 102),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO156"),
MTK_FUNCTION(1, "MD1_SIM2_SRST"),
MTK_FUNCTION(2, "MD1_SIM1_SRST"),
@@ -1503,7 +1503,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
157, "GPIO157",
MTK_EINT_FUNCTION(0, 103),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO157"),
MTK_FUNCTION(1, "MD1_SIM2_SIO"),
MTK_FUNCTION(2, "MD1_SIM1_SIO"),
@@ -1513,140 +1513,140 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
158, "GPIO158",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO158"),
MTK_FUNCTION(1, "MIPI_TDP0")
),
MTK_PIN(
159, "GPIO159",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO159"),
MTK_FUNCTION(1, "MIPI_TDN0")
),
MTK_PIN(
160, "GPIO160",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO160"),
MTK_FUNCTION(1, "MIPI_TDP1")
),
MTK_PIN(
161, "GPIO161",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO161"),
MTK_FUNCTION(1, "MIPI_TDN1")
),
MTK_PIN(
162, "GPIO162",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO162"),
MTK_FUNCTION(1, "MIPI_TCP")
),
MTK_PIN(
163, "GPIO163",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO163"),
MTK_FUNCTION(1, "MIPI_TCN")
),
MTK_PIN(
164, "GPIO164",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO164"),
MTK_FUNCTION(1, "MIPI_TDP2")
),
MTK_PIN(
165, "GPIO165",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO165"),
MTK_FUNCTION(1, "MIPI_TDN2")
),
MTK_PIN(
166, "GPIO166",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO166"),
MTK_FUNCTION(1, "MIPI_TDP3")
),
MTK_PIN(
167, "GPIO167",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO167"),
MTK_FUNCTION(1, "MIPI_TDN3")
),
MTK_PIN(
168, "GPIO168",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO168"),
MTK_FUNCTION(1, "MIPI_TDP0_A")
),
MTK_PIN(
169, "GPIO169",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO169"),
MTK_FUNCTION(1, "MIPI_TDN0_A")
),
MTK_PIN(
170, "GPIO170",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO170"),
MTK_FUNCTION(1, "MIPI_TDP1_A")
),
MTK_PIN(
171, "GPIO171",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO171"),
MTK_FUNCTION(1, "MIPI_TDN1_A")
),
MTK_PIN(
172, "GPIO172",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO172"),
MTK_FUNCTION(1, "MIPI_TCP_A")
),
MTK_PIN(
173, "GPIO173",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO173"),
MTK_FUNCTION(1, "MIPI_TCN_A")
),
MTK_PIN(
174, "GPIO174",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO174"),
MTK_FUNCTION(1, "MIPI_TDP2_A")
),
MTK_PIN(
175, "GPIO175",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO175"),
MTK_FUNCTION(1, "MIPI_TDN2_A")
),
MTK_PIN(
176, "GPIO176",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO176"),
MTK_FUNCTION(1, "MIPI_TDP3_A")
),
MTK_PIN(
177, "GPIO177",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO177"),
MTK_FUNCTION(1, "MIPI_TDN3_A")
),
@@ -2001,91 +2001,91 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
220, "GPIO220",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO220"),
MTK_FUNCTION(1, "CONN_WF_IP")
),
MTK_PIN(
221, "GPIO221",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO221"),
MTK_FUNCTION(1, "CONN_WF_IN")
),
MTK_PIN(
222, "GPIO222",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO222"),
MTK_FUNCTION(1, "CONN_WF_QP")
),
MTK_PIN(
223, "GPIO223",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO223"),
MTK_FUNCTION(1, "CONN_WF_QN")
),
MTK_PIN(
224, "GPIO224",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO224"),
MTK_FUNCTION(1, "CONN_BT_IP")
),
MTK_PIN(
225, "GPIO225",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO225"),
MTK_FUNCTION(1, "CONN_BT_IN")
),
MTK_PIN(
226, "GPIO226",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO226"),
MTK_FUNCTION(1, "CONN_BT_QP")
),
MTK_PIN(
227, "GPIO227",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO227"),
MTK_FUNCTION(1, "CONN_BT_QN")
),
MTK_PIN(
228, "GPIO228",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO228"),
MTK_FUNCTION(1, "CONN_GPS_IP")
),
MTK_PIN(
229, "GPIO229",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO229"),
MTK_FUNCTION(1, "CONN_GPS_IN")
),
MTK_PIN(
230, "GPIO230",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO230"),
MTK_FUNCTION(1, "CONN_GPS_QP")
),
MTK_PIN(
231, "GPIO231",
MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO231"),
MTK_FUNCTION(1, "CONN_GPS_QN")
),
MTK_PIN(
232, "GPIO232",
MTK_EINT_FUNCTION(0, 144),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO232"),
MTK_FUNCTION(1, "URXD1"),
MTK_FUNCTION(2, "UTXD1"),
@@ -2098,7 +2098,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
233, "GPIO233",
MTK_EINT_FUNCTION(0, 145),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO233"),
MTK_FUNCTION(1, "UTXD1"),
MTK_FUNCTION(2, "URXD1"),
@@ -2159,28 +2159,28 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
238, "GPIO238",
MTK_EINT_FUNCTION(0, 150),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO238"),
MTK_FUNCTION(1, "SDA4_0")
),
MTK_PIN(
239, "GPIO239",
MTK_EINT_FUNCTION(0, 151),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO239"),
MTK_FUNCTION(1, "SCL4_0")
),
MTK_PIN(
240, "GPIO240",
MTK_EINT_FUNCTION(0, 152),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO240"),
MTK_FUNCTION(1, "SDA5_0")
),
MTK_PIN(
241, "GPIO241",
MTK_EINT_FUNCTION(0, 153),
- DRV_GRP3,
+ DRV_FIXED,
MTK_FUNCTION(0, "GPIO241"),
MTK_FUNCTION(1, "SCL5_0")
),
@@ -2366,7 +2366,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
257, "GPIO257",
MTK_EINT_FUNCTION(0, 169),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO257"),
MTK_FUNCTION(1, "IO_JTAG_TMS"),
MTK_FUNCTION(2, "LTE_JTAG_TMS"),
@@ -2379,7 +2379,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
258, "GPIO258",
MTK_EINT_FUNCTION(0, 170),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO258"),
MTK_FUNCTION(1, "IO_JTAG_TCK"),
MTK_FUNCTION(2, "LTE_JTAG_TCK"),
@@ -2392,7 +2392,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
259, "GPIO259",
MTK_EINT_FUNCTION(0, 171),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO259"),
MTK_FUNCTION(1, "IO_JTAG_TDI"),
MTK_FUNCTION(2, "LTE_JTAG_TDI"),
@@ -2404,7 +2404,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
260, "GPIO260",
MTK_EINT_FUNCTION(0, 172),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO260"),
MTK_FUNCTION(1, "IO_JTAG_TDO"),
MTK_FUNCTION(2, "LTE_JTAG_TDO"),
@@ -2416,7 +2416,7 @@ static const struct mtk_pin_desc mtk_pins_mt6797[] = {
MTK_PIN(
261, "GPIO261",
MTK_EINT_FUNCTION(0, 173),
- DRV_GRP3,
+ DRV_GRP1,
MTK_FUNCTION(0, "GPIO261"),
MTK_FUNCTION(2, "LTE_JTAG_TRSTN"),
MTK_FUNCTION(3, "DFD_NTRST"),