DORMANTno replies

[PATCH 5/5 v2] ARM: integrator: select AMBA bus and GPIO block

From: Linus Walleij <hidden>
Date: 2014-01-22 13:49:36
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

The Integrator/AP can be used with a logic module called
IM-PD1, which contains a few AMBA PrimeCell devices, one of which
is the PL061 GPIO controller. As the lines from this GPIO
controller are looped back to devices on the board itself and
provides resources back to it, we need to always have GPIO
and the PL061 driver available for other devices to work.

Cc: Russell King <redacted>
Signed-off-by: Linus Walleij <redacted>
---
ChangeLog v1->v2:
- Drop selection of ARM_AMBA as this is already done by the
  parent ARCH_INTEGRATOR symbol.
---
 arch/arm/mach-integrator/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-integrator/Kconfig b/arch/arm/mach-integrator/Kconfig
index 46be99007529..6e8b0e10b420 100644
--- a/arch/arm/mach-integrator/Kconfig
+++ b/arch/arm/mach-integrator/Kconfig
@@ -30,7 +30,9 @@ config ARCH_CINTEGRATOR
 config INTEGRATOR_IMPD1
 	tristate "Include support for Integrator/IM-PD1"
 	depends on ARCH_INTEGRATOR_AP
+	select ARCH_REQUIRE_GPIOLIB
 	select ARM_VIC
+	select GPIO_PL061 if GPIOLIB
 	help
 	  The IM-PD1 is an add-on logic module for the Integrator which
 	  allows ARM(R) Ltd PrimeCells to be developed and evaluated.
-- 
1.8.4.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help