Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1if ARCH_MEDIATEK || COMPILE_TEST
2
3config 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
12config 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
18config 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
25config 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
33config 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
39endif