提交 6df58e48 编写于 作者: S Stephen Boyd 提交者: Rob Herring

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: NAlexandru M Stan <amstan@chromium.org>
Signed-off-by: NStephen Boyd <swboyd@chromium.org>
Signed-off-by: NRob Herring <robh@kernel.org>
上级 146fa399
...@@ -22,10 +22,10 @@ controller node. This property is inherited, so it may be specified in an ...@@ -22,10 +22,10 @@ controller node. This property is inherited, so it may be specified in an
interrupt client node or in any of its parent nodes. Interrupts listed in the interrupt client node or in any of its parent nodes. Interrupts listed in the
"interrupts" property are always in reference to the node's interrupt parent. "interrupts" property are always in reference to the node's interrupt parent.
The "interrupts-extended" property is a special form for use when a node needs The "interrupts-extended" property is a special form; useful when a node needs
to reference multiple interrupt parents. Each entry in this property contains to reference multiple interrupt parents or a different interrupt parent than
both the parent phandle and the interrupt specifier. "interrupts-extended" the inherited one. Each entry in this property contains both the parent phandle
should only be used when a device has multiple interrupt parents. and the interrupt specifier.
Example: Example:
interrupts-extended = <&intc1 5 1>, <&intc2 1 0>; interrupts-extended = <&intc1 5 1>, <&intc2 1 0>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册