summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/mediatek/Kconfig
diff options
context:
space:
mode:
authorZhiyong Tao <zhiyong.tao@mediatek.com>2018-09-08 13:07:33 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-09-18 23:53:25 +0200
commit805250982bb5c5ce4a6e52e1d87204c5feea0dd1 (patch)
tree94943bc865e0b63c1b94cd0c6aede9334d1191c9 /drivers/pinctrl/mediatek/Kconfig
parentpinctrl: mediatek: extend struct mtk_pin_desc which per-pin driver depends on (diff)
downloadlinux-805250982bb5c5ce4a6e52e1d87204c5feea0dd1.tar.xz
linux-805250982bb5c5ce4a6e52e1d87204c5feea0dd1.zip
pinctrl: mediatek: add pinctrl-paris that implements the vendor dt-bindings
Add pinctrl-paris core that implements vendor dt-binding which MediaTek tablet, box and smartphone-based SoCs such as MT81xx, MT27xx, and MT67xx SoCs really want to depend on. The driver is just completely rewritten according to pinctrl-mtk-common.c but uses the new logic from pinctrl-mtk-common-v2.c to have an elegant way to support new SoCs in the future. Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com> Signed-off-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/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
index 6124ef053b14..4a8086e4dd39 100644
--- a/drivers/pinctrl/mediatek/Kconfig
+++ b/drivers/pinctrl/mediatek/Kconfig
@@ -24,6 +24,15 @@ config PINCTRL_MTK_MOORE
select GPIOLIB
select OF_GPIO
+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
+
# For ARMv7 SoCs
config PINCTRL_MT2701
bool "Mediatek MT2701 pin control"