[PATCH] pinctrl: sunxi Ensure the correct pinctrl drivers are enabled
Hans de Goede
hdegoede at redhat.com
Thu May 8 06:36:56 PDT 2014
The commit titled: "pinctrl: sunxi: Introduce per-driver Kconfig options"
adds a bunch of new Kconfig options, but nothing sets them resulting in a
non working kernel. Since they are per sunxi family, and we already have
sunxi family Kconfig options, make those options select the necessary
Kconfig options.
Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
arch/arm/mach-sunxi/Kconfig | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 3aff966..beab32e 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -4,7 +4,6 @@ menuconfig ARCH_SUNXI
select CLKSRC_MMIO
select GENERIC_IRQ_CHIP
select PINCTRL
- select PINCTRL_SUNXI
select SUN4I_TIMER
if ARCH_SUNXI
@@ -12,11 +11,14 @@ if ARCH_SUNXI
config MACH_SUN4I
bool "Allwinner A10 (sun4i) SoCs support"
default ARCH_SUNXI
+ select PINCTRL_SUN4I_A10
config MACH_SUN5I
bool "Allwinner A10s / A13 (sun5i) SoCs support"
default ARCH_SUNXI
select SUN5I_HSTIMER
+ select PINCTRL_SUN5I_A10S
+ select PINCTRL_SUN5I_A13
config MACH_SUN6I
bool "Allwinner A31 (sun6i) SoCs support"
@@ -25,6 +27,7 @@ config MACH_SUN6I
select ARM_GIC
select RESET_CONTROLLER
select SUN5I_HSTIMER
+ select PINCTRL_SUN6I_A31
config MACH_SUN7I
bool "Allwinner A20 (sun7i) SoCs support"
@@ -33,5 +36,6 @@ config MACH_SUN7I
select ARM_PSCI
select HAVE_ARM_ARCH_TIMER
select SUN5I_HSTIMER
+ select PINCTRL_SUN7I_A20
endif
--
1.9.0
More information about the linux-arm-kernel
mailing list