summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/mediatek/Kconfig
diff options
context:
space:
mode:
authorZhiyong Tao <zhiyong.tao@mediatek.com>2018-03-22 03:58:41 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-03-26 10:53:39 +0200
commit8670710ff8feda2183474f5e0e9cbb4071761e47 (patch)
tree830e85bfe02b54b56658654e136647d3e20ccc0a /drivers/pinctrl/mediatek/Kconfig
parentpinctrl: pinctrl-single: Fix pcs_request_gpio() when bits_per_mux != 0 (diff)
downloadlinux-8670710ff8feda2183474f5e0e9cbb4071761e47.tar.xz
linux-8670710ff8feda2183474f5e0e9cbb4071761e47.zip
pinctrl: add mt2712 pinctrl driver
The commit includes mt2712 pinctrl driver. Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com> Reviewed-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mediatek/Kconfig')
-rw-r--r--drivers/pinctrl/mediatek/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
index 3e598740b379..862c5dbc6977 100644
--- a/drivers/pinctrl/mediatek/Kconfig
+++ b/drivers/pinctrl/mediatek/Kconfig
@@ -32,6 +32,13 @@ config PINCTRL_MT8127
select PINCTRL_MTK
# For ARMv8 SoCs
+config PINCTRL_MT2712
+ bool "MediaTek MT2712 pin control"
+ depends on OF
+ depends on ARM64 || COMPILE_TEST
+ default ARM64 && ARCH_MEDIATEK
+ select PINCTRL_MTK
+
config PINCTRL_MT7622
bool "MediaTek MT7622 pin control"
depends on OF