Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: reserved-memory: rmtfs: Make qcom,vmid an array

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

authored by

Konrad Dybcio and committed by
Bjorn Andersson
da0d37e4 1b929c02

+4 -2
+4 -2
Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml
··· 27 27 identifier of the client to use this region for buffers 28 28 29 29 qcom,vmid: 30 - $ref: /schemas/types.yaml#/definitions/uint32 30 + $ref: /schemas/types.yaml#/definitions/uint32-array 31 31 description: > 32 - vmid of the remote processor, to set up memory protection 32 + Array of vmids of the remote processors, to set up memory protection 33 + minItems: 1 34 + maxItems: 2 33 35 34 36 required: 35 37 - qcom,client-id