Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: Clarify interrupts-extended usage

Reading the description about when to use interrupts-extended leads some
developers to think that it shouldn't be used unless a device has
interrupts from more than one interrupt controller. This isn't true. We
should encourage devicetree writers to use this property in situations
where it isn't the inherited interrupt-parent so that we have less
properties in a DT node by virtue of not having to specify an
interrupt-parent and an interrupts property.

Reported-by: Alexandru M Stan <amstan@chromium.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Stephen Boyd and committed by
Rob Herring
6df58e48 146fa399

+4 -4
+4 -4
Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
··· 22 22 interrupt client node or in any of its parent nodes. Interrupts listed in the 23 23 "interrupts" property are always in reference to the node's interrupt parent. 24 24 25 - The "interrupts-extended" property is a special form for use when a node needs 26 - to reference multiple interrupt parents. Each entry in this property contains 27 - both the parent phandle and the interrupt specifier. "interrupts-extended" 28 - should only be used when a device has multiple interrupt parents. 25 + The "interrupts-extended" property is a special form; useful when a node needs 26 + to reference multiple interrupt parents or a different interrupt parent than 27 + the inherited one. Each entry in this property contains both the parent phandle 28 + and the interrupt specifier. 29 29 30 30 Example: 31 31 interrupts-extended = <&intc1 5 1>, <&intc2 1 0>;