diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-11-24 01:00:45 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-12-01 04:36:28 -0500 |
commit | b9a4e155458c73f125a248c963665a8df982496f (patch) | |
tree | 5f1e7eef36d7d9ce573afc1ffbf668ce8ea67b78 /drivers/pinctrl/uniphier | |
parent | eb9610f3d48081528f0d0e35e29b28ad1de6dac6 (diff) |
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: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/uniphier')
-rw-r--r-- | drivers/pinctrl/uniphier/Kconfig | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/drivers/pinctrl/uniphier/Kconfig b/drivers/pinctrl/uniphier/Kconfig index ad907072e09f..7abd614dc383 100644 --- a/drivers/pinctrl/uniphier/Kconfig +++ b/drivers/pinctrl/uniphier/Kconfig | |||
@@ -1,32 +1,35 @@ | |||
1 | if ARCH_UNIPHIER | 1 | menuconfig PINCTRL_UNIPHIER |
2 | 2 | bool "UniPhier SoC pinctrl drivers" | |
3 | config PINCTRL_UNIPHIER | 3 | depends on ARCH_UNIPHIER |
4 | bool | 4 | depends on OF && MFD_SYSCON |
5 | default y | ||
5 | select PINMUX | 6 | select PINMUX |
6 | select GENERIC_PINCONF | 7 | select GENERIC_PINCONF |
7 | 8 | ||
9 | if PINCTRL_UNIPHIER | ||
10 | |||
8 | config PINCTRL_UNIPHIER_PH1_LD4 | 11 | config PINCTRL_UNIPHIER_PH1_LD4 |
9 | tristate "UniPhier PH1-LD4 SoC pinctrl driver" | 12 | tristate "UniPhier PH1-LD4 SoC pinctrl driver" |
10 | select PINCTRL_UNIPHIER | 13 | default y |
11 | 14 | ||
12 | config PINCTRL_UNIPHIER_PH1_PRO4 | 15 | config PINCTRL_UNIPHIER_PH1_PRO4 |
13 | tristate "UniPhier PH1-Pro4 SoC pinctrl driver" | 16 | tristate "UniPhier PH1-Pro4 SoC pinctrl driver" |
14 | select PINCTRL_UNIPHIER | 17 | default y |
15 | 18 | ||
16 | config PINCTRL_UNIPHIER_PH1_SLD8 | 19 | config PINCTRL_UNIPHIER_PH1_SLD8 |
17 | tristate "UniPhier PH1-sLD8 SoC pinctrl driver" | 20 | tristate "UniPhier PH1-sLD8 SoC pinctrl driver" |
18 | select PINCTRL_UNIPHIER | 21 | default y |
19 | 22 | ||
20 | config PINCTRL_UNIPHIER_PH1_PRO5 | 23 | config PINCTRL_UNIPHIER_PH1_PRO5 |
21 | tristate "UniPhier PH1-Pro5 SoC pinctrl driver" | 24 | tristate "UniPhier PH1-Pro5 SoC pinctrl driver" |
22 | select PINCTRL_UNIPHIER | 25 | default y |
23 | 26 | ||
24 | config PINCTRL_UNIPHIER_PROXSTREAM2 | 27 | config PINCTRL_UNIPHIER_PROXSTREAM2 |
25 | tristate "UniPhier ProXstream2 SoC pinctrl driver" | 28 | tristate "UniPhier ProXstream2 SoC pinctrl driver" |
26 | select PINCTRL_UNIPHIER | 29 | default y |
27 | 30 | ||
28 | config PINCTRL_UNIPHIER_PH1_LD6B | 31 | config PINCTRL_UNIPHIER_PH1_LD6B |
29 | tristate "UniPhier PH1-LD6b SoC pinctrl driver" | 32 | tristate "UniPhier PH1-LD6b SoC pinctrl driver" |
30 | select PINCTRL_UNIPHIER | 33 | default y |
31 | 34 | ||
32 | endif | 35 | endif |