提交 b9a4e155 编写于 作者: M Masahiro Yamada 提交者: Linus Walleij

pinctrl: uniphier: rework UniPhier pinctrl entries in Kconfig

There is a plan to support more pinctrl drivers for this SoC family.
Move the driver entries into a sub menu by using "menuconfig".
Also, add the missing dependency "depends on OF && MFD_SYSCON".
Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 eb9610f3
if ARCH_UNIPHIER menuconfig PINCTRL_UNIPHIER
bool "UniPhier SoC pinctrl drivers"
config PINCTRL_UNIPHIER depends on ARCH_UNIPHIER
bool depends on OF && MFD_SYSCON
default y
select PINMUX select PINMUX
select GENERIC_PINCONF select GENERIC_PINCONF
if PINCTRL_UNIPHIER
config PINCTRL_UNIPHIER_PH1_LD4 config PINCTRL_UNIPHIER_PH1_LD4
tristate "UniPhier PH1-LD4 SoC pinctrl driver" tristate "UniPhier PH1-LD4 SoC pinctrl driver"
select PINCTRL_UNIPHIER default y
config PINCTRL_UNIPHIER_PH1_PRO4 config PINCTRL_UNIPHIER_PH1_PRO4
tristate "UniPhier PH1-Pro4 SoC pinctrl driver" tristate "UniPhier PH1-Pro4 SoC pinctrl driver"
select PINCTRL_UNIPHIER default y
config PINCTRL_UNIPHIER_PH1_SLD8 config PINCTRL_UNIPHIER_PH1_SLD8
tristate "UniPhier PH1-sLD8 SoC pinctrl driver" tristate "UniPhier PH1-sLD8 SoC pinctrl driver"
select PINCTRL_UNIPHIER default y
config PINCTRL_UNIPHIER_PH1_PRO5 config PINCTRL_UNIPHIER_PH1_PRO5
tristate "UniPhier PH1-Pro5 SoC pinctrl driver" tristate "UniPhier PH1-Pro5 SoC pinctrl driver"
select PINCTRL_UNIPHIER default y
config PINCTRL_UNIPHIER_PROXSTREAM2 config PINCTRL_UNIPHIER_PROXSTREAM2
tristate "UniPhier ProXstream2 SoC pinctrl driver" tristate "UniPhier ProXstream2 SoC pinctrl driver"
select PINCTRL_UNIPHIER default y
config PINCTRL_UNIPHIER_PH1_LD6B config PINCTRL_UNIPHIER_PH1_LD6B
tristate "UniPhier PH1-LD6b SoC pinctrl driver" tristate "UniPhier PH1-LD6b SoC pinctrl driver"
select PINCTRL_UNIPHIER default y
endif endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册