summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.txt
blob: 8562ba1dce69253bd7cfb6a9c8dd115d297d2b76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Qualcomm Remote File System Memory binding

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.

- compatible:
	Usage: required
	Value type: <stringlist>
	Definition: must be:
		    "qcom,rmtfs-mem"

- reg:
	Usage: required for static allocation
	Value type: <prop-encoded-array>
	Definition: must specify base address and size of the memory region,
		    as described in reserved-memory.txt

- size:
	Usage: required for dynamic allocation
	Value type: <prop-encoded-array>
	Definition: must specify a size of the memory region, as described in
		    reserved-memory.txt

- qcom,client-id:
	Usage: required
	Value type: <u32>
	Definition: identifier of the client to use this region for buffers.

- qcom,vmid:
	Usage: optional
	Value type: <u32>
	Definition: vmid of the remote processor, to set up memory protection.

= EXAMPLE
The following example shows the remote filesystem memory setup for APQ8016,
with the rmtfs region for the Hexagon DSP (id #1) located at 0x86700000.

	reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;

		rmtfs@86700000 {
			compatible = "qcom,rmtfs-mem";
			reg = <0x0 0x86700000 0x0 0xe0000>;
			no-map;

			qcom,client-id = <1>;
		};
	};