]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/pinctrl/mediatek/Kconfig
Merge branches 'for-4.11/upstream-fixes', 'for-4.12/accutouch', 'for-4.12/cp2112...
[mirror_ubuntu-artful-kernel.git] / drivers / pinctrl / mediatek / Kconfig
CommitLineData
4a8ade1f 1if ARCH_MEDIATEK || COMPILE_TEST
a6df410d 2
4a9e0060 3config PINCTRL_MTK
a6df410d 4 bool
b99e6fb8 5 depends on OF
a6df410d
HY
6 select PINMUX
7 select GENERIC_PINCONF
8 select GPIOLIB
9 select OF_GPIO
10
4a8ade1f 11# For ARMv7 SoCs
148b95ee 12config PINCTRL_MT2701
79d62089
JD
13 bool "Mediatek MT2701 pin control"
14 depends on MACH_MT2701 || COMPILE_TEST
148b95ee
BH
15 depends on OF
16 default MACH_MT2701
4a9e0060 17 select PINCTRL_MTK
148b95ee 18
87316f6b 19config PINCTRL_MT7623
79d62089
JD
20 bool "Mediatek MT7623 pin control"
21 depends on MACH_MT7623 || COMPILE_TEST
87316f6b
JC
22 depends on OF
23 default MACH_MT7623
24 select PINCTRL_MTK_COMMON
25
a6df410d 26config PINCTRL_MT8135
79d62089
JD
27 bool "Mediatek MT8135 pin control"
28 depends on MACH_MT8135 || COMPILE_TEST
b99e6fb8 29 depends on OF
4a8ade1f 30 default MACH_MT8135
4a9e0060 31 select PINCTRL_MTK
a6df410d 32
6acdee8c 33config PINCTRL_MT8127
79d62089
JD
34 bool "Mediatek MT8127 pin control"
35 depends on MACH_MT8127 || COMPILE_TEST
6acdee8c
YC
36 depends on OF
37 default MACH_MT8127
4a9e0060 38 select PINCTRL_MTK
6acdee8c 39
4a8ade1f 40# For ARMv8 SoCs
30f010f5 41config PINCTRL_MT8173
4a8ade1f 42 bool "Mediatek MT8173 pin control"
b99e6fb8 43 depends on OF
4a8ade1f
YC
44 depends on ARM64 || COMPILE_TEST
45 default ARM64 && ARCH_MEDIATEK
4a9e0060 46 select PINCTRL_MTK
30f010f5 47
fc59e66c
HY
48# For PMIC
49config PINCTRL_MT6397
79d62089
JD
50 bool "Mediatek MT6397 pin control"
51 depends on MFD_MT6397 || COMPILE_TEST
a2202a4c 52 depends on OF
fc59e66c 53 default MFD_MT6397
4a9e0060 54 select PINCTRL_MTK
fc59e66c 55
a6df410d 56endif