2015-03-13 17:40:52 +03:00
|
|
|
if ARCH_MEDIATEK || COMPILE_TEST
|
2015-01-21 08:28:15 +03:00
|
|
|
|
2016-02-10 12:54:32 +03:00
|
|
|
config PINCTRL_MTK
|
2015-01-21 08:28:15 +03:00
|
|
|
bool
|
2015-04-15 11:00:35 +03:00
|
|
|
depends on OF
|
2015-01-21 08:28:15 +03:00
|
|
|
select PINMUX
|
|
|
|
select GENERIC_PINCONF
|
|
|
|
select GPIOLIB
|
|
|
|
select OF_GPIO
|
|
|
|
|
2015-03-13 17:40:52 +03:00
|
|
|
# For ARMv7 SoCs
|
2016-01-27 04:24:42 +03:00
|
|
|
config PINCTRL_MT2701
|
2017-01-25 12:32:09 +03:00
|
|
|
bool "Mediatek MT2701 pin control"
|
|
|
|
depends on MACH_MT2701 || COMPILE_TEST
|
2016-01-27 04:24:42 +03:00
|
|
|
depends on OF
|
|
|
|
default MACH_MT2701
|
2016-02-10 12:54:32 +03:00
|
|
|
select PINCTRL_MTK
|
2016-01-27 04:24:42 +03:00
|
|
|
|
2016-02-19 10:17:18 +03:00
|
|
|
config PINCTRL_MT7623
|
2017-01-25 12:32:09 +03:00
|
|
|
bool "Mediatek MT7623 pin control"
|
|
|
|
depends on MACH_MT7623 || COMPILE_TEST
|
2016-02-19 10:17:18 +03:00
|
|
|
depends on OF
|
|
|
|
default MACH_MT7623
|
|
|
|
select PINCTRL_MTK_COMMON
|
|
|
|
|
2015-01-21 08:28:15 +03:00
|
|
|
config PINCTRL_MT8135
|
2017-01-25 12:32:09 +03:00
|
|
|
bool "Mediatek MT8135 pin control"
|
|
|
|
depends on MACH_MT8135 || COMPILE_TEST
|
2015-04-15 11:00:35 +03:00
|
|
|
depends on OF
|
2015-03-13 17:40:52 +03:00
|
|
|
default MACH_MT8135
|
2016-02-10 12:54:32 +03:00
|
|
|
select PINCTRL_MTK
|
2015-01-21 08:28:15 +03:00
|
|
|
|
2015-05-19 06:01:32 +03:00
|
|
|
config PINCTRL_MT8127
|
2017-01-25 12:32:09 +03:00
|
|
|
bool "Mediatek MT8127 pin control"
|
|
|
|
depends on MACH_MT8127 || COMPILE_TEST
|
2015-05-19 06:01:32 +03:00
|
|
|
depends on OF
|
|
|
|
default MACH_MT8127
|
2016-02-10 12:54:32 +03:00
|
|
|
select PINCTRL_MTK
|
2015-05-19 06:01:32 +03:00
|
|
|
|
2015-03-13 17:40:52 +03:00
|
|
|
# For ARMv8 SoCs
|
2015-01-27 10:13:55 +03:00
|
|
|
config PINCTRL_MT8173
|
2015-03-13 17:40:52 +03:00
|
|
|
bool "Mediatek MT8173 pin control"
|
2015-04-15 11:00:35 +03:00
|
|
|
depends on OF
|
2015-03-13 17:40:52 +03:00
|
|
|
depends on ARM64 || COMPILE_TEST
|
|
|
|
default ARM64 && ARCH_MEDIATEK
|
2016-02-10 12:54:32 +03:00
|
|
|
select PINCTRL_MTK
|
2015-01-27 10:13:55 +03:00
|
|
|
|
2015-05-19 09:11:17 +03:00
|
|
|
# For PMIC
|
|
|
|
config PINCTRL_MT6397
|
2017-01-25 12:32:09 +03:00
|
|
|
bool "Mediatek MT6397 pin control"
|
|
|
|
depends on MFD_MT6397 || COMPILE_TEST
|
2015-05-20 10:11:23 +03:00
|
|
|
depends on OF
|
2015-05-19 09:11:17 +03:00
|
|
|
default MFD_MT6397
|
2016-02-10 12:54:32 +03:00
|
|
|
select PINCTRL_MTK
|
2015-05-19 09:11:17 +03:00
|
|
|
|
2015-01-21 08:28:15 +03:00
|
|
|
endif
|