]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94d7270b5215627d832718a709d14b48b78e7920
tree7397414a99102c283be83d5ac1928878ae3c1b12
parent5561bbf58948f73a594e51f1ae29e6e52ebd9dbf
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