linux/arch/arm/mach-davinci/include/mach
KV Sujith 118150f22d gpio: davinci: move to platform device
Modify DaVinci GPIO driver to become a platform device
driver.

The driver does not have platform driver structure or
a probe. Instead, it has pure_initcall function for
initialization. The platform specific informaiton is
obtained using the DaVinci specific davinci_soc_info
structure. This is a problem for Device Tree (DT)
implementation.

As a first stage of DT conversion, we implement a probe.

Additional notes:

- The driver registration happens as  postcore_initcall.
  This is required since machine init functions like
  da850_lcd_hw_init() make use of GPIO.
- Start using devres APIs for simpler error handling.

Signed-off-by: KV Sujith <sujithkv@ti.com>
[avinashphilip@ti.com: Move global definition of
		       "davinci_gpio_controller" to local]
Signed-off-by: Philip Avinash <avinashphilip@ti.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
[nsekhar@ti.com: drop unused structure member, rebase to new
		 clean-up patch and fix error messages]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
2013-09-24 10:31:51 +05:30
..
cdce949.h
clock.h ARM: davinci: psc: introduce reset API 2013-01-22 17:42:59 +05:30
common.h ARM: davinci: serial: remove davinci_serial_setup_clk() 2013-08-22 00:38:59 +05:30
cp_intc.h ARM: davinci: remove __init atrribute from function declaration 2013-06-14 10:53:35 +05:30
cpufreq.h
cpuidle.h
cputype.h Fix common misspellings 2011-03-31 11:26:23 -03:00
da8xx.h ARM: davinci: uart: move to devid based clk_get 2013-07-22 15:34:55 +05:30
ddr2.h ARM: mach-davinci: remove mach/memory.h 2011-10-13 12:49:47 -04:00
entry-macro.S ARM: davinci: da8xx: fix interrupt handling 2012-07-09 16:01:11 +05:30
gpio-davinci.h gpio: davinci: move to platform device 2013-09-24 10:31:51 +05:30
gpio.h ARM: 7142/1: davinci: mark GPIO implementation complex 2011-11-05 19:09:47 +00:00
hardware.h ARM: davinci: implement DEBUG_LL port choice 2012-05-09 17:06:41 +05:30
irqs.h
mux.h [media] ARM: davinci: da850: Add SoC related definitions for VPIF 2012-10-05 21:58:35 -03:00
pm.h
psc.h ARM: davinci: psc: introduce reset API 2013-01-22 17:42:59 +05:30
serial.h ARM: davinci: serial: remove davinci_serial_setup_clk() 2013-08-22 00:38:59 +05:30
sram.h ARM: davinci: add platform hook to fetch the SRAM pool 2012-10-27 16:28:35 +05:30
time.h
timex.h
tnetv107x.h ARM: davinci: serial: get rid of davinci_uart_config 2013-08-22 00:38:59 +05:30
uncompress.h ARM: remove unused arch_decomp_wdog() 2013-01-11 10:54:03 +08:00