diff options
Diffstat (limited to 'drivers/pinctrl/mediatek/Kconfig')
| -rw-r--r-- | drivers/pinctrl/mediatek/Kconfig | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig new file mode 100644 index 000000000000..5983cf5b2c46 --- /dev/null +++ b/drivers/pinctrl/mediatek/Kconfig | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | if ARCH_MEDIATEK || COMPILE_TEST | ||
| 2 | |||
| 3 | config PINCTRL_MTK_COMMON | ||
| 4 | bool | ||
| 5 | select PINMUX | ||
| 6 | select GENERIC_PINCONF | ||
| 7 | select GPIOLIB | ||
| 8 | select OF_GPIO | ||
| 9 | |||
| 10 | # For ARMv7 SoCs | ||
| 11 | config PINCTRL_MT8135 | ||
| 12 | bool "Mediatek MT8135 pin control" if COMPILE_TEST && !MACH_MT8135 | ||
| 13 | default MACH_MT8135 | ||
| 14 | select PINCTRL_MTK_COMMON | ||
| 15 | |||
| 16 | # For ARMv8 SoCs | ||
| 17 | config PINCTRL_MT8173 | ||
| 18 | bool "Mediatek MT8173 pin control" | ||
| 19 | depends on ARM64 || COMPILE_TEST | ||
| 20 | default ARM64 && ARCH_MEDIATEK | ||
| 21 | select PINCTRL_MTK_COMMON | ||
| 22 | |||
| 23 | endif | ||
