linux/arch/arm/mach-davinci
Cyril Chemparathy c12f415a91 Davinci: gpio - register layout invariant inlines
This patch renders the inlined gpio accessors in gpio.h independent of the
underlying controller's register layout.  This is done by including three new
fields in davinci_gpio_controller to hold the addresses of the set, clear, and
in data registers.

Other changes:

1. davinci_gpio_regs structure definition moved to gpio.c.  This structure is
no longer common across all davinci socs (davinci_gpio_controller is).

2. controller base address calculation code (gpio2controller()) moved to
gpio.c as this was no longer necessary for the inline implementation.

3. modified inline range checks to use davinci_soc_info.gpio_num instead of
DAVINCI_N_GPIO.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Tested-by: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2010-05-06 15:02:08 -07:00
..
include/mach Davinci: gpio - register layout invariant inlines 2010-05-06 15:02:08 -07:00
board-da830-evm.c DA830 EVM: use DA8XX_AEMIF_*_BASE #define's 2010-05-06 15:02:06 -07:00
board-da850-evm.c Davinci: promote da8xx_pinmux_setup() 2010-05-06 15:02:04 -07:00
board-dm355-evm.c DaVinci: move AEMIF #define's to the proper headers 2010-05-06 15:02:06 -07:00
board-dm355-leopard.c DaVinci: move AEMIF #define's to the proper headers 2010-05-06 15:02:06 -07:00
board-dm365-evm.c DaVinci: move AEMIF #define's to the proper headers 2010-05-06 15:02:06 -07:00
board-dm644x-evm.c DaVinci: move IDE platform device to its proper place 2010-05-06 15:02:07 -07:00
board-dm646x-evm.c DaVinci: move IDE platform device to its proper place 2010-05-06 15:02:07 -07:00
board-neuros-osd2.c DaVinci: move IDE platform device to its proper place 2010-05-06 15:02:07 -07:00
board-sffsdr.c DaVinci: move AEMIF #define's to the proper headers 2010-05-06 15:02:06 -07:00
cdce949.c davinci: misc cleanups from sparse 2010-05-06 15:02:01 -07:00
clock.c Davinci: configurable pll divider mask 2010-05-06 15:02:07 -07:00
clock.h Davinci: configurable pll divider mask 2010-05-06 15:02:07 -07:00
common.c TI Davinci EMAC : Re-use driver for other platforms. 2010-02-04 13:29:50 -08:00
cp_intc.c Davinci: cpintc host map configuration 2010-05-06 15:02:04 -07:00
cpufreq.c davinci: DA850/OMAP-L138: avoid using separate initcall for initializing regulator 2009-11-25 10:21:37 -08:00
cpuidle.c davinci: cpuidle: move mapping of DDR2 controller registers out of driver 2010-02-04 13:29:38 -08:00
da830.c davinci: clkdev cleanup: remove clk_lookup wrapper, use clkdev_add_table() 2010-02-04 13:30:09 -08:00
da850.c davinci: clkdev cleanup: remove clk_lookup wrapper, use clkdev_add_table() 2010-02-04 13:30:09 -08:00
devices-da8xx.c davinci: da8xx/omap-l1xx: Add EDMA platform data for da850/omap-l138 2010-02-04 13:30:04 -08:00
devices.c DaVinci: move IDE platform device to its proper place 2010-05-06 15:02:07 -07:00
dm355.c davinci: misc cleanups from sparse 2010-05-06 15:02:01 -07:00
dm365.c davinci: DM365: Allow use of GPIO64_57 2010-05-06 15:02:06 -07:00
dm644x.c davinci: misc cleanups from sparse 2010-05-06 15:02:01 -07:00
dm646x.c DaVinci: move IDE platform device to its proper place 2010-05-06 15:02:07 -07:00
dma.c davinci: edma: clear interrupt status for interrupt enabled channels only 2010-05-06 15:02:02 -07:00
gpio.c Davinci: gpio - register layout invariant inlines 2010-05-06 15:02:08 -07:00
io.c ARM: Add caller information to ioremap 2010-02-15 21:39:11 +00:00
irq.c davinci: Move interrupt ctlr info to SoC infrastructure 2009-05-26 08:18:09 -07:00
Kconfig Davinci: allow SOCs based on other ARM CPUs 2010-05-06 15:02:03 -07:00
Makefile davinci: add CDCE949 support on DM6467 EVM 2010-02-04 13:29:59 -08:00
Makefile.boot davinci: da8xx: Add base DA830/OMAP-L137 SoC support 2009-08-26 10:56:59 +03:00
mux.c Davinci: promote da8xx_pinmux_setup() 2010-05-06 15:02:04 -07:00
mux.h davinci: update pin-multiplexing support 2009-04-27 09:49:46 -07:00
pm.c davinci: add power management support 2010-02-04 13:29:55 -08:00
psc.c Davinci: support LPSC SwRstDisable state 2010-05-06 15:02:04 -07:00
serial.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
sleep.S davinci: add power management support 2010-02-04 13:29:55 -08:00
sram.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
time.c Davinci: enable timer clock before use 2010-05-06 15:02:03 -07:00
usb.c DA8xx: MUSB platform device registration 2009-11-25 10:21:33 -08:00