2015-03-13 14:40:52 +00:00
|
|
|
if ARCH_MEDIATEK || COMPILE_TEST
|
2015-01-21 05:28:15 +00:00
|
|
|
|
|
|
|
config PINCTRL_MTK_COMMON
|
|
|
|
bool
|
|
|
|
select PINMUX
|
|
|
|
select GENERIC_PINCONF
|
|
|
|
select GPIOLIB
|
|
|
|
select OF_GPIO
|
|
|
|
|
2015-03-13 14:40:52 +00:00
|
|
|
# For ARMv7 SoCs
|
2015-01-21 05:28:15 +00:00
|
|
|
config PINCTRL_MT8135
|
2015-03-13 14:40:52 +00:00
|
|
|
bool "Mediatek MT8135 pin control" if COMPILE_TEST && !MACH_MT8135
|
|
|
|
default MACH_MT8135
|
2015-01-21 05:28:15 +00:00
|
|
|
select PINCTRL_MTK_COMMON
|
|
|
|
|
2015-03-13 14:40:52 +00:00
|
|
|
# For ARMv8 SoCs
|
2015-01-27 07:13:55 +00:00
|
|
|
config PINCTRL_MT8173
|
2015-03-13 14:40:52 +00:00
|
|
|
bool "Mediatek MT8173 pin control"
|
|
|
|
depends on ARM64 || COMPILE_TEST
|
|
|
|
default ARM64 && ARCH_MEDIATEK
|
2015-01-27 07:13:55 +00:00
|
|
|
select PINCTRL_MTK_COMMON
|
|
|
|
|
2015-01-21 05:28:15 +00:00
|
|
|
endif
|