Skip to content

Commit

Permalink
pinctrl: mediatek: improve Kconfig dependencies
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ryder Lee authored and Linus Walleij committed Dec 21, 2018
1 parent d1040ea commit b5af33d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions drivers/pinctrl/mediatek/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ config PINCTRL_MTK
select OF_GPIO

config PINCTRL_MTK_MOORE
bool "MediaTek Moore Core that implements generic binding"
bool
depends on OF
select GENERIC_PINCONF
select GENERIC_PINCTRL_GROUPS
Expand All @@ -26,7 +26,7 @@ config PINCTRL_MTK_MOORE
select OF_GPIO

config PINCTRL_MTK_PARIS
bool "MediaTek Paris Core that implements vendor binding"
bool
depends on OF
select PINMUX
select GENERIC_PINCONF
Expand All @@ -45,14 +45,14 @@ config PINCTRL_MT2701
config PINCTRL_MT7623
bool "Mediatek MT7623 pin control with generic binding"
depends on MACH_MT7623 || COMPILE_TEST
depends on PINCTRL_MTK_MOORE
default y
default MACH_MT7623
select PINCTRL_MTK_MOORE

config PINCTRL_MT7629
bool "Mediatek MT7629 pin control"
depends on MACH_MT7629 || COMPILE_TEST
depends on PINCTRL_MTK_MOORE
default y
default MACH_MT7629
select PINCTRL_MTK_MOORE

config PINCTRL_MT8135
bool "Mediatek MT8135 pin control"
Expand Down Expand Up @@ -93,8 +93,8 @@ config PINCTRL_MT6797
config PINCTRL_MT7622
bool "MediaTek MT7622 pin control"
depends on ARM64 || COMPILE_TEST
depends on PINCTRL_MTK_MOORE
default y
default ARM64 && ARCH_MEDIATEK
select PINCTRL_MTK_MOORE

config PINCTRL_MT8173
bool "Mediatek MT8173 pin control"
Expand Down

0 comments on commit b5af33d

Please sign in to comment.