mirror of
https://github.com/torvalds/linux.git
synced 2026-04-24 09:35:52 -04:00
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
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: "http://devicetree.org/schemas/reserved-memory/qcom,rmtfs-mem.yaml#"
|
|
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
|
|
|
title: Qualcomm Remote File System Memory
|
|
|
|
description: |
|
|
This binding describes the Qualcomm remote filesystem memory, which serves the
|
|
purpose of describing the shared memory region used for remote processors to
|
|
access block device data using the Remote Filesystem protocol.
|
|
|
|
maintainers:
|
|
- Bjorn Andersson <bjorn.andersson@linaro.org>
|
|
|
|
allOf:
|
|
- $ref: "reserved-memory.yaml"
|
|
|
|
properties:
|
|
compatible:
|
|
const: qcom,rmtfs-mem
|
|
|
|
qcom,client-id:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description: >
|
|
identifier of the client to use this region for buffers
|
|
|
|
qcom,vmid:
|
|
$ref: /schemas/types.yaml#/definitions/uint32-array
|
|
description: >
|
|
Array of vmids of the remote processors, to set up memory protection
|
|
minItems: 1
|
|
maxItems: 2
|
|
|
|
required:
|
|
- qcom,client-id
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
reserved-memory {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
rmtfs@86700000 {
|
|
compatible = "qcom,rmtfs-mem";
|
|
reg = <0x86700000 0xe0000>;
|
|
no-map;
|
|
|
|
qcom,client-id = <1>;
|
|
};
|
|
};
|