[PATCH 1/8] of/irq: Create stub for of_irq_find_parent when !CONFIG_OF

From
Linus Walleij <hidden>
Date
2012-08-14 08:17:12
Also in
linux-devicetree, lkml
Reply to
Lee Jones, 2012-08-09
On Thu, Aug 9, 2012 at 5:53 PM, Lee Jones [off-list ref] wrote:
of_irq_find_parent is a handy function to use outside the confines of
the Open Firmware subsystem. One such use-case is when the IRQ Domain
wishes to find an IRQ domain for a given device node. Currently it can
not take any notice of the 'interrupt-parent' property. Instead it
just uses the first IRQ controller as it climbs the Device Tree. If
we were to use this as a precursor the resultant controller is more
likely to be correct.

CC: Rob Herring <redacted>
CC: devicetree-discuss at lists.ozlabs.org
Signed-off-by: Lee Jones <redacted>
This is clever.

Acked-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Thread (50 messages) 50 messages, 7 authors, 2012-09-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help