dt-bindings: remoteproc: qcom,sm6115-pas: correct memory-region constraints
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 13 Jul 2023 07:22:40 +0000 (09:22 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sat, 15 Jul 2023 17:36:07 +0000 (10:36 -0700)
Qualcomm PAS devices expect exactly one memory region, not many.  Also,
the memory-region is now defined in device specific binding, not in
qcom,pas-common.yaml, thus also require it in the same place.

Fixes: 838c558bb8bc ("dt-bindings: remoteproc: qcom: Add sm6115 pas yaml file")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230713072242.11268-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml

index f5d1fa9..1ac5b99 100644 (file)
@@ -32,7 +32,7 @@ properties:
       - const: xo
 
   memory-region:
-    minItems: 1
+    maxItems: 1
     description: Reference to the reserved-memory for the Hexagon core
 
   smd-edge: false
@@ -44,6 +44,7 @@ properties:
 required:
   - compatible
   - reg
+  - memory-region
 
 allOf:
   - $ref: /schemas/remoteproc/qcom,pas-common.yaml#