of/irq: Add interrupts-names property to name an irq resource
authorBenoit Cousson <b-cousson@ti.com>
Mon, 5 Dec 2011 14:23:56 +0000 (15:23 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 4 Jan 2012 07:33:15 +0000 (00:33 -0700)
commit661db794eb8179c7bea02f159bb691a2fff4a8e0
tree810f4b85c9089c3fd51dcb1d1f9b872c62972f6c
parent35f3da32af0e8970cc41288d4a7e3bd32399900e
of/irq: Add interrupts-names property to name an irq resource

Add a interrupts-names property to allow the possibility to provide a name
to any interrupts entries.  If the name is available, use it to name the
resource, otherwise keep the device full name.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
[grant.likely: use "interrupt-names" and tidy documentation]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Documentation/devicetree/bindings/resource-names.txt
drivers/of/irq.c