gpio: pl061: add DT binding support
authorRob Herring <rob.herring@calxeda.com>
Wed, 10 Aug 2011 21:31:46 +0000 (16:31 -0500)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 26 Oct 2011 21:15:28 +0000 (23:15 +0200)
commit76c05c8a0d56faf210cb9681786bb3e17cd59793
tree7397414a99102c283be83d5ac1928878ae3c1b12
parenteb9ae7f2a38135761496d317c08c87f38c7cafe3
gpio: pl061: add DT binding support

This adds devicetree binding support to the ARM pl061 driver removing the
platform_data dependency. When DT binding is used, the gpio numbering is
assigned dynamically. For now, interrupts are not supported with DT until
irqdomains learn dynamic irq assignment.

Rather than add another case of -1, updating the driver to use NO_IRQ.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-pl061.c
include/linux/amba/pl061.h