diff mbox series

[v2,1/4] dt-bindings: sram: Document qcom,rpm-msg-ram

Message ID 20210930182111.57353-2-bjorn.andersson@linaro.org
State New
Headers show
Series [v2,1/4] dt-bindings: sram: Document qcom,rpm-msg-ram | expand

Commit Message

Bjorn Andersson Sept. 30, 2021, 6:21 p.m. UTC
The Qualcomm SMEM binding always depended on a reference to a SRAM node
of compatible "qcom,rpm-msg-ram", document this as part of the SRAM
binding.

The SRAM is consumed as a whole and not split up using subnodes, so
properties related to this are not required.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>

---

Changes since v1:
- New patch, to resolve issue with the existing qcom,smem example

 Documentation/devicetree/bindings/sram/sram.yaml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.29.2

Comments

Rob Herring Oct. 6, 2021, 9:18 p.m. UTC | #1
On Thu, 30 Sep 2021 11:21:08 -0700, Bjorn Andersson wrote:
> The Qualcomm SMEM binding always depended on a reference to a SRAM node

> of compatible "qcom,rpm-msg-ram", document this as part of the SRAM

> binding.

> 

> The SRAM is consumed as a whole and not split up using subnodes, so

> properties related to this are not required.

> 

> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>

> ---

> 

> Changes since v1:

> - New patch, to resolve issue with the existing qcom,smem example

> 

>  Documentation/devicetree/bindings/sram/sram.yaml | 5 ++++-

>  1 file changed, 4 insertions(+), 1 deletion(-)

> 


Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/sram/sram.yaml b/Documentation/devicetree/bindings/sram/sram.yaml
index 3eda5049d183..e3311b54db33 100644
--- a/Documentation/devicetree/bindings/sram/sram.yaml
+++ b/Documentation/devicetree/bindings/sram/sram.yaml
@@ -31,6 +31,7 @@  properties:
         - amlogic,meson-gxbb-sram
         - arm,juno-sram-ns
         - atmel,sama5d2-securam
+        - qcom,rpm-msg-ram
         - rockchip,rk3288-pmu-sram
 
   reg:
@@ -135,7 +136,9 @@  if:
   properties:
     compatible:
       contains:
-        const: rockchip,rk3288-pmu-sram
+        enum:
+          - qcom,rpm-msg-ram
+          - rockchip,rk3288-pmu-sram
 
 else:
   required: