1menu "MediaTek pinctrl drivers" 2 depends on ARCH_MEDIATEK || COMPILE_TEST 3 4config EINT_MTK 5 bool "MediaTek External Interrupt Support" 6 depends on PINCTRL_MTK || PINCTRL_MTK_MOORE || PINCTRL_MTK_PARIS || COMPILE_TEST 7 select GPIOLIB 8 select IRQ_DOMAIN 9 10config PINCTRL_MTK 11 bool 12 depends on OF 13 select PINMUX 14 select GENERIC_PINCONF 15 select GPIOLIB 16 select EINT_MTK 17 select OF_GPIO 18 19config PINCTRL_MTK_MOORE 20 bool 21 depends on OF 22 select GENERIC_PINCONF 23 select GENERIC_PINCTRL_GROUPS 24 select GENERIC_PINMUX_FUNCTIONS 25 select GPIOLIB 26 select OF_GPIO 27 28config PINCTRL_MTK_PARIS 29 bool 30 depends on OF 31 select PINMUX 32 select GENERIC_PINCONF 33 select GPIOLIB 34 select EINT_MTK 35 select OF_GPIO 36 37# For ARMv7 SoCs 38config PINCTRL_MT2701 39 bool "Mediatek MT2701 pin control" 40 depends on MACH_MT7623 || MACH_MT2701 || COMPILE_TEST 41 depends on OF 42 default MACH_MT2701 43 select PINCTRL_MTK 44 45config PINCTRL_MT7623 46 bool "Mediatek MT7623 pin control with generic binding" 47 depends on MACH_MT7623 || COMPILE_TEST 48 depends on OF 49 default MACH_MT7623 50 select PINCTRL_MTK_MOORE 51 52config PINCTRL_MT7629 53 bool "Mediatek MT7629 pin control" 54 depends on MACH_MT7629 || COMPILE_TEST 55 depends on OF 56 default MACH_MT7629 57 select PINCTRL_MTK_MOORE 58 59config PINCTRL_MT8135 60 bool "Mediatek MT8135 pin control" 61 depends on MACH_MT8135 || COMPILE_TEST 62 depends on OF 63 default MACH_MT8135 64 select PINCTRL_MTK 65 66config PINCTRL_MT8127 67 bool "Mediatek MT8127 pin control" 68 depends on MACH_MT8127 || COMPILE_TEST 69 depends on OF 70 default MACH_MT8127 71 select PINCTRL_MTK 72 73# For ARMv8 SoCs 74config PINCTRL_MT2712 75 bool "MediaTek MT2712 pin control" 76 depends on OF 77 depends on ARM64 || COMPILE_TEST 78 default ARM64 && ARCH_MEDIATEK 79 select PINCTRL_MTK 80 81config PINCTRL_MT6765 82 bool "Mediatek MT6765 pin control" 83 depends on OF 84 depends on ARM64 || COMPILE_TEST 85 default ARM64 && ARCH_MEDIATEK 86 select PINCTRL_MTK_PARIS 87 88config PINCTRL_MT6797 89 bool "Mediatek MT6797 pin control" 90 depends on OF 91 depends on ARM64 || COMPILE_TEST 92 default ARM64 && ARCH_MEDIATEK 93 select PINCTRL_MTK_PARIS 94 95config PINCTRL_MT7622 96 bool "MediaTek MT7622 pin control" 97 depends on OF 98 depends on ARM64 || COMPILE_TEST 99 default ARM64 && ARCH_MEDIATEK 100 select PINCTRL_MTK_MOORE 101 102config PINCTRL_MT8173 103 bool "Mediatek MT8173 pin control" 104 depends on OF 105 depends on ARM64 || COMPILE_TEST 106 default ARM64 && ARCH_MEDIATEK 107 select PINCTRL_MTK 108 109config PINCTRL_MT8183 110 bool "Mediatek MT8183 pin control" 111 depends on OF 112 depends on ARM64 || COMPILE_TEST 113 default ARM64 && ARCH_MEDIATEK 114 select PINCTRL_MTK_PARIS 115 116# For PMIC 117config PINCTRL_MT6397 118 bool "Mediatek MT6397 pin control" 119 depends on MFD_MT6397 || COMPILE_TEST 120 depends on OF 121 default MFD_MT6397 122 select PINCTRL_MTK 123 124endmenu 125