qcom,rmtfs-mem.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Qualcomm Remote File System Memory binding
  2. This binding describes the Qualcomm remote filesystem memory, which serves the
  3. purpose of describing the shared memory region used for remote processors to
  4. access block device data using the Remote Filesystem protocol.
  5. - compatible:
  6. Usage: required
  7. Value type: <stringlist>
  8. Definition: must be:
  9. "qcom,rmtfs-mem"
  10. - reg:
  11. Usage: required for static allocation
  12. Value type: <prop-encoded-array>
  13. Definition: must specify base address and size of the memory region,
  14. as described in reserved-memory.txt
  15. - size:
  16. Usage: required for dynamic allocation
  17. Value type: <prop-encoded-array>
  18. Definition: must specify a size of the memory region, as described in
  19. reserved-memory.txt
  20. - qcom,client-id:
  21. Usage: required
  22. Value type: <u32>
  23. Definition: identifier of the client to use this region for buffers.
  24. - qcom,vmid:
  25. Usage: optional
  26. Value type: <u32>
  27. Definition: vmid of the remote processor, to set up memory protection.
  28. = EXAMPLE
  29. The following example shows the remote filesystem memory setup for APQ8016,
  30. with the rmtfs region for the Hexagon DSP (id #1) located at 0x86700000.
  31. reserved-memory {
  32. #address-cells = <2>;
  33. #size-cells = <2>;
  34. ranges;
  35. rmtfs@86700000 {
  36. compatible = "qcom,rmtfs-mem";
  37. reg = <0x0 0x86700000 0x0 0xe0000>;
  38. no-map;
  39. qcom,client-id = <1>;
  40. };
  41. };