dt-bindings: reserved-memory: rmtfs: Make qcom,vmid an array
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Mon, 9 Jan 2023 13:05:21 +0000 (14:05 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 11 Jan 2023 04:55:28 +0000 (22:55 -0600)
Some SoCs mandate that the RMTFS is also assigned to the NAV VM, while
others really don't want that. Since it has to be conditional, turn
qcom,vmid into an u32 array so that we can handle the NAV case, as
well as other similar ones if they pop up in the future.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230109130523.298971-1-konrad.dybcio@linaro.org
Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml

index 2998f1c8f0dbcf25711b90f64393e5243b0deb98..08eb10c2582192343f85990d1fdd6a79be41731d 100644 (file)
@@ -27,9 +27,11 @@ properties:
       identifier of the client to use this region for buffers
 
   qcom,vmid:
-    $ref: /schemas/types.yaml#/definitions/uint32
+    $ref: /schemas/types.yaml#/definitions/uint32-array
     description: >
-      vmid of the remote processor, to set up memory protection
+      Array of vmids of the remote processors, to set up memory protection
+    minItems: 1
+    maxItems: 2
 
 required:
   - qcom,client-id