qcom,rmtfs-mem.yaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/reserved-memory/qcom,rmtfs-mem.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Qualcomm Remote File System Memory
  7. description: |
  8. This binding describes the Qualcomm remote filesystem memory, which serves the
  9. purpose of describing the shared memory region used for remote processors to
  10. access block device data using the Remote Filesystem protocol.
  11. maintainers:
  12. - Bjorn Andersson <bjorn.andersson@linaro.org>
  13. allOf:
  14. - $ref: reserved-memory.yaml
  15. properties:
  16. compatible:
  17. const: qcom,rmtfs-mem
  18. qcom,client-id:
  19. $ref: /schemas/types.yaml#/definitions/uint32
  20. description: >
  21. identifier of the client to use this region for buffers
  22. qcom,use-guard-pages:
  23. type: boolean
  24. description: >
  25. Indicates that the firmware, or hardware, does not gracefully handle
  26. memory protection of this region when placed adjacent to other protected
  27. memory regions, and that padding around the used portion of the memory
  28. region is necessary.
  29. When this is set, the first and last page should be left unused, and the
  30. effective size of the region will thereby shrink with two pages.
  31. qcom,vmid:
  32. $ref: /schemas/types.yaml#/definitions/uint32-array
  33. description: >
  34. Array of vmids of the remote processors, to set up memory protection
  35. minItems: 1
  36. maxItems: 2
  37. required:
  38. - qcom,client-id
  39. unevaluatedProperties: false
  40. examples:
  41. - |
  42. reserved-memory {
  43. #address-cells = <1>;
  44. #size-cells = <1>;
  45. ranges;
  46. rmtfs@86700000 {
  47. compatible = "qcom,rmtfs-mem";
  48. reg = <0x86700000 0xe0000>;
  49. no-map;
  50. qcom,client-id = <1>;
  51. };
  52. };