linux/arch/arm/mach-davinci
Mark A. Greer a994955cc0 davinci: Make GPIO code more generic
The current gpio code needs to know the number of
gpio irqs there are and what the bank irq number is.
To determine those values, it checks the SoC type.

It also assumes that the base address and the number
of irqs the interrupt controller uses is fixed.

To clean up the SoC checks and make it support
different base addresses and interrupt controllers,
have the SoC-specific code set those values in
the soc_info structure and have the gpio code
reference them there.

Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-05-28 15:16:30 -07:00
..
include/mach davinci: Make GPIO code more generic 2009-05-28 15:16:30 -07:00
board-dm355-evm.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
board-dm355-leopard.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
board-dm644x-evm.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
board-dm646x-evm.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
board-sffsdr.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
clock.c davinci: Add support for multiple PSCs 2009-05-26 08:16:46 -07:00
clock.h davinci: Add support for multiple PSCs 2009-05-26 08:16:46 -07:00
common.c davinci: Move interrupt ctlr info to SoC infrastructure 2009-05-26 08:18:09 -07:00
cp_intc.c davinci: INTC: add support for TI cp_intc 2009-05-26 07:18:14 -07:00
devices.c davinci: Add watchdog base address flexibility 2009-05-26 08:20:31 -07:00
dm355.c davinci: Make GPIO code more generic 2009-05-28 15:16:30 -07:00
dm644x.c davinci: Make GPIO code more generic 2009-05-28 15:16:30 -07:00
dm646x.c davinci: Make GPIO code more generic 2009-05-28 15:16:30 -07:00
dma.c davinci: add EDMA driver 2009-04-27 09:49:42 -07:00
gpio.c davinci: Make GPIO code more generic 2009-05-28 15:16:30 -07:00
io.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
irq.c davinci: Move interrupt ctlr info to SoC infrastructure 2009-05-26 08:18:09 -07:00
Kconfig davinci: DM646x: add base SoC and board support 2009-05-26 07:18:15 -07:00
Makefile davinci: Support JTAG ID register at any address 2009-05-26 08:14:56 -07:00
Makefile.boot [ARM] 4303/3: base kernel support for TI DaVinci 2007-05-11 17:26:55 +01:00
mux.c davinci: Move pinmux setup info to SoC infrastructure 2009-05-26 08:17:16 -07:00
mux.h davinci: update pin-multiplexing support 2009-04-27 09:49:46 -07:00
psc.c davinci: Add support for multiple PSCs 2009-05-26 08:16:46 -07:00
serial.c davinci: serial: generalize for more SoCs 2009-04-27 09:49:45 -07:00
time.c davinci: Add watchdog base address flexibility 2009-05-26 08:20:31 -07:00
usb.c davinci: add arch_ioremap() which uses existing static mappings 2009-04-23 09:31:09 -07:00