These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / pinctrl / mediatek / Kconfig
1 if ARCH_MEDIATEK || COMPILE_TEST
2
3 config PINCTRL_MTK_COMMON
4         bool
5         depends on OF
6         select PINMUX
7         select GENERIC_PINCONF
8         select GPIOLIB
9         select OF_GPIO
10
11 # For ARMv7 SoCs
12 config PINCTRL_MT8135
13         bool "Mediatek MT8135 pin control" if COMPILE_TEST && !MACH_MT8135
14         depends on OF
15         default MACH_MT8135
16         select PINCTRL_MTK_COMMON
17
18 config PINCTRL_MT8127
19         bool "Mediatek MT8127 pin control" if COMPILE_TEST && !MACH_MT8127
20         depends on OF
21         default MACH_MT8127
22         select PINCTRL_MTK_COMMON
23
24 # For ARMv8 SoCs
25 config PINCTRL_MT8173
26         bool "Mediatek MT8173 pin control"
27         depends on OF
28         depends on ARM64 || COMPILE_TEST
29         default ARM64 && ARCH_MEDIATEK
30         select PINCTRL_MTK_COMMON
31
32 # For PMIC
33 config PINCTRL_MT6397
34         bool "Mediatek MT6397 pin control" if COMPILE_TEST && !MFD_MT6397
35         depends on OF
36         default MFD_MT6397
37         select PINCTRL_MTK_COMMON
38
39 endif