1menu "MediaTek pinctrl drivers" 2 depends on ARCH_MEDIATEK || COMPILE_TEST 3 4config PINCTRL_MTK 5 bool 6 depends on OF 7 select PINMUX 8 select GENERIC_PINCONF 9 select GPIOLIB 10 select OF_GPIO 11 12# For ARMv7 SoCs 13config PINCTRL_MT2701 14 bool "Mediatek MT2701 pin control" 15 depends on MACH_MT7623 || MACH_MT2701 || COMPILE_TEST 16 depends on OF 17 default MACH_MT2701 18 select PINCTRL_MTK 19 20config PINCTRL_MT8135 21 bool "Mediatek MT8135 pin control" 22 depends on MACH_MT8135 || COMPILE_TEST 23 depends on OF 24 default MACH_MT8135 25 select PINCTRL_MTK 26 27config PINCTRL_MT8127 28 bool "Mediatek MT8127 pin control" 29 depends on MACH_MT8127 || COMPILE_TEST 30 depends on OF 31 default MACH_MT8127 32 select PINCTRL_MTK 33 34# For ARMv8 SoCs 35config PINCTRL_MT7622 36 bool "MediaTek MT7622 pin control" 37 depends on OF 38 depends on ARM64 || COMPILE_TEST 39 select GENERIC_PINCONF 40 select GENERIC_PINCTRL_GROUPS 41 select GENERIC_PINMUX_FUNCTIONS 42 select GPIOLIB 43 select OF_GPIO 44 45config PINCTRL_MT8173 46 bool "Mediatek MT8173 pin control" 47 depends on OF 48 depends on ARM64 || COMPILE_TEST 49 default ARM64 && ARCH_MEDIATEK 50 select PINCTRL_MTK 51 52# For PMIC 53config PINCTRL_MT6397 54 bool "Mediatek MT6397 pin control" 55 depends on MFD_MT6397 || COMPILE_TEST 56 depends on OF 57 default MFD_MT6397 58 select PINCTRL_MTK 59 60endmenu 61