Skip to contentSkip to conversation

dt-bindings: soc/qcom: Add size constraints on "qcom,rpm-msg-ram"

PATCH Applied Rob Herring 3 participants 3 messages Jan 24, 2024 – Jan 28, 2024

Subsystems (3)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: soc/qcom: Add size constraints on "qcom,rpm-msg-ram"

The 'phandle-array' type is a bit ambiguous. It can be either just an array of phandles or an array of phandles plus args. "qcom,rpm-msg-ram" is the former and needs to constrain each entry to a single phandle value.

---
 .../devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml     | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml +2 -0
index 031800985b5e..9410404f87f1 100644
@@ -35,6 +35,8 @@ properties:
     description: Phandle to an RPM MSG RAM slice containing the master stats
     minItems: 1
     maxItems: 5
+    items:
+      maxItems: 1
 
   qcom,master-names:
     $ref: /schemas/types.yaml#/definitions/string-array
Signature · 1 line
2.43.0
maintainer Applied
#2 lore raw
In reply to Rob Herring
Quoted 5 lines · Rob Herring

The 'phandle-array' type is a bit ambiguous. It can be either just an array of phandles or an array of phandles plus args. "qcom,rpm-msg-ram" is the former and needs to constrain each entry to a single phandle value.

Applied, thanks!

[1/1] dt-bindings: soc/qcom: Add size constraints on "qcom,rpm-msg-ram"

      commit: 8796fa0f9a08359bb87e859d6010350a9d7da38f

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>