Skip to contentSkip to conversation

OMAP uses gpiolib

PATCH In review David Brownell 1 participant 1 message Oct 30, 2007

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

PATCH 1/2 OMAP uses gpiolib

Update OMAP to use the new GPIO implementation framework. This is just a quick'n'dirty update; more code could now be removed. Plus, it might be best to clean up the entire OMAP GPIO infrastructure ...

This also fixes some spinlock issues reported by the spinlock validator, which is now (again?) running on ARM.

---
 arch/arm/Kconfig                 |    1 
 arch/arm/plat-omap/gpio.c        |  138 +++++++++++++++++++++++++++++----------
 include/asm-arm/arch-omap/gpio.h |   57 ++++------------
 3 files changed, 123 insertions(+), 73 deletions(-)
arch/arm/Kconfig +1 -0
@@ -406,6 +406,7 @@ config ARCH_OMAP
 	bool "TI OMAP"
 	select GENERIC_GPIO
 	select GENERIC_TIME
+	select GPIO_LIB
 	help
 	  Support for TI's OMAP platform (OMAP1 and OMAP2).
 
arch/arm/plat-omap/gpio.c +106 -32

298 lines not on this page · raw message

include/asm-arm/arch-omap/gpio.h +16 -41

78 lines not on this page · raw message