summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/mediatek/Kconfig
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2017-05-01 15:54:34 +0800
committerLinus Walleij <linus.walleij@linaro.org>2017-05-22 10:39:25 +0200
commitceba43834d1059b460cd05f92eff08c3fe5627f4 (patch)
treef9e2b548cce3c9f5af03fb99c2e028d356dd0951 /drivers/pinctrl/mediatek/Kconfig
parentc21b4327426ee914a1b5a4cd46ca36f2119888d3 (diff)
downloadlwn-ceba43834d1059b460cd05f92eff08c3fe5627f4.tar.gz
lwn-ceba43834d1059b460cd05f92eff08c3fe5627f4.zip
pinctrl: mediatek: reuse pinctrl driver for mt7623
mt7623 pinctrl hardware can be compatible with mt2701 driver, so the patch lets the pinctrl on mt7623 SoC reuse the driver and deletes those redundant ones. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Acked-by: John Crispin <john@phrozen.org> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.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, 1 insertions, 8 deletions
diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
index 80fe3b48796c..fac9866311f3 100644
--- a/drivers/pinctrl/mediatek/Kconfig
+++ b/drivers/pinctrl/mediatek/Kconfig
@@ -11,18 +11,11 @@ config PINCTRL_MTK
# For ARMv7 SoCs
config PINCTRL_MT2701
bool "Mediatek MT2701 pin control"
- depends on MACH_MT2701 || COMPILE_TEST
+ depends on MACH_MT7623 || MACH_MT2701 || COMPILE_TEST
depends on OF
default MACH_MT2701
select PINCTRL_MTK
-config PINCTRL_MT7623
- bool "Mediatek MT7623 pin control"
- depends on MACH_MT7623 || COMPILE_TEST
- depends on OF
- default MACH_MT7623
- select PINCTRL_MTK_COMMON
-
config PINCTRL_MT8135
bool "Mediatek MT8135 pin control"
depends on MACH_MT8135 || COMPILE_TEST