Skip to contentSkip to conversation

GPIO: i.MX: Rewrite driver for using generic GPIO code

RFC New Alexander Shiyan 1 participant 1 message Jun 9, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

RFC v2 1/1 GPIO: i.MX: Rewrite driver for using generic GPIO code

---
 arch/arm/Kconfig        |   1 -
 drivers/gpio/Kconfig    |   1 +
 drivers/gpio/gpio-imx.c | 130 ++++++++++++------------------------------------
 3 files changed, 33 insertions(+), 99 deletions(-)
arch/arm/Kconfig +0 -1
index cfb82b0..06ba6c4 100644
@@ -72,7 +72,6 @@ config ARCH_HIGHBANK
 
 config ARCH_IMX
 	bool "Freescale iMX-based"
-	select GENERIC_GPIO
 	select GPIOLIB
 	select COMMON_CLK
 	select CLKDEV_LOOKUP
drivers/gpio/Kconfig +1 -0
index e976db4..051af14 100644
@@ -29,6 +29,7 @@ config GPIO_GENERIC_PLATFORM
 
 config GPIO_IMX
 	def_bool ARCH_IMX
+	select GPIO_GENERIC
 
 config GPIO_PL061
 	bool "PrimeCell PL061 GPIO support"
drivers/gpio/gpio-imx.c +32 -98

166 lines not on this page · raw message

Signature · 7 lines
1.8.1.5


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox