summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sunxi/Kconfig
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-04-26 17:06:57 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-05-05 02:41:44 +0200
commit340ba6c4973184e2a9a7c51b295230fec17d1109 (patch)
treeeb4cd03d6459d204277588176bda2120e3a4410e /drivers/pinctrl/sunxi/Kconfig
parentpinctrl: sunxi: Move Allwinner A20 pinctrl driver to a driver of its own (diff)
downloadlinux-340ba6c4973184e2a9a7c51b295230fec17d1109.tar.xz
linux-340ba6c4973184e2a9a7c51b295230fec17d1109.zip
pinctrl: sunxi: Introduce per-driver Kconfig options
Add one Kconfig option for each driver. This will allow to better control which driver is enabled, instead of having either all or nothing. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/pinctrl/sunxi/Kconfig')
-rw-r--r--drivers/pinctrl/sunxi/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/pinctrl/sunxi/Kconfig b/drivers/pinctrl/sunxi/Kconfig
index 9d7d5106d85a..3940d098d6cb 100644
--- a/drivers/pinctrl/sunxi/Kconfig
+++ b/drivers/pinctrl/sunxi/Kconfig
@@ -5,4 +5,28 @@ config PINCTRL_SUNXI
select PINMUX
select GENERIC_PINCONF
+config PINCTRL_SUN4I_A10
+ bool
+ select PINCTRL_SUNXI
+
+config PINCTRL_SUN5I_A10S
+ bool
+ select PINCTRL_SUNXI
+
+config PINCTRL_SUN5I_A13
+ bool
+ select PINCTRL_SUNXI
+
+config PINCTRL_SUN6I_A31
+ bool
+ select PINCTRL_SUNXI
+
+config PINCTRL_SUN6I_A31_R
+ bool
+ select PINCTRL_SUNXI
+
+config PINCTRL_SUN7I_A20
+ bool
+ select PINCTRL_SUNXI
+
endif