]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit622cf36aa8eb531dde8505a597091fa1862ec6f4
tree810f4b85c9089c3fd51dcb1d1f9b872c62972f6c
parent384ff7f1ffff6d64cadabd34a6c46ff74c885b7f
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