diff options
Diffstat (limited to 'drivers/pinctrl/mediatek/pinctrl-mtk-mt8135.h')
-rw-r--r-- | drivers/pinctrl/mediatek/pinctrl-mtk-mt8135.h | 609 |
1 files changed, 203 insertions, 406 deletions
diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-mt8135.h b/drivers/pinctrl/mediatek/pinctrl-mtk-mt8135.h index e17aedb73c8d..b2b390da6597 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mtk-mt8135.h +++ b/drivers/pinctrl/mediatek/pinctrl-mtk-mt8135.h @@ -19,8 +19,7 @@ #include "pinctrl-mtk-common.h" static const struct mtk_desc_pin mtk_pins_mt8135[] = { - MTK_PIN( - PINCTRL_PIN(0, "MSDC0_DAT7"), + MTK_PIN(PINCTRL_PIN(0, "MSDC0_DAT7"), "D21", "mt8135", MTK_EINT_FUNCTION(2, 49), MTK_FUNCTION(0, "GPIO0"), @@ -32,8 +31,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "SPI1_MO"), MTK_FUNCTION(7, "NALE") ), - MTK_PIN( - PINCTRL_PIN(1, "MSDC0_DAT6"), + MTK_PIN(PINCTRL_PIN(1, "MSDC0_DAT6"), "D22", "mt8135", MTK_EINT_FUNCTION(2, 48), MTK_FUNCTION(0, "GPIO1"), @@ -45,8 +43,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "SPI1_CSN"), MTK_FUNCTION(7, "NCLE") ), - MTK_PIN( - PINCTRL_PIN(2, "MSDC0_DAT5"), + MTK_PIN(PINCTRL_PIN(2, "MSDC0_DAT5"), "E22", "mt8135", MTK_EINT_FUNCTION(2, 47), MTK_FUNCTION(0, "GPIO2"), @@ -58,8 +55,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "SPI1_CLK"), MTK_FUNCTION(7, "NLD4") ), - MTK_PIN( - PINCTRL_PIN(3, "MSDC0_DAT4"), + MTK_PIN(PINCTRL_PIN(3, "MSDC0_DAT4"), "F21", "mt8135", MTK_EINT_FUNCTION(2, 46), MTK_FUNCTION(0, "GPIO3"), @@ -69,8 +65,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "LSCE1B_2X"), MTK_FUNCTION(7, "NLD5") ), - MTK_PIN( - PINCTRL_PIN(4, "MSDC0_CMD"), + MTK_PIN(PINCTRL_PIN(4, "MSDC0_CMD"), "F20", "mt8135", MTK_EINT_FUNCTION(2, 41), MTK_FUNCTION(0, "GPIO4"), @@ -81,8 +76,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "LRSTB_2X"), MTK_FUNCTION(7, "NRNB") ), - MTK_PIN( - PINCTRL_PIN(5, "MSDC0_CLK"), + MTK_PIN(PINCTRL_PIN(5, "MSDC0_CLK"), "G18", "mt8135", MTK_EINT_FUNCTION(2, 40), MTK_FUNCTION(0, "GPIO5"), @@ -93,8 +87,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "LPTE"), MTK_FUNCTION(7, "NREB") ), - MTK_PIN( - PINCTRL_PIN(6, "MSDC0_DAT3"), + MTK_PIN(PINCTRL_PIN(6, "MSDC0_DAT3"), "G21", "mt8135", MTK_EINT_FUNCTION(2, 45), MTK_FUNCTION(0, "GPIO6"), @@ -105,8 +98,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "LSCE0B_2X"), MTK_FUNCTION(7, "NLD7") ), - MTK_PIN( - PINCTRL_PIN(7, "MSDC0_DAT2"), + MTK_PIN(PINCTRL_PIN(7, "MSDC0_DAT2"), "E21", "mt8135", MTK_EINT_FUNCTION(2, 44), MTK_FUNCTION(0, "GPIO7"), @@ -117,8 +109,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "LSA0_2X"), MTK_FUNCTION(7, "NLD14") ), - MTK_PIN( - PINCTRL_PIN(8, "MSDC0_DAT1"), + MTK_PIN(PINCTRL_PIN(8, "MSDC0_DAT1"), "E23", "mt8135", MTK_EINT_FUNCTION(2, 43), MTK_FUNCTION(0, "GPIO8"), @@ -128,8 +119,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "LSCK_2X"), MTK_FUNCTION(7, "NLD11") ), - MTK_PIN( - PINCTRL_PIN(9, "MSDC0_DAT0"), + MTK_PIN(PINCTRL_PIN(9, "MSDC0_DAT0"), "F22", "mt8135", MTK_EINT_FUNCTION(2, 42), MTK_FUNCTION(0, "GPIO9"), @@ -138,8 +128,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "USB_TEST_IO[5]"), MTK_FUNCTION(6, "LSDA_2X") ), - MTK_PIN( - PINCTRL_PIN(10, "NCEB0"), + MTK_PIN(PINCTRL_PIN(10, "NCEB0"), "G20", "mt8135", MTK_EINT_FUNCTION(2, 139), MTK_FUNCTION(0, "GPIO10"), @@ -147,8 +136,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT139"), MTK_FUNCTION(7, "TESTA_OUT4") ), - MTK_PIN( - PINCTRL_PIN(11, "NCEB1"), + MTK_PIN(PINCTRL_PIN(11, "NCEB1"), "L17", "mt8135", MTK_EINT_FUNCTION(2, 140), MTK_FUNCTION(0, "GPIO11"), @@ -157,8 +145,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "USB_DRVVBUS"), MTK_FUNCTION(7, "TESTA_OUT5") ), - MTK_PIN( - PINCTRL_PIN(12, "NRNB"), + MTK_PIN(PINCTRL_PIN(12, "NRNB"), "G19", "mt8135", MTK_EINT_FUNCTION(2, 141), MTK_FUNCTION(0, "GPIO12"), @@ -167,8 +154,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(3, "A_FUNC_DOUT[4]"), MTK_FUNCTION(7, "TESTA_OUT6") ), - MTK_PIN( - PINCTRL_PIN(13, "NCLE"), + MTK_PIN(PINCTRL_PIN(13, "NCLE"), "J18", "mt8135", MTK_EINT_FUNCTION(2, 142), MTK_FUNCTION(0, "GPIO13"), @@ -179,8 +165,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "NALE"), MTK_FUNCTION(7, "TESTA_OUT7") ), - MTK_PIN( - PINCTRL_PIN(14, "NALE"), + MTK_PIN(PINCTRL_PIN(14, "NALE"), "J19", "mt8135", MTK_EINT_FUNCTION(2, 143), MTK_FUNCTION(0, "GPIO14"), @@ -192,8 +177,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "NCLE"), MTK_FUNCTION(7, "TESTA_OUT8") ), - MTK_PIN( - PINCTRL_PIN(15, "NREB"), + MTK_PIN(PINCTRL_PIN(15, "NREB"), "L18", "mt8135", MTK_EINT_FUNCTION(2, 144), MTK_FUNCTION(0, "GPIO15"), @@ -204,8 +188,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "IRDA_TXD"), MTK_FUNCTION(7, "TESTA_OUT9") ), - MTK_PIN( - PINCTRL_PIN(16, "NWEB"), + MTK_PIN(PINCTRL_PIN(16, "NWEB"), "J20", "mt8135", MTK_EINT_FUNCTION(2, 145), MTK_FUNCTION(0, "GPIO16"), @@ -216,8 +199,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "IRDA_PDN"), MTK_FUNCTION(7, "TESTA_OUT10") ), - MTK_PIN( - PINCTRL_PIN(17, "NLD0"), + MTK_PIN(PINCTRL_PIN(17, "NLD0"), "K21", "mt8135", MTK_EINT_FUNCTION(2, 146), MTK_FUNCTION(0, "GPIO17"), @@ -229,8 +211,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "DAC_CK"), MTK_FUNCTION(7, "TESTA_OUT11") ), - MTK_PIN( - PINCTRL_PIN(18, "NLD1"), + MTK_PIN(PINCTRL_PIN(18, "NLD1"), "K22", "mt8135", MTK_EINT_FUNCTION(2, 147), MTK_FUNCTION(0, "GPIO18"), @@ -242,8 +223,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "DAC_WS"), MTK_FUNCTION(7, "TESTA_OUT12") ), - MTK_PIN( - PINCTRL_PIN(19, "NLD2"), + MTK_PIN(PINCTRL_PIN(19, "NLD2"), "J21", "mt8135", MTK_EINT_FUNCTION(2, 148), MTK_FUNCTION(0, "GPIO19"), @@ -255,8 +235,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "DAC_DAT_OUT"), MTK_FUNCTION(7, "TESTA_OUT13") ), - MTK_PIN( - PINCTRL_PIN(20, "NLD3"), + MTK_PIN(PINCTRL_PIN(20, "NLD3"), "J23", "mt8135", MTK_EINT_FUNCTION(2, 149), MTK_FUNCTION(0, "GPIO20"), @@ -266,8 +245,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "CM2DAT_1X[3]"), MTK_FUNCTION(7, "TESTA_OUT14") ), - MTK_PIN( - PINCTRL_PIN(21, "NLD4"), + MTK_PIN(PINCTRL_PIN(21, "NLD4"), "J22", "mt8135", MTK_EINT_FUNCTION(2, 150), MTK_FUNCTION(0, "GPIO21"), @@ -277,8 +255,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "CM2DAT_1X[4]"), MTK_FUNCTION(7, "TESTA_OUT15") ), - MTK_PIN( - PINCTRL_PIN(22, "NLD5"), + MTK_PIN(PINCTRL_PIN(22, "NLD5"), "H21", "mt8135", MTK_EINT_FUNCTION(2, 151), MTK_FUNCTION(0, "GPIO22"), @@ -288,8 +265,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "CM2DAT_1X[5]"), MTK_FUNCTION(7, "TESTA_OUT16") ), - MTK_PIN( - PINCTRL_PIN(23, "NLD6"), + MTK_PIN(PINCTRL_PIN(23, "NLD6"), "H22", "mt8135", MTK_EINT_FUNCTION(2, 152), MTK_FUNCTION(0, "GPIO23"), @@ -299,8 +275,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "CM2DAT_1X[6]"), MTK_FUNCTION(7, "TESTA_OUT17") ), - MTK_PIN( - PINCTRL_PIN(24, "NLD7"), + MTK_PIN(PINCTRL_PIN(24, "NLD7"), "H20", "mt8135", MTK_EINT_FUNCTION(2, 153), MTK_FUNCTION(0, "GPIO24"), @@ -310,8 +285,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "CM2DAT_1X[7]"), MTK_FUNCTION(7, "TESTA_OUT18") ), - MTK_PIN( - PINCTRL_PIN(25, "NLD8"), + MTK_PIN(PINCTRL_PIN(25, "NLD8"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 154), MTK_FUNCTION(0, "GPIO25"), @@ -319,8 +293,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT154"), MTK_FUNCTION(4, "CM2DAT_1X[8]") ), - MTK_PIN( - PINCTRL_PIN(26, "NLD9"), + MTK_PIN(PINCTRL_PIN(26, "NLD9"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 155), MTK_FUNCTION(0, "GPIO26"), @@ -329,8 +302,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "CM2DAT_1X[9]"), MTK_FUNCTION(5, "PWM1") ), - MTK_PIN( - PINCTRL_PIN(27, "NLD10"), + MTK_PIN(PINCTRL_PIN(27, "NLD10"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 156), MTK_FUNCTION(0, "GPIO27"), @@ -339,8 +311,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "CM2VSYNC_1X"), MTK_FUNCTION(5, "PWM2") ), - MTK_PIN( - PINCTRL_PIN(28, "NLD11"), + MTK_PIN(PINCTRL_PIN(28, "NLD11"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 157), MTK_FUNCTION(0, "GPIO28"), @@ -349,8 +320,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "CM2HSYNC_1X"), MTK_FUNCTION(5, "PWM3") ), - MTK_PIN( - PINCTRL_PIN(29, "NLD12"), + MTK_PIN(PINCTRL_PIN(29, "NLD12"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 158), MTK_FUNCTION(0, "GPIO29"), @@ -360,8 +330,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "DAC_CK"), MTK_FUNCTION(5, "PCM1_CK") ), - MTK_PIN( - PINCTRL_PIN(30, "NLD13"), + MTK_PIN(PINCTRL_PIN(30, "NLD13"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 159), MTK_FUNCTION(0, "GPIO30"), @@ -371,8 +340,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "DAC_WS"), MTK_FUNCTION(5, "PCM1_WS") ), - MTK_PIN( - PINCTRL_PIN(31, "NLD14"), + MTK_PIN(PINCTRL_PIN(31, "NLD14"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 160), MTK_FUNCTION(0, "GPIO31"), @@ -382,8 +350,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "DAC_DAT_OUT"), MTK_FUNCTION(5, "PCM1_DO") ), - MTK_PIN( - PINCTRL_PIN(32, "NLD15"), + MTK_PIN(PINCTRL_PIN(32, "NLD15"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 161), MTK_FUNCTION(0, "GPIO32"), @@ -393,8 +360,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "PWM4"), MTK_FUNCTION(5, "PCM1_DI") ), - MTK_PIN( - PINCTRL_PIN(33, "MSDC0_RSTB"), + MTK_PIN(PINCTRL_PIN(33, "MSDC0_RSTB"), "G22", "mt8135", MTK_EINT_FUNCTION(2, 50), MTK_FUNCTION(0, "GPIO33"), @@ -405,16 +371,14 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "SPI1_MI"), MTK_FUNCTION(7, "NLD10") ), - MTK_PIN( - PINCTRL_PIN(34, "IDDIG"), + MTK_PIN(PINCTRL_PIN(34, "IDDIG"), "N17", "mt8135", MTK_EINT_FUNCTION(2, 34), MTK_FUNCTION(0, "GPIO34"), MTK_FUNCTION(1, "IDDIG"), MTK_FUNCTION(2, "EINT34") ), - MTK_PIN( - PINCTRL_PIN(35, "SCL3"), + MTK_PIN(PINCTRL_PIN(35, "SCL3"), "L19", "mt8135", MTK_EINT_FUNCTION(2, 96), MTK_FUNCTION(0, "GPIO35"), @@ -423,16 +387,14 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(3, "CLKM6"), MTK_FUNCTION(4, "PWM6") ), - MTK_PIN( - PINCTRL_PIN(36, "SDA3"), + MTK_PIN(PINCTRL_PIN(36, "SDA3"), "L20", "mt8135", MTK_EINT_FUNCTION(2, 97), MTK_FUNCTION(0, "GPIO36"), MTK_FUNCTION(1, "SDA3"), MTK_FUNCTION(2, "EINT97") ), - MTK_PIN( - PINCTRL_PIN(37, "AUD_CLK_MOSI"), + MTK_PIN(PINCTRL_PIN(37, "AUD_CLK_MOSI"), "L21", "mt8135", MTK_EINT_FUNCTION(4, 19), MTK_FUNCTION(0, "GPIO37"), @@ -443,8 +405,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "USB_TEST_IO[6]"), MTK_FUNCTION(7, "TESTA_OUT19") ), - MTK_PIN( - PINCTRL_PIN(38, "AUD_DAT_MOSI"), + MTK_PIN(PINCTRL_PIN(38, "AUD_DAT_MOSI"), "L23", "mt8135", MTK_EINT_FUNCTION(4, 21), MTK_FUNCTION(0, "GPIO38"), @@ -455,8 +416,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "USB_TEST_IO[7]"), MTK_FUNCTION(7, "TESTA_OUT20") ), - MTK_PIN( - PINCTRL_PIN(39, "AUD_DAT_MISO"), + MTK_PIN(PINCTRL_PIN(39, "AUD_DAT_MISO"), "L22", "mt8135", MTK_EINT_FUNCTION(4, 20), MTK_FUNCTION(0, "GPIO39"), @@ -467,8 +427,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "USB_TEST_IO[8]"), MTK_FUNCTION(7, "TESTA_OUT21") ), - MTK_PIN( - PINCTRL_PIN(40, "DAC_CLK"), + MTK_PIN(PINCTRL_PIN(40, "DAC_CLK"), "P21", "mt8135", MTK_EINT_FUNCTION(2, 22), MTK_FUNCTION(0, "GPIO40"), @@ -478,8 +437,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "USB_TEST_IO[9]"), MTK_FUNCTION(7, "TESTA_OUT22") ), - MTK_PIN( - PINCTRL_PIN(41, "DAC_WS"), + MTK_PIN(PINCTRL_PIN(41, "DAC_WS"), "N18", "mt8135", MTK_EINT_FUNCTION(2, 24), MTK_FUNCTION(0, "GPIO41"), @@ -489,8 +447,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "USB_TEST_IO[10]"), MTK_FUNCTION(7, "TESTA_OUT23") ), - MTK_PIN( - PINCTRL_PIN(42, "DAC_DAT_OUT"), + MTK_PIN(PINCTRL_PIN(42, "DAC_DAT_OUT"), "N22", "mt8135", MTK_EINT_FUNCTION(2, 23), MTK_FUNCTION(0, "GPIO42"), @@ -500,40 +457,35 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "USB_TEST_IO[11]"), MTK_FUNCTION(7, "TESTA_OUT24") ), - MTK_PIN( - PINCTRL_PIN(43, "PWRAP_SPI0_MO"), + MTK_PIN(PINCTRL_PIN(43, "PWRAP_SPI0_MO"), "M22", "mt8135", MTK_EINT_FUNCTION(2, 29), MTK_FUNCTION(0, "GPIO43"), MTK_FUNCTION(1, "PWRAP_SPIDI"), MTK_FUNCTION(2, "EINT29") ), - MTK_PIN( - PINCTRL_PIN(44, "PWRAP_SPI0_MI"), + MTK_PIN(PINCTRL_PIN(44, "PWRAP_SPI0_MI"), "P23", "mt8135", MTK_EINT_FUNCTION(2, 28), MTK_FUNCTION(0, "GPIO44"), MTK_FUNCTION(1, "PWRAP_SPIDO"), MTK_FUNCTION(2, "EINT28") ), - MTK_PIN( - PINCTRL_PIN(45, "PWRAP_SPI0_CSN"), + MTK_PIN(PINCTRL_PIN(45, "PWRAP_SPI0_CSN"), "M21", "mt8135", MTK_EINT_FUNCTION(2, 27), MTK_FUNCTION(0, "GPIO45"), MTK_FUNCTION(1, "PWRAP_SPICS_B_I"), MTK_FUNCTION(2, "EINT27") ), - MTK_PIN( - PINCTRL_PIN(46, "PWRAP_SPI0_CLK"), + MTK_PIN(PINCTRL_PIN(46, "PWRAP_SPI0_CLK"), "P22", "mt8135", MTK_EINT_FUNCTION(2, 26), MTK_FUNCTION(0, "GPIO46"), MTK_FUNCTION(1, "PWRAP_SPICK_I"), MTK_FUNCTION(2, "EINT26") ), - MTK_PIN( - PINCTRL_PIN(47, "PWRAP_EVENT"), + MTK_PIN(PINCTRL_PIN(47, "PWRAP_EVENT"), "M23", "mt8135", MTK_EINT_FUNCTION(2, 25), MTK_FUNCTION(0, "GPIO47"), @@ -541,39 +493,34 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT25"), MTK_FUNCTION(7, "TESTA_OUT2") ), - MTK_PIN( - PINCTRL_PIN(48, "RTC32K_CK"), + MTK_PIN(PINCTRL_PIN(48, "RTC32K_CK"), "N20", "mt8135", MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), MTK_FUNCTION(0, "GPIO48"), MTK_FUNCTION(1, "RTC32K_CK") ), - MTK_PIN( - PINCTRL_PIN(49, "WATCHDOG"), + MTK_PIN(PINCTRL_PIN(49, "WATCHDOG"), "R22", "mt8135", MTK_EINT_FUNCTION(2, 36), MTK_FUNCTION(0, "GPIO49"), MTK_FUNCTION(1, "WATCHDOG"), MTK_FUNCTION(2, "EINT36") ), - MTK_PIN( - PINCTRL_PIN(50, "SRCLKENA"), + MTK_PIN(PINCTRL_PIN(50, "SRCLKENA"), "T22", "mt8135", MTK_EINT_FUNCTION(2, 38), MTK_FUNCTION(0, "GPIO50"), MTK_FUNCTION(1, "SRCLKENA"), MTK_FUNCTION(2, "EINT38") ), - MTK_PIN( - PINCTRL_PIN(51, "SRCVOLTEN"), + MTK_PIN(PINCTRL_PIN(51, "SRCVOLTEN"), "T23", "mt8135", MTK_EINT_FUNCTION(2, 37), MTK_FUNCTION(0, "GPIO51"), MTK_FUNCTION(1, "SRCVOLTEN"), MTK_FUNCTION(2, "EINT37") ), - MTK_PIN( - PINCTRL_PIN(52, "EINT0"), + MTK_PIN(PINCTRL_PIN(52, "EINT0"), "T21", "mt8135", MTK_EINT_FUNCTION(1, 0), MTK_FUNCTION(0, "GPIO52"), @@ -584,8 +531,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "USB_TEST_IO[12]"), MTK_FUNCTION(7, "USB_SCL") ), - MTK_PIN( - PINCTRL_PIN(53, "URXD2"), + MTK_PIN(PINCTRL_PIN(53, "URXD2"), "R18", "mt8135", MTK_EINT_FUNCTION(2, 83), MTK_FUNCTION(0, "GPIO53"), @@ -595,8 +541,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "CLKM3"), MTK_FUNCTION(7, "UTXD2") ), - MTK_PIN( - PINCTRL_PIN(54, "UTXD2"), + MTK_PIN(PINCTRL_PIN(54, "UTXD2"), "R17", "mt8135", MTK_EINT_FUNCTION(2, 82), MTK_FUNCTION(0, "GPIO54"), @@ -606,8 +551,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "CLKM2"), MTK_FUNCTION(7, "URXD2") ), - MTK_PIN( - PINCTRL_PIN(55, "UCTS2"), + MTK_PIN(PINCTRL_PIN(55, "UCTS2"), "R20", "mt8135", MTK_EINT_FUNCTION(2, 84), MTK_FUNCTION(0, "GPIO55"), @@ -616,8 +560,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "PWM1"), MTK_FUNCTION(7, "URTS2") ), - MTK_PIN( - PINCTRL_PIN(56, "URTS2"), + MTK_PIN(PINCTRL_PIN(56, "URTS2"), "R19", "mt8135", MTK_EINT_FUNCTION(2, 85), MTK_FUNCTION(0, "GPIO56"), @@ -626,8 +569,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "PWM2"), MTK_FUNCTION(7, "UCTS2") ), - MTK_PIN( - PINCTRL_PIN(57, "JTCK"), + MTK_PIN(PINCTRL_PIN(57, "JTCK"), "V17", "mt8135", MTK_EINT_FUNCTION(2, 188), MTK_FUNCTION(0, "GPIO57"), @@ -635,8 +577,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT188"), MTK_FUNCTION(3, "DSP1_ICK") ), - MTK_PIN( - PINCTRL_PIN(58, "JTDO"), + MTK_PIN(PINCTRL_PIN(58, "JTDO"), "T16", "mt8135", MTK_EINT_FUNCTION(2, 190), MTK_FUNCTION(0, "GPIO58"), @@ -644,8 +585,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT190"), MTK_FUNCTION(3, "DSP2_IMS") ), - MTK_PIN( - PINCTRL_PIN(59, "JTRST_B"), + MTK_PIN(PINCTRL_PIN(59, "JTRST_B"), "T19", "mt8135", MTK_EINT_FUNCTION(2, 0), MTK_FUNCTION(0, "GPIO59"), @@ -653,8 +593,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT0"), MTK_FUNCTION(3, "DSP2_ICK") ), - MTK_PIN( - PINCTRL_PIN(60, "JTDI"), + MTK_PIN(PINCTRL_PIN(60, "JTDI"), "T18", "mt8135", MTK_EINT_FUNCTION(2, 189), MTK_FUNCTION(0, "GPIO60"), @@ -662,8 +601,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT189"), MTK_FUNCTION(3, "DSP1_IMS") ), - MTK_PIN( - PINCTRL_PIN(61, "JRTCK"), + MTK_PIN(PINCTRL_PIN(61, "JRTCK"), "T20", "mt8135", MTK_EINT_FUNCTION(2, 187), MTK_FUNCTION(0, "GPIO61"), @@ -671,8 +609,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT187"), MTK_FUNCTION(3, "DSP1_ID") ), - MTK_PIN( - PINCTRL_PIN(62, "JTMS"), + MTK_PIN(PINCTRL_PIN(62, "JTMS"), "T17", "mt8135", MTK_EINT_FUNCTION(2, 191), MTK_FUNCTION(0, "GPIO62"), @@ -680,8 +617,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT191"), MTK_FUNCTION(3, "DSP2_ID") ), - MTK_PIN( - PINCTRL_PIN(63, "MSDC1_INSI"), + MTK_PIN(PINCTRL_PIN(63, "MSDC1_INSI"), "V18", "mt8135", MTK_EINT_FUNCTION(1, 15), MTK_FUNCTION(0, "GPIO63"), @@ -691,8 +627,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "CLKM5"), MTK_FUNCTION(7, "TESTB_OUT6") ), - MTK_PIN( - PINCTRL_PIN(64, "MSDC1_SDWPI"), + MTK_PIN(PINCTRL_PIN(64, "MSDC1_SDWPI"), "W18", "mt8135", MTK_EINT_FUNCTION(2, 58), MTK_FUNCTION(0, "GPIO64"), @@ -703,8 +638,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "CLKM6"), MTK_FUNCTION(7, "TESTB_OUT7") ), - MTK_PIN( - PINCTRL_PIN(65, "MSDC2_INSI"), + MTK_PIN(PINCTRL_PIN(65, "MSDC2_INSI"), "U22", "mt8135", MTK_EINT_FUNCTION(1, 14), MTK_FUNCTION(0, "GPIO65"), @@ -712,8 +646,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "USB_TEST_IO[27]"), MTK_FUNCTION(7, "TESTA_OUT3") ), - MTK_PIN( - PINCTRL_PIN(66, "MSDC2_SDWPI"), + MTK_PIN(PINCTRL_PIN(66, "MSDC2_SDWPI"), "U21", "mt8135", MTK_EINT_FUNCTION(2, 66), MTK_FUNCTION(0, "GPIO66"), @@ -721,8 +654,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT66"), MTK_FUNCTION(5, "USB_TEST_IO[28]") ), - MTK_PIN( - PINCTRL_PIN(67, "URXD4"), + MTK_PIN(PINCTRL_PIN(67, "URXD4"), "V23", "mt8135", MTK_EINT_FUNCTION(2, 89), MTK_FUNCTION(0, "GPIO67"), @@ -732,8 +664,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "UTXD4"), MTK_FUNCTION(7, "TESTB_OUT10") ), - MTK_PIN( - PINCTRL_PIN(68, "UTXD4"), + MTK_PIN(PINCTRL_PIN(68, "UTXD4"), "V22", "mt8135", MTK_EINT_FUNCTION(2, 88), MTK_FUNCTION(0, "GPIO68"), @@ -743,8 +674,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "URXD4"), MTK_FUNCTION(7, "TESTB_OUT11") ), - MTK_PIN( - PINCTRL_PIN(69, "URXD1"), + MTK_PIN(PINCTRL_PIN(69, "URXD1"), "W22", "mt8135", MTK_EINT_FUNCTION(2, 79), MTK_FUNCTION(0, "GPIO69"), @@ -754,8 +684,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "UTXD1"), MTK_FUNCTION(7, "TESTB_OUT24") ), - MTK_PIN( - PINCTRL_PIN(70, "UTXD1"), + MTK_PIN(PINCTRL_PIN(70, "UTXD1"), "V21", "mt8135", MTK_EINT_FUNCTION(2, 78), MTK_FUNCTION(0, "GPIO70"), @@ -765,8 +694,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "URXD1"), MTK_FUNCTION(7, "TESTB_OUT25") ), - MTK_PIN( - PINCTRL_PIN(71, "UCTS1"), + MTK_PIN(PINCTRL_PIN(71, "UCTS1"), "V19", "mt8135", MTK_EINT_FUNCTION(2, 80), MTK_FUNCTION(0, "GPIO71"), @@ -776,8 +704,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "URTS1"), MTK_FUNCTION(7, "TESTB_OUT31") ), - MTK_PIN( - PINCTRL_PIN(72, "URTS1"), + MTK_PIN(PINCTRL_PIN(72, "URTS1"), "V20", "mt8135", MTK_EINT_FUNCTION(2, 81), MTK_FUNCTION(0, "GPIO72"), @@ -787,8 +714,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "UCTS1"), MTK_FUNCTION(7, "TESTB_OUT21") ), - MTK_PIN( - PINCTRL_PIN(73, "PWM1"), + MTK_PIN(PINCTRL_PIN(73, "PWM1"), "W17", "mt8135", MTK_EINT_FUNCTION(2, 73), MTK_FUNCTION(0, "GPIO73"), @@ -798,8 +724,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "DISP_PWM"), MTK_FUNCTION(7, "TESTB_OUT8") ), - MTK_PIN( - PINCTRL_PIN(74, "PWM2"), + MTK_PIN(PINCTRL_PIN(74, "PWM2"), "Y17", "mt8135", MTK_EINT_FUNCTION(2, 74), MTK_FUNCTION(0, "GPIO74"), @@ -811,8 +736,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "DISP_PWM"), MTK_FUNCTION(7, "TESTB_OUT9") ), - MTK_PIN( - PINCTRL_PIN(75, "PWM3"), + MTK_PIN(PINCTRL_PIN(75, "PWM3"), "Y19", "mt8135", MTK_EINT_FUNCTION(2, 75), MTK_FUNCTION(0, "GPIO75"), @@ -824,8 +748,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "DISP_PWM"), MTK_FUNCTION(7, "TESTB_OUT12") ), - MTK_PIN( - PINCTRL_PIN(76, "PWM4"), + MTK_PIN(PINCTRL_PIN(76, "PWM4"), "W19", "mt8135", MTK_EINT_FUNCTION(2, 76), MTK_FUNCTION(0, "GPIO76"), @@ -836,8 +759,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "DISP_PWM"), MTK_FUNCTION(7, "TESTB_OUT13") ), - MTK_PIN( - PINCTRL_PIN(77, "MSDC2_DAT2"), + MTK_PIN(PINCTRL_PIN(77, "MSDC2_DAT2"), "W21", "mt8135", MTK_EINT_FUNCTION(2, 63), MTK_FUNCTION(0, "GPIO77"), @@ -847,8 +769,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "DPI33_D6"), MTK_FUNCTION(7, "TESTA_OUT25") ), - MTK_PIN( - PINCTRL_PIN(78, "MSDC2_DAT3"), + MTK_PIN(PINCTRL_PIN(78, "MSDC2_DAT3"), "AA23", "mt8135", MTK_EINT_FUNCTION(2, 64), MTK_FUNCTION(0, "GPIO78"), @@ -858,8 +779,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "DPI33_D7"), MTK_FUNCTION(7, "TESTA_OUT26") ), - MTK_PIN( - PINCTRL_PIN(79, "MSDC2_CMD"), + MTK_PIN(PINCTRL_PIN(79, "MSDC2_CMD"), "Y22", "mt8135", MTK_EINT_FUNCTION(2, 60), MTK_FUNCTION(0, "GPIO79"), @@ -870,8 +790,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "DPI33_D3"), MTK_FUNCTION(7, "TESTA_OUT0") ), - MTK_PIN( - PINCTRL_PIN(80, "MSDC2_CLK"), + MTK_PIN(PINCTRL_PIN(80, "MSDC2_CLK"), "AA22", "mt8135", MTK_EINT_FUNCTION(2, 59), MTK_FUNCTION(0, "GPIO80"), @@ -882,8 +801,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "DPI33_D2"), MTK_FUNCTION(7, "TESTA_OUT1") ), - MTK_PIN( - PINCTRL_PIN(81, "MSDC2_DAT1"), + MTK_PIN(PINCTRL_PIN(81, "MSDC2_DAT1"), "Y21", "mt8135", MTK_EINT_FUNCTION(2, 62), MTK_FUNCTION(0, "GPIO81"), @@ -893,8 +811,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "PCM1_DO"), MTK_FUNCTION(6, "DPI33_D5") ), - MTK_PIN( - PINCTRL_PIN(82, "MSDC2_DAT0"), + MTK_PIN(PINCTRL_PIN(82, "MSDC2_DAT0"), "AB22", "mt8135", MTK_EINT_FUNCTION(2, 61), MTK_FUNCTION(0, "GPIO82"), @@ -904,8 +821,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "PCM1_DI"), MTK_FUNCTION(6, "DPI33_D4") ), - MTK_PIN( - PINCTRL_PIN(83, "MSDC1_DAT0"), + MTK_PIN(PINCTRL_PIN(83, "MSDC1_DAT0"), "AC19", "mt8135", MTK_EINT_FUNCTION(2, 53), MTK_FUNCTION(0, "GPIO83"), @@ -916,8 +832,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "CLKM1"), MTK_FUNCTION(7, "TESTB_OUT2") ), - MTK_PIN( - PINCTRL_PIN(84, "MSDC1_DAT1"), + MTK_PIN(PINCTRL_PIN(84, "MSDC1_DAT1"), "AA19", "mt8135", MTK_EINT_FUNCTION(2, 54), MTK_FUNCTION(0, "GPIO84"), @@ -928,8 +843,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "CLKM2"), MTK_FUNCTION(7, "TESTB_OUT3") ), - MTK_PIN( - PINCTRL_PIN(85, "MSDC1_CMD"), + MTK_PIN(PINCTRL_PIN(85, "MSDC1_CMD"), "AA20", "mt8135", MTK_EINT_FUNCTION(2, 52), MTK_FUNCTION(0, "GPIO85"), @@ -940,8 +854,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "CLKM0"), MTK_FUNCTION(7, "TESTB_OUT1") ), - MTK_PIN( - PINCTRL_PIN(86, "MSDC1_CLK"), + MTK_PIN(PINCTRL_PIN(86, "MSDC1_CLK"), "AB19", "mt8135", MTK_EINT_FUNCTION(2, 51), MTK_FUNCTION(0, "GPIO86"), @@ -951,8 +864,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "DISP_PWM"), MTK_FUNCTION(7, "TESTB_OUT0") ), - MTK_PIN( - PINCTRL_PIN(87, "MSDC1_DAT2"), + MTK_PIN(PINCTRL_PIN(87, "MSDC1_DAT2"), "AA21", "mt8135", MTK_EINT_FUNCTION(2, 55), MTK_FUNCTION(0, "GPIO87"), @@ -963,8 +875,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "CLKM3"), MTK_FUNCTION(7, "TESTB_OUT4") ), - MTK_PIN( - PINCTRL_PIN(88, "MSDC1_DAT3"), + MTK_PIN(PINCTRL_PIN(88, "MSDC1_DAT3"), "AB20", "mt8135", MTK_EINT_FUNCTION(2, 56), MTK_FUNCTION(0, "GPIO88"), @@ -975,8 +886,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "CLKM4"), MTK_FUNCTION(7, "TESTB_OUT5") ), - MTK_PIN( - PINCTRL_PIN(89, "MSDC4_DAT0"), + MTK_PIN(PINCTRL_PIN(89, "MSDC4_DAT0"), "AB8", "mt8135", MTK_EINT_FUNCTION(2, 133), MTK_FUNCTION(0, "GPIO89"), @@ -987,8 +897,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "A_FUNC_DIN[9]"), MTK_FUNCTION(7, "LPTE") ), - MTK_PIN( - PINCTRL_PIN(90, "MSDC4_DAT1"), + MTK_PIN(PINCTRL_PIN(90, "MSDC4_DAT1"), "AB7", "mt8135", MTK_EINT_FUNCTION(2, 134), MTK_FUNCTION(0, "GPIO90"), @@ -997,8 +906,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "A_FUNC_DIN[10]"), MTK_FUNCTION(7, "LRSTB_1X") ), - MTK_PIN( - PINCTRL_PIN(91, "MSDC4_DAT5"), + MTK_PIN(PINCTRL_PIN(91, "MSDC4_DAT5"), "AA8", "mt8135", MTK_EINT_FUNCTION(2, 136), MTK_FUNCTION(0, "GPIO91"), @@ -1010,8 +918,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "A_FUNC_DIN[11]"), MTK_FUNCTION(7, "SPI1_CSN") ), - MTK_PIN( - PINCTRL_PIN(92, "MSDC4_DAT6"), + MTK_PIN(PINCTRL_PIN(92, "MSDC4_DAT6"), "AC4", "mt8135", MTK_EINT_FUNCTION(2, 137), MTK_FUNCTION(0, "GPIO92"), @@ -1023,8 +930,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "A_FUNC_DIN[12]"), MTK_FUNCTION(7, "SPI1_MO") ), - MTK_PIN( - PINCTRL_PIN(93, "MSDC4_DAT7"), + MTK_PIN(PINCTRL_PIN(93, "MSDC4_DAT7"), "AC6", "mt8135", MTK_EINT_FUNCTION(2, 138), MTK_FUNCTION(0, "GPIO93"), @@ -1035,8 +941,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "A_FUNC_DIN[13]"), MTK_FUNCTION(7, "SPI1_MI") ), - MTK_PIN( - PINCTRL_PIN(94, "MSDC4_DAT4"), + MTK_PIN(PINCTRL_PIN(94, "MSDC4_DAT4"), "AA7", "mt8135", MTK_EINT_FUNCTION(2, 135), MTK_FUNCTION(0, "GPIO94"), @@ -1048,8 +953,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "A_FUNC_DIN[14]"), MTK_FUNCTION(7, "SPI1_CLK") ), - MTK_PIN( - PINCTRL_PIN(95, "MSDC4_DAT2"), + MTK_PIN(PINCTRL_PIN(95, "MSDC4_DAT2"), "AB6", "mt8135", MTK_EINT_FUNCTION(2, 131), MTK_FUNCTION(0, "GPIO95"), @@ -1061,8 +965,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "PCM1_WS"), MTK_FUNCTION(7, "LSCE0B_1X") ), - MTK_PIN( - PINCTRL_PIN(96, "MSDC4_CLK"), + MTK_PIN(PINCTRL_PIN(96, "MSDC4_CLK"), "AB5", "mt8135", MTK_EINT_FUNCTION(2, 129), MTK_FUNCTION(0, "GPIO96"), @@ -1074,8 +977,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "PCM1_DI"), MTK_FUNCTION(7, "LSCK_1X") ), - MTK_PIN( - PINCTRL_PIN(97, "MSDC4_DAT3"), + MTK_PIN(PINCTRL_PIN(97, "MSDC4_DAT3"), "Y8", "mt8135", MTK_EINT_FUNCTION(2, 132), MTK_FUNCTION(0, "GPIO97"), @@ -1087,8 +989,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "PCM1_DO"), MTK_FUNCTION(7, "LSCE1B_1X") ), - MTK_PIN( - PINCTRL_PIN(98, "MSDC4_CMD"), + MTK_PIN(PINCTRL_PIN(98, "MSDC4_CMD"), "AC3", "mt8135", MTK_EINT_FUNCTION(2, 128), MTK_FUNCTION(0, "GPIO98"), @@ -1098,8 +999,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "PWM3"), MTK_FUNCTION(7, "LSDA_1X") ), - MTK_PIN( - PINCTRL_PIN(99, "MSDC4_RSTB"), + MTK_PIN(PINCTRL_PIN(99, "MSDC4_RSTB"), "AB4", "mt8135", MTK_EINT_FUNCTION(2, 130), MTK_FUNCTION(0, "GPIO99"), @@ -1111,8 +1011,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "PCM1_CK"), MTK_FUNCTION(7, "LSA0_1X") ), - MTK_PIN( - PINCTRL_PIN(100, "SDA0"), + MTK_PIN(PINCTRL_PIN(100, "SDA0"), "W9", "mt8135", MTK_EINT_FUNCTION(2, 91), MTK_FUNCTION(0, "GPIO100"), @@ -1122,8 +1021,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "PWM1"), MTK_FUNCTION(7, "A_FUNC_DIN[15]") ), - MTK_PIN( - PINCTRL_PIN(101, "SCL0"), + MTK_PIN(PINCTRL_PIN(101, "SCL0"), "W11", "mt8135", MTK_EINT_FUNCTION(2, 90), MTK_FUNCTION(0, "GPIO101"), @@ -1133,8 +1031,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "DISP_PWM"), MTK_FUNCTION(7, "A_FUNC_DIN[16]") ), - MTK_PIN( - PINCTRL_PIN(102, "EINT10_AUXIN2"), + MTK_PIN(PINCTRL_PIN(102, "EINT10_AUXIN2"), "AA3", "mt8135", MTK_EINT_FUNCTION(1, 10), MTK_FUNCTION(0, "GPIO102"), @@ -1143,8 +1040,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "TESTB_OUT16"), MTK_FUNCTION(7, "A_FUNC_DIN[17]") ), - MTK_PIN( - PINCTRL_PIN(103, "EINT11_AUXIN3"), + MTK_PIN(PINCTRL_PIN(103, "EINT11_AUXIN3"), "AB2", "mt8135", MTK_EINT_FUNCTION(1, 11), MTK_FUNCTION(0, "GPIO103"), @@ -1153,8 +1049,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "TESTB_OUT17"), MTK_FUNCTION(7, "A_FUNC_DIN[18]") ), - MTK_PIN( - PINCTRL_PIN(104, "EINT16_AUXIN4"), + MTK_PIN(PINCTRL_PIN(104, "EINT16_AUXIN4"), "AB3", "mt8135", MTK_EINT_FUNCTION(1, 16), MTK_FUNCTION(0, "GPIO104"), @@ -1163,8 +1058,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "TESTB_OUT18"), MTK_FUNCTION(7, "A_FUNC_DIN[19]") ), - MTK_PIN( - PINCTRL_PIN(105, "I2S_CLK"), + MTK_PIN(PINCTRL_PIN(105, "I2S_CLK"), "W6", "mt8135", MTK_EINT_FUNCTION(2, 10), MTK_FUNCTION(0, "GPIO105"), @@ -1176,8 +1070,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "TESTB_OUT19"), MTK_FUNCTION(7, "A_FUNC_DIN[20]") ), - MTK_PIN( - PINCTRL_PIN(106, "I2S_WS"), + MTK_PIN(PINCTRL_PIN(106, "I2S_WS"), "AA6", "mt8135", MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), MTK_FUNCTION(0, "GPIO106"), @@ -1188,8 +1081,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "TESTB_OUT20"), MTK_FUNCTION(7, "A_FUNC_DIN[21]") ), - MTK_PIN( - PINCTRL_PIN(107, "I2S_DATA_IN"), + MTK_PIN(PINCTRL_PIN(107, "I2S_DATA_IN"), "AA5", "mt8135", MTK_EINT_FUNCTION(2, 11), MTK_FUNCTION(0, "GPIO107"), @@ -1200,8 +1092,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "TESTB_OUT22"), MTK_FUNCTION(7, "A_FUNC_DIN[22]") ), - MTK_PIN( - PINCTRL_PIN(108, "I2S_DATA_OUT"), + MTK_PIN(PINCTRL_PIN(108, "I2S_DATA_OUT"), "AA4", "mt8135", MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), MTK_FUNCTION(0, "GPIO108"), @@ -1212,8 +1103,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "TESTB_OUT23"), MTK_FUNCTION(7, "A_FUNC_DIN[23]") ), - MTK_PIN( - PINCTRL_PIN(109, "EINT5"), + MTK_PIN(PINCTRL_PIN(109, "EINT5"), "W5", "mt8135", MTK_EINT_FUNCTION(1, 5), MTK_FUNCTION(0, "GPIO109"), @@ -1225,8 +1115,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "TESTB_OUT26"), MTK_FUNCTION(7, "A_FUNC_DIN[24]") ), - MTK_PIN( - PINCTRL_PIN(110, "EINT6"), + MTK_PIN(PINCTRL_PIN(110, "EINT6"), "V5", "mt8135", MTK_EINT_FUNCTION(1, 6), MTK_FUNCTION(0, "GPIO110"), @@ -1238,8 +1127,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "TESTB_OUT27"), MTK_FUNCTION(7, "A_FUNC_DIN[25]") ), - MTK_PIN( - PINCTRL_PIN(111, "EINT7"), + MTK_PIN(PINCTRL_PIN(111, "EINT7"), "W3", "mt8135", MTK_EINT_FUNCTION(1, 7), MTK_FUNCTION(0, "GPIO111"), @@ -1251,8 +1139,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "TESTB_OUT28"), MTK_FUNCTION(7, "A_FUNC_DIN[26]") ), - MTK_PIN( - PINCTRL_PIN(112, "EINT8"), + MTK_PIN(PINCTRL_PIN(112, "EINT8"), "V6", "mt8135", MTK_EINT_FUNCTION(1, 8), MTK_FUNCTION(0, "GPIO112"), @@ -1264,8 +1151,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "TESTB_OUT29"), MTK_FUNCTION(7, "EXT_FRAME_SYNC") ), - MTK_PIN( - PINCTRL_PIN(113, "EINT9"), + MTK_PIN(PINCTRL_PIN(113, "EINT9"), "W8", "mt8135", MTK_EINT_FUNCTION(1, 9), MTK_FUNCTION(0, "GPIO113"), @@ -1275,8 +1161,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "TESTB_OUT30"), MTK_FUNCTION(7, "A_FUNC_DIN[27]") ), - MTK_PIN( - PINCTRL_PIN(114, "LPCE1B"), + MTK_PIN(PINCTRL_PIN(114, "LPCE1B"), "W4", "mt8135", MTK_EINT_FUNCTION(2, 127), MTK_FUNCTION(0, "GPIO114"), @@ -1286,8 +1171,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "TESTB_OUT14"), MTK_FUNCTION(7, "A_FUNC_DIN[28]") ), - MTK_PIN( - PINCTRL_PIN(115, "LPCE0B"), + MTK_PIN(PINCTRL_PIN(115, "LPCE0B"), "T5", "mt8135", MTK_EINT_FUNCTION(2, 126), MTK_FUNCTION(0, "GPIO115"), @@ -1297,8 +1181,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "TESTB_OUT15"), MTK_FUNCTION(7, "A_FUNC_DIN[29]") ), - MTK_PIN( - PINCTRL_PIN(116, "DISP_PWM"), + MTK_PIN(PINCTRL_PIN(116, "DISP_PWM"), "V4", "mt8135", MTK_EINT_FUNCTION(2, 77), MTK_FUNCTION(0, "GPIO116"), @@ -1309,8 +1192,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "PWM2"), MTK_FUNCTION(7, "PWM3") ), - MTK_PIN( - PINCTRL_PIN(117, "EINT1"), + MTK_PIN(PINCTRL_PIN(117, "EINT1"), "T6", "mt8135", MTK_EINT_FUNCTION(1, 1), MTK_FUNCTION(0, "GPIO117"), @@ -1320,8 +1202,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "USB_TEST_IO[13]"), MTK_FUNCTION(7, "USB_SDA") ), - MTK_PIN( - PINCTRL_PIN(118, "EINT2"), + MTK_PIN(PINCTRL_PIN(118, "EINT2"), "T4", "mt8135", MTK_EINT_FUNCTION(1, 2), MTK_FUNCTION(0, "GPIO118"), @@ -1332,8 +1213,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "SRCLKENAI2"), MTK_FUNCTION(7, "A_FUNC_DIN[30]") ), - MTK_PIN( - PINCTRL_PIN(119, "EINT3"), + MTK_PIN(PINCTRL_PIN(119, "EINT3"), "R4", "mt8135", MTK_EINT_FUNCTION(1, 3), MTK_FUNCTION(0, "GPIO119"), @@ -1342,8 +1222,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "SRCLKENAI1"), MTK_FUNCTION(7, "EXT_26M_CK") ), - MTK_PIN( - PINCTRL_PIN(120, "EINT4"), + MTK_PIN(PINCTRL_PIN(120, "EINT4"), "R5", "mt8135", MTK_EINT_FUNCTION(1, 4), MTK_FUNCTION(0, "GPIO120"), @@ -1352,8 +1231,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "USB_DRVVBUS"), MTK_FUNCTION(7, "A_FUNC_DIN[31]") ), - MTK_PIN( - PINCTRL_PIN(121, "DPIDE"), + MTK_PIN(PINCTRL_PIN(121, "DPIDE"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 100), MTK_FUNCTION(0, "GPIO121"), @@ -1364,8 +1242,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "PCM1_DO"), MTK_FUNCTION(6, "IRDA_TXD") ), - MTK_PIN( - PINCTRL_PIN(122, "DPICK"), + MTK_PIN(PINCTRL_PIN(122, "DPICK"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 101), MTK_FUNCTION(0, "GPIO122"), @@ -1375,8 +1252,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "PCM1_DI"), MTK_FUNCTION(6, "IRDA_PDN") ), - MTK_PIN( - PINCTRL_PIN(123, "DPIG4"), + MTK_PIN(PINCTRL_PIN(123, "DPIG4"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 114), MTK_FUNCTION(0, "GPIO123"), @@ -1385,8 +1261,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "CM2DAT_2X[0]"), MTK_FUNCTION(5, "DSP2_ID") ), - MTK_PIN( - PINCTRL_PIN(124, "DPIG5"), + MTK_PIN(PINCTRL_PIN(124, "DPIG5"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 115), MTK_FUNCTION(0, "GPIO124"), @@ -1395,8 +1270,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "CM2DAT_2X[1]"), MTK_FUNCTION(5, "DSP2_ICK") ), - MTK_PIN( - PINCTRL_PIN(125, "DPIR3"), + MTK_PIN(PINCTRL_PIN(125, "DPIR3"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 121), MTK_FUNCTION(0, "GPIO125"), @@ -1404,8 +1278,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT121"), MTK_FUNCTION(4, "CM2DAT_2X[7]") ), - MTK_PIN( - PINCTRL_PIN(126, "DPIG1"), + MTK_PIN(PINCTRL_PIN(126, "DPIG1"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 111), MTK_FUNCTION(0, "GPIO126"), @@ -1413,8 +1286,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT111"), MTK_FUNCTION(5, "DSP1_ICK") ), - MTK_PIN( - PINCTRL_PIN(127, "DPIVSYNC"), + MTK_PIN(PINCTRL_PIN(127, "DPIVSYNC"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 98), MTK_FUNCTION(0, "GPIO127"), @@ -1424,8 +1296,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "DAC_CK"), MTK_FUNCTION(5, "PCM1_CK") ), - MTK_PIN( - PINCTRL_PIN(128, "DPIHSYNC"), + MTK_PIN(PINCTRL_PIN(128, "DPIHSYNC"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 99), MTK_FUNCTION(0, "GPIO128"), @@ -1436,8 +1307,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "PCM1_WS"), MTK_FUNCTION(6, "IRDA_RXD") ), - MTK_PIN( - PINCTRL_PIN(129, "DPIB0"), + MTK_PIN(PINCTRL_PIN(129, "DPIB0"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 102), MTK_FUNCTION(0, "GPIO129"), @@ -1446,8 +1316,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "SCL0"), MTK_FUNCTION(5, "DISP_PWM") ), - MTK_PIN( - PINCTRL_PIN(130, "DPIB1"), + MTK_PIN(PINCTRL_PIN(130, "DPIB1"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 103), MTK_FUNCTION(0, "GPIO130"), @@ -1457,8 +1326,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "SDA0"), MTK_FUNCTION(5, "PWM1") ), - MTK_PIN( - PINCTRL_PIN(131, "DPIB2"), + MTK_PIN(PINCTRL_PIN(131, "DPIB2"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 104), MTK_FUNCTION(0, "GPIO131"), @@ -1468,8 +1336,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "SCL1"), MTK_FUNCTION(5, "PWM2") ), - MTK_PIN( - PINCTRL_PIN(132, "DPIB3"), + MTK_PIN(PINCTRL_PIN(132, "DPIB3"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 105), MTK_FUNCTION(0, "GPIO132"), @@ -1479,8 +1346,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "SDA1"), MTK_FUNCTION(5, "PWM3") ), - MTK_PIN( - PINCTRL_PIN(133, "DPIB4"), + MTK_PIN(PINCTRL_PIN(133, "DPIB4"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 106), MTK_FUNCTION(0, "GPIO133"), @@ -1490,8 +1356,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "SCL2"), MTK_FUNCTION(5, "PWM4") ), - MTK_PIN( - PINCTRL_PIN(134, "DPIB5"), + MTK_PIN(PINCTRL_PIN(134, "DPIB5"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 107), MTK_FUNCTION(0, "GPIO134"), @@ -1501,8 +1366,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "SDA2"), MTK_FUNCTION(5, "PWM5") ), - MTK_PIN( - PINCTRL_PIN(135, "DPIB6"), + MTK_PIN(PINCTRL_PIN(135, "DPIB6"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 108), MTK_FUNCTION(0, "GPIO135"), @@ -1512,8 +1376,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "SCL3"), MTK_FUNCTION(5, "PWM6") ), - MTK_PIN( - PINCTRL_PIN(136, "DPIB7"), + MTK_PIN(PINCTRL_PIN(136, "DPIB7"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 109), MTK_FUNCTION(0, "GPIO136"), @@ -1523,8 +1386,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "SDA3"), MTK_FUNCTION(5, "PWM7") ), - MTK_PIN( - PINCTRL_PIN(137, "DPIG0"), + MTK_PIN(PINCTRL_PIN(137, "DPIG0"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 110), MTK_FUNCTION(0, "GPIO137"), @@ -1532,8 +1394,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT110"), MTK_FUNCTION(5, "DSP1_ID") ), - MTK_PIN( - PINCTRL_PIN(138, "DPIG2"), + MTK_PIN(PINCTRL_PIN(138, "DPIG2"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 112), MTK_FUNCTION(0, "GPIO138"), @@ -1541,8 +1402,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT112"), MTK_FUNCTION(5, "DSP1_IMS") ), - MTK_PIN( - PINCTRL_PIN(139, "DPIG3"), + MTK_PIN(PINCTRL_PIN(139, "DPIG3"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 113), MTK_FUNCTION(0, "GPIO139"), @@ -1550,8 +1410,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT113"), MTK_FUNCTION(5, "DSP2_IMS") ), - MTK_PIN( - PINCTRL_PIN(140, "DPIG6"), + MTK_PIN(PINCTRL_PIN(140, "DPIG6"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 116), MTK_FUNCTION(0, "GPIO140"), @@ -1559,8 +1418,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT116"), MTK_FUNCTION(4, "CM2DAT_2X[2]") ), - MTK_PIN( - PINCTRL_PIN(141, "DPIG7"), + MTK_PIN(PINCTRL_PIN(141, "DPIG7"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 117), MTK_FUNCTION(0, "GPIO141"), @@ -1568,8 +1426,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT117"), MTK_FUNCTION(4, "CM2DAT_2X[3]") ), - MTK_PIN( - PINCTRL_PIN(142, "DPIR0"), + MTK_PIN(PINCTRL_PIN(142, "DPIR0"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 118), MTK_FUNCTION(0, "GPIO142"), @@ -1577,8 +1434,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT118"), MTK_FUNCTION(4, "CM2DAT_2X[4]") ), - MTK_PIN( - PINCTRL_PIN(143, "DPIR1"), + MTK_PIN(PINCTRL_PIN(143, "DPIR1"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 119), MTK_FUNCTION(0, "GPIO143"), @@ -1586,8 +1442,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT119"), MTK_FUNCTION(4, "CM2DAT_2X[5]") ), - MTK_PIN( - PINCTRL_PIN(144, "DPIR2"), + MTK_PIN(PINCTRL_PIN(144, "DPIR2"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 120), MTK_FUNCTION(0, "GPIO144"), @@ -1595,8 +1450,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT120"), MTK_FUNCTION(4, "CM2DAT_2X[6]") ), - MTK_PIN( - PINCTRL_PIN(145, "DPIR4"), + MTK_PIN(PINCTRL_PIN(145, "DPIR4"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 122), MTK_FUNCTION(0, "GPIO145"), @@ -1604,8 +1458,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT122"), MTK_FUNCTION(4, "CM2DAT_2X[8]") ), - MTK_PIN( - PINCTRL_PIN(146, "DPIR5"), + MTK_PIN(PINCTRL_PIN(146, "DPIR5"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 123), MTK_FUNCTION(0, "GPIO146"), @@ -1613,8 +1466,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT123"), MTK_FUNCTION(4, "CM2DAT_2X[9]") ), - MTK_PIN( - PINCTRL_PIN(147, "DPIR6"), + MTK_PIN(PINCTRL_PIN(147, "DPIR6"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 124), MTK_FUNCTION(0, "GPIO147"), @@ -1622,8 +1474,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT124"), MTK_FUNCTION(4, "CM2VSYNC_2X") ), - MTK_PIN( - PINCTRL_PIN(148, "DPIR7"), + MTK_PIN(PINCTRL_PIN(148, "DPIR7"), NULL, "mt8135", MTK_EINT_FUNCTION(2, 125), MTK_FUNCTION(0, "GPIO148"), @@ -1631,192 +1482,165 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT125"), MTK_FUNCTION(4, "CM2HSYNC_2X") ), - MTK_PIN( - PINCTRL_PIN(149, "TDN3/LVDS(TDN3)"), + MTK_PIN(PINCTRL_PIN(149, "TDN3/LVDS(TDN3)"), "AA2", "mt8135", MTK_EINT_FUNCTION(2, 36), MTK_FUNCTION(0, "GPIO149"), MTK_FUNCTION(2, "EINT36") ), - MTK_PIN( - PINCTRL_PIN(150, "TDP3/LVDS(TDP3)"), + MTK_PIN(PINCTRL_PIN(150, "TDP3/LVDS(TDP3)"), "AA1", "mt8135", MTK_EINT_FUNCTION(2, 35), MTK_FUNCTION(0, "GPIO150"), MTK_FUNCTION(2, "EINT35") ), - MTK_PIN( - PINCTRL_PIN(151, "TDN2/LVDS(TCN)"), + MTK_PIN(PINCTRL_PIN(151, "TDN2/LVDS(TCN)"), "Y2", "mt8135", MTK_EINT_FUNCTION(2, 169), MTK_FUNCTION(0, "GPIO151"), MTK_FUNCTION(2, "EINT169") ), - MTK_PIN( - PINCTRL_PIN(152, "TDP2/LVDS(TCP)"), + MTK_PIN(PINCTRL_PIN(152, "TDP2/LVDS(TCP)"), "Y1", "mt8135", MTK_EINT_FUNCTION(2, 168), MTK_FUNCTION(0, "GPIO152"), MTK_FUNCTION(2, "EINT168") ), - MTK_PIN( - PINCTRL_PIN(153, "TCN/LVDS(TDN2)"), + MTK_PIN(PINCTRL_PIN(153, "TCN/LVDS(TDN2)"), "W2", "mt8135", MTK_EINT_FUNCTION(2, 163), MTK_FUNCTION(0, "GPIO153"), MTK_FUNCTION(2, "EINT163") ), - MTK_PIN( - PINCTRL_PIN(154, "TCP/LVDS(TDP2)"), + MTK_PIN(PINCTRL_PIN(154, "TCP/LVDS(TDP2)"), "W1", "mt8135", MTK_EINT_FUNCTION(2, 162), MTK_FUNCTION(0, "GPIO154"), MTK_FUNCTION(2, "EINT162") ), - MTK_PIN( - PINCTRL_PIN(155, "TDN1/LVDS(TDN1)"), + MTK_PIN(PINCTRL_PIN(155, "TDN1/LVDS(TDN1)"), "V3", "mt8135", MTK_EINT_FUNCTION(2, 167), MTK_FUNCTION(0, "GPIO155"), MTK_FUNCTION(2, "EINT167") ), - MTK_PIN( - PINCTRL_PIN(156, "TDP1/LVDS(TDP1)"), + MTK_PIN(PINCTRL_PIN(156, "TDP1/LVDS(TDP1)"), "V2", "mt8135", MTK_EINT_FUNCTION(2, 166), MTK_FUNCTION(0, "GPIO156"), MTK_FUNCTION(2, "EINT166") ), - MTK_PIN( - PINCTRL_PIN(157, "TDN0/LVDS(TDN0)"), + MTK_PIN(PINCTRL_PIN(157, "TDN0/LVDS(TDN0)"), "U3", "mt8135", MTK_EINT_FUNCTION(2, 165), MTK_FUNCTION(0, "GPIO157"), MTK_FUNCTION(2, "EINT165") ), - MTK_PIN( - PINCTRL_PIN(158, "TDP0/LVDS(TDP0)"), + MTK_PIN(PINCTRL_PIN(158, "TDP0/LVDS(TDP0)"), "U2", "mt8135", MTK_EINT_FUNCTION(2, 164), MTK_FUNCTION(0, "GPIO158"), MTK_FUNCTION(2, "EINT164") ), - MTK_PIN( - PINCTRL_PIN(159, "RDN3"), + MTK_PIN(PINCTRL_PIN(159, "RDN3"), "N5", "mt8135", MTK_EINT_FUNCTION(2, 18), MTK_FUNCTION(0, "GPIO159"), MTK_FUNCTION(2, "EINT18") ), - MTK_PIN( - PINCTRL_PIN(160, "RDP3"), + MTK_PIN(PINCTRL_PIN(160, "RDP3"), "N4", "mt8135", MTK_EINT_FUNCTION(2, 30), MTK_FUNCTION(0, "GPIO160"), MTK_FUNCTION(2, "EINT30") ), - MTK_PIN( - PINCTRL_PIN(161, "RDN2"), + MTK_PIN(PINCTRL_PIN(161, "RDN2"), "T2", "mt8135", MTK_EINT_FUNCTION(2, 31), MTK_FUNCTION(0, "GPIO161"), MTK_FUNCTION(2, "EINT31") ), - MTK_PIN( - PINCTRL_PIN(162, "RDP2"), + MTK_PIN(PINCTRL_PIN(162, "RDP2"), "T3", "mt8135", MTK_EINT_FUNCTION(2, 32), MTK_FUNCTION(0, "GPIO162"), MTK_FUNCTION(2, "EINT32") ), - MTK_PIN( - PINCTRL_PIN(163, "RCN"), + MTK_PIN(PINCTRL_PIN(163, "RCN"), "P2", "mt8135", MTK_EINT_FUNCTION(2, 33), MTK_FUNCTION(0, "GPIO163"), MTK_FUNCTION(2, "EINT33") ), - MTK_PIN( - PINCTRL_PIN(164, "RCP"), + MTK_PIN(PINCTRL_PIN(164, "RCP"), "P3", "mt8135", MTK_EINT_FUNCTION(2, 39), MTK_FUNCTION(0, "GPIO164"), MTK_FUNCTION(2, "EINT39") ), - MTK_PIN( - PINCTRL_PIN(165, "RDN1"), + MTK_PIN(PINCTRL_PIN(165, "RDN1"), "R3", "mt8135", MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), MTK_FUNCTION(0, "GPIO165") ), - MTK_PIN( - PINCTRL_PIN(166, "RDP1"), + MTK_PIN(PINCTRL_PIN(166, "RDP1"), "R2", "mt8135", MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), MTK_FUNCTION(0, "GPIO166") ), - MTK_PIN( - PINCTRL_PIN(167, "RDN0"), + MTK_PIN(PINCTRL_PIN(167, "RDN0"), "N3", "mt8135", MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), MTK_FUNCTION(0, "GPIO167") ), - MTK_PIN( - PINCTRL_PIN(168, "RDP0"), + MTK_PIN(PINCTRL_PIN(168, "RDP0"), "N2", "mt8135", MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), MTK_FUNCTION(0, "GPIO168") ), - MTK_PIN( - PINCTRL_PIN(169, "RDN1_A"), + MTK_PIN(PINCTRL_PIN(169, "RDN1_A"), "M4", "mt8135", MTK_EINT_FUNCTION(2, 175), MTK_FUNCTION(0, "GPIO169"), MTK_FUNCTION(1, "CMDAT6"), MTK_FUNCTION(2, "EINT175") ), - MTK_PIN( - PINCTRL_PIN(170, "RDP1_A"), + MTK_PIN(PINCTRL_PIN(170, "RDP1_A"), "M3", "mt8135", MTK_EINT_FUNCTION(2, 174), MTK_FUNCTION(0, "GPIO170"), MTK_FUNCTION(1, "CMDAT7"), MTK_FUNCTION(2, "EINT174") ), - MTK_PIN( - PINCTRL_PIN(171, "RCN_A"), + MTK_PIN(PINCTRL_PIN(171, "RCN_A"), "L3", "mt8135", MTK_EINT_FUNCTION(2, 171), MTK_FUNCTION(0, "GPIO171"), MTK_FUNCTION(1, "CMDAT8"), MTK_FUNCTION(2, "EINT171") ), - MTK_PIN( - PINCTRL_PIN(172, "RCP_A"), + MTK_PIN(PINCTRL_PIN(172, "RCP_A"), "L2", "mt8135", MTK_EINT_FUNCTION(2, 170), MTK_FUNCTION(0, "GPIO172"), MTK_FUNCTION(1, "CMDAT9"), MTK_FUNCTION(2, "EINT170") ), - MTK_PIN( - PINCTRL_PIN(173, "RDN0_A"), + MTK_PIN(PINCTRL_PIN(173, "RDN0_A"), "M2", "mt8135", MTK_EINT_FUNCTION(2, 173), MTK_FUNCTION(0, "GPIO173"), MTK_FUNCTION(1, "CMHSYNC"), MTK_FUNCTION(2, "EINT173") ), - MTK_PIN( - PINCTRL_PIN(174, "RDP0_A"), + MTK_PIN(PINCTRL_PIN(174, "RDP0_A"), "M1", "mt8135", MTK_EINT_FUNCTION(2, 172), MTK_FUNCTION(0, "GPIO174"), MTK_FUNCTION(1, "CMVSYNC"), MTK_FUNCTION(2, "EINT172") ), - MTK_PIN( - PINCTRL_PIN(175, "RDN1_B"), + MTK_PIN(PINCTRL_PIN(175, "RDN1_B"), "H2", "mt8135", MTK_EINT_FUNCTION(2, 181), MTK_FUNCTION(0, "GPIO175"), @@ -1824,8 +1648,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT181"), MTK_FUNCTION(3, "CMCSD2") ), - MTK_PIN( - PINCTRL_PIN(176, "RDP1_B"), + MTK_PIN(PINCTRL_PIN(176, "RDP1_B"), "H1", "mt8135", MTK_EINT_FUNCTION(2, 180), MTK_FUNCTION(0, "GPIO176"), @@ -1833,24 +1656,21 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT180"), MTK_FUNCTION(3, "CMCSD3") ), - MTK_PIN( - PINCTRL_PIN(177, "RCN_B"), + MTK_PIN(PINCTRL_PIN(177, "RCN_B"), "K3", "mt8135", MTK_EINT_FUNCTION(2, 177), MTK_FUNCTION(0, "GPIO177"), MTK_FUNCTION(1, "CMDAT4"), MTK_FUNCTION(2, "EINT177") ), - MTK_PIN( - PINCTRL_PIN(178, "RCP_B"), + MTK_PIN(PINCTRL_PIN(178, "RCP_B"), "K2", "mt8135", MTK_EINT_FUNCTION(2, 176), MTK_FUNCTION(0, "GPIO178"), MTK_FUNCTION(1, "CMDAT5"), MTK_FUNCTION(2, "EINT176") ), - MTK_PIN( - PINCTRL_PIN(179, "RDN0_B"), + MTK_PIN(PINCTRL_PIN(179, "RDN0_B"), "J3", "mt8135", MTK_EINT_FUNCTION(2, 179), MTK_FUNCTION(0, "GPIO179"), @@ -1858,8 +1678,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT179"), MTK_FUNCTION(3, "CMCSD0") ), - MTK_PIN( - PINCTRL_PIN(180, "RDP0_B"), + MTK_PIN(PINCTRL_PIN(180, "RDP0_B"), "J2", "mt8135", MTK_EINT_FUNCTION(2, 178), MTK_FUNCTION(0, "GPIO180"), @@ -1867,8 +1686,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(2, "EINT178"), MTK_FUNCTION(3, "CMCSD1") ), - MTK_PIN( - PINCTRL_PIN(181, "CMPCLK"), + MTK_PIN(PINCTRL_PIN(181, "CMPCLK"), "K4", "mt8135", MTK_EINT_FUNCTION(2, 182), MTK_FUNCTION(0, "GPIO181"), @@ -1880,8 +1698,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "VENC_TEST_CK"), MTK_FUNCTION(7, "TESTA_OUT27") ), - MTK_PIN( - PINCTRL_PIN(182, "CMMCLK"), + MTK_PIN(PINCTRL_PIN(182, "CMMCLK"), "J5", "mt8135", MTK_EINT_FUNCTION(2, 183), MTK_FUNCTION(0, "GPIO182"), @@ -1890,8 +1707,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "TS_AUXADC_SEL[2]"), MTK_FUNCTION(7, "TESTA_OUT28") ), - MTK_PIN( - PINCTRL_PIN(183, "CMRST"), + MTK_PIN(PINCTRL_PIN(183, "CMRST"), "J6", "mt8135", MTK_EINT_FUNCTION(2, 185), MTK_FUNCTION(0, "GPIO183"), @@ -1900,8 +1716,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "TS_AUXADC_SEL[1]"), MTK_FUNCTION(7, "TESTA_OUT30") ), - MTK_PIN( - PINCTRL_PIN(184, "CMPDN"), + MTK_PIN(PINCTRL_PIN(184, "CMPDN"), "J4", "mt8135", MTK_EINT_FUNCTION(2, 184), MTK_FUNCTION(0, "GPIO184"), @@ -1910,8 +1725,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "TS_AUXADC_SEL[0]"), MTK_FUNCTION(7, "TESTA_OUT29") ), - MTK_PIN( - PINCTRL_PIN(185, "CMFLASH"), + MTK_PIN(PINCTRL_PIN(185, "CMFLASH"), "G4", "mt8135", MTK_EINT_FUNCTION(2, 186), MTK_FUNCTION(0, "GPIO185"), @@ -1921,8 +1735,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "MFG_TEST_CK_1"), MTK_FUNCTION(7, "TESTA_OUT31") ), - MTK_PIN( - PINCTRL_PIN(186, "MRG_I2S_PCM_CLK"), + MTK_PIN(PINCTRL_PIN(186, "MRG_I2S_PCM_CLK"), "F5", "mt8135", MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), MTK_FUNCTION(0, "GPIO186"), @@ -1933,8 +1746,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "IMG_TEST_CK"), MTK_FUNCTION(7, "USB_SCL") ), - MTK_PIN( - PINCTRL_PIN(187, "MRG_I2S_PCM_SYNC"), + MTK_PIN(PINCTRL_PIN(187, "MRG_I2S_PCM_SYNC"), "G6", "mt8135", MTK_EINT_FUNCTION(2, 16), MTK_FUNCTION(0, "GPIO187"), @@ -1944,8 +1756,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "PCM0_WS"), MTK_FUNCTION(6, "DISP_TEST_CK") ), - MTK_PIN( - PINCTRL_PIN(188, "MRG_I2S_PCM_RX"), + MTK_PIN(PINCTRL_PIN(188, "MRG_I2S_PCM_RX"), "G3", "mt8135", MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), MTK_FUNCTION(0, "GPIO188"), @@ -1956,8 +1767,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(6, "MFG_TEST_CK"), MTK_FUNCTION(7, "USB_SDA") ), - MTK_PIN( - PINCTRL_PIN(189, "MRG_I2S_PCM_TX"), + MTK_PIN(PINCTRL_PIN(189, "MRG_I2S_PCM_TX"), "G5", "mt8135", MTK_EINT_FUNCTION(2, 17), MTK_FUNCTION(0, "GPIO189"), @@ -1967,15 +1777,13 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "PCM0_DO"), MTK_FUNCTION(6, "VDEC_TEST_CK") ), - MTK_PIN( - PINCTRL_PIN(190, "SRCLKENAI"), + MTK_PIN(PINCTRL_PIN(190, "SRCLKENAI"), "K5", "mt8135", MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), MTK_FUNCTION(0, "GPIO190"), MTK_FUNCTION(1, "SRCLKENAI") ), - MTK_PIN( - PINCTRL_PIN(191, "URXD3"), + MTK_PIN(PINCTRL_PIN(191, "URXD3"), "C3", "mt8135", MTK_EINT_FUNCTION(2, 87), MTK_FUNCTION(0, "GPIO191"), @@ -1985,8 +1793,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "TS_AUX_ST"), MTK_FUNCTION(6, "PWM4") ), - MTK_PIN( - PINCTRL_PIN(192, "UTXD3"), + MTK_PIN(PINCTRL_PIN(192, "UTXD3"), "B2", "mt8135", MTK_EINT_FUNCTION(2, 86), MTK_FUNCTION(0, "GPIO192"), @@ -1996,8 +1803,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "TS_AUX_CS_B"), MTK_FUNCTION(6, "PWM3") ), - MTK_PIN( - PINCTRL_PIN(193, "SDA2"), + MTK_PIN(PINCTRL_PIN(193, "SDA2"), "G2", "mt8135", MTK_EINT_FUNCTION(2, 95), MTK_FUNCTION(0, "GPIO193"), @@ -2007,8 +1813,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "PWM5"), MTK_FUNCTION(5, "TS_AUX_PWDB") ), - MTK_PIN( - PINCTRL_PIN(194, "SCL2"), + MTK_PIN(PINCTRL_PIN(194, "SCL2"), "F4", "mt8135", MTK_EINT_FUNCTION(2, 94), MTK_FUNCTION(0, "GPIO194"), @@ -2018,8 +1823,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "PWM4"), MTK_FUNCTION(5, "TS_AUXADC_TEST_CK") ), - MTK_PIN( - PINCTRL_PIN(195, "SDA1"), + MTK_PIN(PINCTRL_PIN(195, "SDA1"), "F2", "mt8135", MTK_EINT_FUNCTION(2, 93), MTK_FUNCTION(0, "GPIO195"), @@ -2029,8 +1833,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "PWM3"), MTK_FUNCTION(5, "TS_AUX_SCLK_PWDB") ), - MTK_PIN( - PINCTRL_PIN(196, "SCL1"), + MTK_PIN(PINCTRL_PIN(196, "SCL1"), "F3", "mt8135", MTK_EINT_FUNCTION(2, 92), MTK_FUNCTION(0, "GPIO196"), @@ -2040,8 +1843,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "PWM2"), MTK_FUNCTION(5, "TS_AUX_DIN") ), - MTK_PIN( - PINCTRL_PIN(197, "MSDC3_DAT2"), + MTK_PIN(PINCTRL_PIN(197, "MSDC3_DAT2"), "E1", "mt8135", MTK_EINT_FUNCTION(2, 71), MTK_FUNCTION(0, "GPIO197"), @@ -2052,8 +1854,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "CLKM4"), MTK_FUNCTION(6, "MFG_TEST_CK_2") ), - MTK_PIN( - PINCTRL_PIN(198, "MSDC3_DAT3"), + MTK_PIN(PINCTRL_PIN(198, "MSDC3_DAT3"), "C2", "mt8135", MTK_EINT_FUNCTION(2, 72), MTK_FUNCTION(0, "GPIO198"), @@ -2064,8 +1865,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "CLKM5"), MTK_FUNCTION(6, "MFG_TEST_CK_3") ), - MTK_PIN( - PINCTRL_PIN(199, "MSDC3_CMD"), + MTK_PIN(PINCTRL_PIN(199, "MSDC3_CMD"), "D2", "mt8135", MTK_EINT_FUNCTION(2, 68), MTK_FUNCTION(0, "GPIO199"), @@ -2076,8 +1876,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(5, "CLKM1"), MTK_FUNCTION(6, "MFG_TEST_CK_4") ), - MTK_PIN( - PINCTRL_PIN(200, "MSDC3_CLK"), + MTK_PIN(PINCTRL_PIN(200, "MSDC3_CLK"), "E2", "mt8135", MTK_EINT_FUNCTION(2, 67), MTK_FUNCTION(0, "GPIO200"), @@ -2087,8 +1886,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "PWM1"), MTK_FUNCTION(5, "CLKM0") ), - MTK_PIN( - PINCTRL_PIN(201, "MSDC3_DAT1"), + MTK_PIN(PINCTRL_PIN(201, "MSDC3_DAT1"), "D3", "mt8135", MTK_EINT_FUNCTION(2, 70), MTK_FUNCTION(0, "GPIO201"), @@ -2098,8 +1896,7 @@ static const struct mtk_desc_pin mtk_pins_mt8135[] = { MTK_FUNCTION(4, "PWM4"), MTK_FUNCTION(5, "CLKM3") ), - MTK_PIN( - PINCTRL_PIN(202, "MSDC3_DAT0"), + MTK_PIN(PINCTRL_PIN(202, "MSDC3_DAT0"), "E3", "mt8135", MTK_EINT_FUNCTION(2, 69), MTK_FUNCTION(0, "GPIO202"), |