dt-bindings: remoteproc: ti: Add mailbox provider nodes to example
Subsystems (2)
Rob Herring
maintainerPATCH v2 1/1 dt-bindings: remoteproc: ti: Add mailbox provider nodes to example
In order to make the 'mboxes' property in the TI remoteproc examples parseable, mailbox provider nodes are needed. Normally, the examples have a __fixup__ node which can be used for determining each phandle+arg entry. However, for this binding the arg cells contain a phandle, and the __fixups__ information can't be used.
---
v2: Fix the example rather than changing the schema which was correct
.../devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml | 8 ++++++++ .../devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml | 8 ++++++++ 2 files changed, 16 insertions(+)
Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml +8 -0
@@ -142,6 +142,14 @@ examples: #address-cells = <2>; #size-cells = <2>; + mailbox0_cluster3: mailbox-0 { + #mbox-cells = <1>; + }; + + mailbox0_cluster4: mailbox-1 { + #mbox-cells = <1>; + }; + bus@100000 { compatible = "simple-bus"; #address-cells = <2>;
Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml +8 -0
@@ -238,6 +238,14 @@ examples: #address-cells = <2>; #size-cells = <2>; + mailbox0: mailbox-0 { + #mbox-cells = <1>; + }; + + mailbox1: mailbox-1 { + #mbox-cells = <1>; + }; + bus@100000 { compatible = "simple-bus"; #address-cells = <2>;
Signature · 1 line
2.32.0
Quoted 6 lines · Rob Herring
In order to make the 'mboxes' property in the TI remoteproc examples parseable, mailbox provider nodes are needed. Normally, the examples have a
__fixup__node which can be used for determining each phandle+arg entry. However, for this binding the arg cells contain a phandle, and the__fixups__information can't be used.
Quoted 8 lines
Signed-off-by Rob Herring <[email protected]>---
v2: Fix the example rather than changing the schema which was correct.../devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml | 8 ++++++++ .../devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml | 8 ++++++++ 2 files changed, 16 insertions(+)
Applied, thanks!