aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl/sunxi/Kconfig
diff options
context:
space:
mode:
authorGravatar Hans de Goede <hdegoede@redhat.com> 2014-12-17 18:18:13 +0100
committerGravatar Linus Walleij <linus.walleij@linaro.org> 2015-01-14 14:21:52 +0100
commit47cf4b326cb31f55b0773023560bbe51aa82aa14 (patch)
tree1293682edb87aa284b5956138778555ae7a61cc2 /drivers/pinctrl/sunxi/Kconfig
parentpinctrl: sun6i: Add some missing functions (diff)
downloadlinux-47cf4b326cb31f55b0773023560bbe51aa82aa14.tar.gz
linux-47cf4b326cb31f55b0773023560bbe51aa82aa14.tar.bz2
linux-47cf4b326cb31f55b0773023560bbe51aa82aa14.zip
pinctrl: sun6i: Add A31s pinctrl support
The A31s is a stripped down version of the A31, as such it is missing some pins and some functions on some pins. The new pinctrl-sun6i-a31s.c this commit adds is a copy of pinctrl-sun6i-a31s.c with the missing pins and functions removed. Note there is no a31s specific version of pinctrl-sun6i-a31-r.c, as the prcm pins are identical between the A31 and the A31s. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunxi/Kconfig')
-rw-r--r--drivers/pinctrl/sunxi/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pinctrl/sunxi/Kconfig b/drivers/pinctrl/sunxi/Kconfig
index 230a952608cb..2eb893e0ea1e 100644
--- a/drivers/pinctrl/sunxi/Kconfig
+++ b/drivers/pinctrl/sunxi/Kconfig
@@ -21,6 +21,10 @@ config PINCTRL_SUN6I_A31
def_bool MACH_SUN6I
select PINCTRL_SUNXI_COMMON
+config PINCTRL_SUN6I_A31S
+ def_bool MACH_SUN6I
+ select PINCTRL_SUNXI_COMMON
+
config PINCTRL_SUN6I_A31_R
def_bool MACH_SUN6I
depends on RESET_CONTROLLER