All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: remoteproc: ti: Add mailbox provider nodes to example
@ 2022-01-19 18:10 Rob Herring
  2022-01-31 14:27 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2022-01-19 18:10 UTC (permalink / raw)
  To: Bjorn Andersson, Mathieu Poirier, Suman Anna
  Cc: linux-remoteproc, devicetree, linux-kernel

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(+)

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>;
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] dt-bindings: remoteproc: ti: Add mailbox provider nodes to example
  2022-01-19 18:10 [PATCH v2] dt-bindings: remoteproc: ti: Add mailbox provider nodes to example Rob Herring
@ 2022-01-31 14:27 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2022-01-31 14:27 UTC (permalink / raw)
  To: Rob Herring
  Cc: linux-kernel, Mathieu Poirier, Suman Anna, Bjorn Andersson,
	devicetree, linux-remoteproc

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-31 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19 18:10 [PATCH v2] dt-bindings: remoteproc: ti: Add mailbox provider nodes to example Rob Herring
2022-01-31 14:27 ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.