dt-bindings: sram: Document qcom,rpm-msg-ram
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 30 Sep 2021 18:21:08 +0000 (11:21 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 15 Oct 2021 00:57:16 +0000 (19:57 -0500)
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>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Link: https://lore.kernel.org/r/20210930182111.57353-2-bjorn.andersson@linaro.org
Documentation/devicetree/bindings/sram/sram.yaml

index 3eda5049d183b0ba1e2fe1fbe4944ae860cf8e2f..e3311b54db339269772a050f26b486f12e87932e 100644 (file)
@@ -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: