summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/mediatek/Kconfig
diff options
context:
space:
mode:
authorBiao Huang <biao.huang@mediatek.com>2016-01-27 09:24:42 +0800
committerLinus Walleij <linus.walleij@linaro.org>2016-01-28 11:12:03 +0100
commit148b95eea00b15ee65a57fe1bd4256d325575e00 (patch)
treeeeb4327527ed0d9cbc73531351cd941e3098d574 /drivers/pinctrl/mediatek/Kconfig
parent5372381587e06a91ee4c1a0f2bf480a9100c21fd (diff)
pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for mt2701
Add mt2701 support using mediatek common pinctrl driver. MT2701 have some special pins need an extra setting register than other ICs, so adding this support to common code. Signed-off-by: Biao Huang <biao.huang@mediatek.com> Acked-by: Yingjoe Chen <yingjoe.chen@mediatek.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mediatek/Kconfig')
-rw-r--r--drivers/pinctrl/mediatek/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
index 02f6f92df86c..13e9939d9b3a 100644
--- a/drivers/pinctrl/mediatek/Kconfig
+++ b/drivers/pinctrl/mediatek/Kconfig
@@ -9,6 +9,12 @@ config PINCTRL_MTK_COMMON
select OF_GPIO
# For ARMv7 SoCs
+config PINCTRL_MT2701
+ bool "Mediatek MT2701 pin control" if COMPILE_TEST && !MACH_MT2701
+ depends on OF
+ default MACH_MT2701
+ select PINCTRL_MTK_COMMON
+
config PINCTRL_MT8135
bool "Mediatek MT8135 pin control" if COMPILE_TEST && !MACH_MT8135
depends on OF