gpio/omap: Add DT support to GPIO driver
authorBenoit Cousson <b-cousson@ti.com>
Tue, 16 Aug 2011 09:53:02 +0000 (11:53 +0200)
committerBenoit Cousson <b-cousson@ti.com>
Mon, 5 Mar 2012 22:02:53 +0000 (23:02 +0100)
commit384ebe1c2849160d040df3e68634ec506f13d9ff
tree75fa1a39e94203c5a85a61300578aaac4edfc9b1
parent96751fcbe5438e95514b025e9cee7a6d38038f40
gpio/omap: Add DT support to GPIO driver

Adapt the GPIO driver to retrieve information from a DT file.

Allocate the irq_base dynamically and rename bank->virtual_irq_start
to bank->irq_base.
Change irq_base type to int instead of u16 to match irq_alloc_descs
output.

Add documentation for GPIO properties specific to OMAP.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Documentation/devicetree/bindings/gpio/gpio-omap.txt [new file with mode: 0644]
drivers/gpio/gpio-omap.c