diff mbox series

[v2] dt-bindings: remoteproc: ti: Add mailbox provider nodes to example

Message ID 20220119181053.3846613-1-robh@kernel.org (mailing list archive)
State Not Applicable
Headers show
Series [v2] dt-bindings: remoteproc: ti: Add mailbox provider nodes to example | expand

Commit Message

Rob Herring (Arm) Jan. 19, 2022, 6:10 p.m. UTC
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.

Signed-off-by: Rob Herring <robh@kernel.org>
---
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(+)

Comments

Rob Herring (Arm) Jan. 31, 2022, 2:27 p.m. UTC | #1
On Wed, 19 Jan 2022 12:10:54 -0600, Rob Herring wrote:
> 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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> 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!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml
index 4323cefdf19b..cedbc5efdc56 100644
--- a/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml
@@ -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>;
diff --git a/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml
index 0f2bb06cb7b4..0868154a0364 100644
--- a/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml
@@ -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>;