]> 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)
commit063bb6d66c69776aab5f05f28c52aa3404802c72
tree7397414a99102c283be83d5ac1928878ae3c1b12
parent231ad405cb21edca6535c780ca20b1fb02efcc78
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