2017-12-12 06:24:19 +00:00
|
|
|
menu "MediaTek pinctrl drivers"
|
|
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
2015-01-21 05:28:15 +00:00
|
|
|
|
2018-05-20 17:01:48 +00:00
|
|
|
config EINT_MTK
|
|
|
|
bool "MediaTek External Interrupt Support"
|
2018-11-02 02:57:28 +00:00
|
|
|
depends on PINCTRL_MTK || PINCTRL_MTK_MOORE || PINCTRL_MTK_PARIS || COMPILE_TEST
|
2018-10-08 15:57:43 +00:00
|
|
|
select GPIOLIB
|
2018-05-20 17:01:48 +00:00
|
|
|
select IRQ_DOMAIN
|
|
|
|
|
2016-02-10 09:54:32 +00:00
|
|
|
config PINCTRL_MTK
|
2015-01-21 05:28:15 +00:00
|
|
|
bool
|
2015-04-15 08:00:35 +00:00
|
|
|
depends on OF
|
2015-01-21 05:28:15 +00:00
|
|
|
select PINMUX
|
|
|
|
select GENERIC_PINCONF
|
|
|
|
select GPIOLIB
|
2018-05-20 17:01:48 +00:00
|
|
|
select EINT_MTK
|
2015-01-21 05:28:15 +00:00
|
|
|
select OF_GPIO
|
|
|
|
|
2018-09-08 11:07:18 +00:00
|
|
|
config PINCTRL_MTK_MOORE
|
|
|
|
bool "MediaTek Moore Core that implements generic binding"
|
|
|
|
depends on OF
|
|
|
|
select GENERIC_PINCONF
|
|
|
|
select GENERIC_PINCTRL_GROUPS
|
|
|
|
select GENERIC_PINMUX_FUNCTIONS
|
|
|
|
select GPIOLIB
|
|
|
|
select OF_GPIO
|
|
|
|
|
2018-09-08 11:07:33 +00:00
|
|
|
config PINCTRL_MTK_PARIS
|
|
|
|
bool "MediaTek Paris Core that implements vendor binding"
|
|
|
|
depends on OF
|
|
|
|
select PINMUX
|
|
|
|
select GENERIC_PINCONF
|
|
|
|
select GPIOLIB
|
|
|
|
select EINT_MTK
|
|
|
|
select OF_GPIO
|
|
|
|
|
2015-03-13 14:40:52 +00:00
|
|
|
# For ARMv7 SoCs
|
2016-01-27 01:24:42 +00:00
|
|
|
config PINCTRL_MT2701
|
2017-01-25 09:32:09 +00:00
|
|
|
bool "Mediatek MT2701 pin control"
|
2017-05-01 07:54:34 +00:00
|
|
|
depends on MACH_MT7623 || MACH_MT2701 || COMPILE_TEST
|
2016-01-27 01:24:42 +00:00
|
|
|
depends on OF
|
|
|
|
default MACH_MT2701
|
2016-02-10 09:54:32 +00:00
|
|
|
select PINCTRL_MTK
|
2016-01-27 01:24:42 +00:00
|
|
|
|
2018-09-08 11:07:28 +00:00
|
|
|
config PINCTRL_MT7623
|
|
|
|
bool "Mediatek MT7623 pin control with generic binding"
|
|
|
|
depends on MACH_MT7623 || COMPILE_TEST
|
|
|
|
depends on PINCTRL_MTK_MOORE
|
|
|
|
default y
|
|
|
|
|
2015-01-21 05:28:15 +00:00
|
|
|
config PINCTRL_MT8135
|
2017-01-25 09:32:09 +00:00
|
|
|
bool "Mediatek MT8135 pin control"
|
|
|
|
depends on MACH_MT8135 || COMPILE_TEST
|
2015-04-15 08:00:35 +00:00
|
|
|
depends on OF
|
2015-03-13 14:40:52 +00:00
|
|
|
default MACH_MT8135
|
2016-02-10 09:54:32 +00:00
|
|
|
select PINCTRL_MTK
|
2015-01-21 05:28:15 +00:00
|
|
|
|
2015-05-19 03:01:32 +00:00
|
|
|
config PINCTRL_MT8127
|
2017-01-25 09:32:09 +00:00
|
|
|
bool "Mediatek MT8127 pin control"
|
|
|
|
depends on MACH_MT8127 || COMPILE_TEST
|
2015-05-19 03:01:32 +00:00
|
|
|
depends on OF
|
|
|
|
default MACH_MT8127
|
2016-02-10 09:54:32 +00:00
|
|
|
select PINCTRL_MTK
|
2015-05-19 03:01:32 +00:00
|
|
|
|
2015-03-13 14:40:52 +00:00
|
|
|
# For ARMv8 SoCs
|
2018-03-22 02:58:41 +00:00
|
|
|
config PINCTRL_MT2712
|
|
|
|
bool "MediaTek MT2712 pin control"
|
|
|
|
depends on OF
|
|
|
|
depends on ARM64 || COMPILE_TEST
|
|
|
|
default ARM64 && ARCH_MEDIATEK
|
|
|
|
select PINCTRL_MTK
|
|
|
|
|
2018-09-21 04:07:37 +00:00
|
|
|
config PINCTRL_MT6765
|
|
|
|
bool "Mediatek MT6765 pin control"
|
|
|
|
depends on OF
|
|
|
|
depends on ARM64 || COMPILE_TEST
|
|
|
|
default ARM64 && ARCH_MEDIATEK
|
|
|
|
select PINCTRL_MTK_PARIS
|
|
|
|
|
2018-11-07 17:48:44 +00:00
|
|
|
config PINCTRL_MT6797
|
|
|
|
bool "Mediatek MT6797 pin control"
|
|
|
|
depends on OF
|
|
|
|
depends on ARM64 || COMPILE_TEST
|
|
|
|
default ARM64 && ARCH_MEDIATEK
|
|
|
|
select PINCTRL_MTK_PARIS
|
|
|
|
|
2017-12-12 06:24:20 +00:00
|
|
|
config PINCTRL_MT7622
|
|
|
|
bool "MediaTek MT7622 pin control"
|
|
|
|
depends on ARM64 || COMPILE_TEST
|
2018-09-08 11:07:18 +00:00
|
|
|
depends on PINCTRL_MTK_MOORE
|
|
|
|
default y
|
2017-12-12 06:24:20 +00:00
|
|
|
|
2015-01-27 07:13:55 +00:00
|
|
|
config PINCTRL_MT8173
|
2015-03-13 14:40:52 +00:00
|
|
|
bool "Mediatek MT8173 pin control"
|
2015-04-15 08:00:35 +00:00
|
|
|
depends on OF
|
2015-03-13 14:40:52 +00:00
|
|
|
depends on ARM64 || COMPILE_TEST
|
|
|
|
default ARM64 && ARCH_MEDIATEK
|
2016-02-10 09:54:32 +00:00
|
|
|
select PINCTRL_MTK
|
2015-01-27 07:13:55 +00:00
|
|
|
|
2018-09-08 11:07:34 +00:00
|
|
|
config PINCTRL_MT8183
|
|
|
|
bool "Mediatek MT8183 pin control"
|
|
|
|
depends on OF
|
|
|
|
depends on ARM64 || COMPILE_TEST
|
|
|
|
default ARM64 && ARCH_MEDIATEK
|
|
|
|
select PINCTRL_MTK_PARIS
|
|
|
|
|
2015-05-19 06:11:17 +00:00
|
|
|
# For PMIC
|
|
|
|
config PINCTRL_MT6397
|
2017-01-25 09:32:09 +00:00
|
|
|
bool "Mediatek MT6397 pin control"
|
|
|
|
depends on MFD_MT6397 || COMPILE_TEST
|
2015-05-20 07:11:23 +00:00
|
|
|
depends on OF
|
2015-05-19 06:11:17 +00:00
|
|
|
default MFD_MT6397
|
2016-02-10 09:54:32 +00:00
|
|
|
select PINCTRL_MTK
|
2015-05-19 06:11:17 +00:00
|
|
|
|
2017-12-12 06:24:19 +00:00
|
|
|
endmenu
|