]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc407133564dbed11458711137ef365274a09967c
tree75fa1a39e94203c5a85a61300578aaac4edfc9b1
parentf88f1f856980372a104717bc5ecd4de755ce5620
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