18c2ecf20Sopenharmony_ciQualcomm Remote File System Memory binding
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThis binding describes the Qualcomm remote filesystem memory, which serves the
48c2ecf20Sopenharmony_cipurpose of describing the shared memory region used for remote processors to
58c2ecf20Sopenharmony_ciaccess block device data using the Remote Filesystem protocol.
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci- compatible:
88c2ecf20Sopenharmony_ci	Usage: required
98c2ecf20Sopenharmony_ci	Value type: <stringlist>
108c2ecf20Sopenharmony_ci	Definition: must be:
118c2ecf20Sopenharmony_ci		    "qcom,rmtfs-mem"
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci- reg:
148c2ecf20Sopenharmony_ci	Usage: required for static allocation
158c2ecf20Sopenharmony_ci	Value type: <prop-encoded-array>
168c2ecf20Sopenharmony_ci	Definition: must specify base address and size of the memory region,
178c2ecf20Sopenharmony_ci		    as described in reserved-memory.txt
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci- size:
208c2ecf20Sopenharmony_ci	Usage: required for dynamic allocation
218c2ecf20Sopenharmony_ci	Value type: <prop-encoded-array>
228c2ecf20Sopenharmony_ci	Definition: must specify a size of the memory region, as described in
238c2ecf20Sopenharmony_ci		    reserved-memory.txt
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci- qcom,client-id:
268c2ecf20Sopenharmony_ci	Usage: required
278c2ecf20Sopenharmony_ci	Value type: <u32>
288c2ecf20Sopenharmony_ci	Definition: identifier of the client to use this region for buffers.
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci- qcom,vmid:
318c2ecf20Sopenharmony_ci	Usage: optional
328c2ecf20Sopenharmony_ci	Value type: <u32>
338c2ecf20Sopenharmony_ci	Definition: vmid of the remote processor, to set up memory protection.
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci= EXAMPLE
368c2ecf20Sopenharmony_ciThe following example shows the remote filesystem memory setup for APQ8016,
378c2ecf20Sopenharmony_ciwith the rmtfs region for the Hexagon DSP (id #1) located at 0x86700000.
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci	reserved-memory {
408c2ecf20Sopenharmony_ci		#address-cells = <2>;
418c2ecf20Sopenharmony_ci		#size-cells = <2>;
428c2ecf20Sopenharmony_ci		ranges;
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci		rmtfs@86700000 {
458c2ecf20Sopenharmony_ci			compatible = "qcom,rmtfs-mem";
468c2ecf20Sopenharmony_ci			reg = <0x0 0x86700000 0x0 0xe0000>;
478c2ecf20Sopenharmony_ci			no-map;
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ci			qcom,client-id = <1>;
508c2ecf20Sopenharmony_ci		};
518c2ecf20Sopenharmony_ci	};
52