summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/mediatek
diff options
context:
space:
mode:
authorRyder Lee <ryder.lee@mediatek.com>2018-12-12 21:27:50 -0500
committerLinus Walleij <linus.walleij@linaro.org>2018-12-21 05:16:30 -0500
commitb5af33df50e91f7c79c050ec73062577b9d0dae3 (patch)
tree10efafcf791f0730ab6524fbca0602db1c482c91 /drivers/pinctrl/mediatek
parentd1040ea06f0004fe22e881a8fe88db12ef83b98c (diff)
pinctrl: mediatek: improve Kconfig dependencies
Remove prompts to make all pinctrl cores to non-visible symbols and make sure the target SoCs would be coupled with the corresponding cores. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com Acked-by: Sean Wang <sean.wang@kernel.org> Tested-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mediatek')
-rw-r--r--drivers/pinctrl/mediatek/Kconfig16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
index d8cb5840724e..1817786ab6aa 100644
--- a/drivers/pinctrl/mediatek/Kconfig
+++ b/drivers/pinctrl/mediatek/Kconfig
@@ -17,7 +17,7 @@ config PINCTRL_MTK
17 select OF_GPIO 17 select OF_GPIO
18 18
19config PINCTRL_MTK_MOORE 19config PINCTRL_MTK_MOORE
20 bool "MediaTek Moore Core that implements generic binding" 20 bool
21 depends on OF 21 depends on OF
22 select GENERIC_PINCONF 22 select GENERIC_PINCONF
23 select GENERIC_PINCTRL_GROUPS 23 select GENERIC_PINCTRL_GROUPS
@@ -26,7 +26,7 @@ config PINCTRL_MTK_MOORE
26 select OF_GPIO 26 select OF_GPIO
27 27
28config PINCTRL_MTK_PARIS 28config PINCTRL_MTK_PARIS
29 bool "MediaTek Paris Core that implements vendor binding" 29 bool
30 depends on OF 30 depends on OF
31 select PINMUX 31 select PINMUX
32 select GENERIC_PINCONF 32 select GENERIC_PINCONF
@@ -45,14 +45,14 @@ config PINCTRL_MT2701
45config PINCTRL_MT7623 45config PINCTRL_MT7623
46 bool "Mediatek MT7623 pin control with generic binding" 46 bool "Mediatek MT7623 pin control with generic binding"
47 depends on MACH_MT7623 || COMPILE_TEST 47 depends on MACH_MT7623 || COMPILE_TEST
48 depends on PINCTRL_MTK_MOORE 48 default MACH_MT7623
49 default y 49 select PINCTRL_MTK_MOORE
50 50
51config PINCTRL_MT7629 51config PINCTRL_MT7629
52 bool "Mediatek MT7629 pin control" 52 bool "Mediatek MT7629 pin control"
53 depends on MACH_MT7629 || COMPILE_TEST 53 depends on MACH_MT7629 || COMPILE_TEST
54 depends on PINCTRL_MTK_MOORE 54 default MACH_MT7629
55 default y 55 select PINCTRL_MTK_MOORE
56 56
57config PINCTRL_MT8135 57config PINCTRL_MT8135
58 bool "Mediatek MT8135 pin control" 58 bool "Mediatek MT8135 pin control"
@@ -93,8 +93,8 @@ config PINCTRL_MT6797
93config PINCTRL_MT7622 93config PINCTRL_MT7622
94 bool "MediaTek MT7622 pin control" 94 bool "MediaTek MT7622 pin control"
95 depends on ARM64 || COMPILE_TEST 95 depends on ARM64 || COMPILE_TEST
96 depends on PINCTRL_MTK_MOORE 96 default ARM64 && ARCH_MEDIATEK
97 default y 97 select PINCTRL_MTK_MOORE
98 98
99config PINCTRL_MT8173 99config PINCTRL_MT8173
100 bool "Mediatek MT8173 pin control" 100 bool "Mediatek MT8173 pin control"