dt-bindings: soc/qcom: Add size constraints on "qcom,rpm-msg-ram"
authorRob Herring <robh@kernel.org>
Wed, 24 Jan 2024 19:07:44 +0000 (13:07 -0600)
committerBjorn Andersson <andersson@kernel.org>
Sat, 27 Jan 2024 22:54:45 +0000 (16:54 -0600)
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.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240124190744.1554625-1-robh@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Documentation/devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml

index 0318009..9410404 100644 (file)
@@ -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