dt-bindings: soc: qcom,apr: correct qcom,intents type
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 8 Feb 2023 10:15:43 +0000 (11:15 +0100)
committerBjorn Andersson <andersson@kernel.org>
Mon, 13 Mar 2023 20:00:39 +0000 (13:00 -0700)
The qcom,intents property is a list of pairs, thus it should be defined
as uint32-matrix.

Fixes: b2d7616e13c4 ("dt-bindings: soc: qcom: apr: add missing properties")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230208101545.45711-5-krzysztof.kozlowski@linaro.org
Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml

index 6026c21..4502458 100644 (file)
@@ -62,7 +62,14 @@ properties:
     maxItems: 1
 
   qcom,intents:
-    $ref: /schemas/types.yaml#/definitions/uint32-array
+    $ref: /schemas/types.yaml#/definitions/uint32-matrix
+    minItems: 1
+    maxItems: 32
+    items:
+      items:
+        - description: size of each intent to preallocate
+        - description: amount of intents to preallocate
+          minimum: 1
     description:
       List of (size, amount) pairs describing what intents should be
       preallocated for this virtual channel. This can be used to tweak the