%YAML 1.2
---
$id: "http://devicetree.org/schemas/soc/qcom/qcom,secure-buffer.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"

title: Qualcomm Technologies, Inc. Secure Buffer binding

maintainers:
  - Isaac J. Manjarres <isaacm@quicinc.com>

description: |
  The Secure Buffer driver is used to communicate with the ARMv8
  secure world (EL2 and EL3) to secure a buffer, so that only the
  correct clients can use the buffer, and no other entities can
  access it.

properties:
  compatible:
    items:
      - const: qcom,secure-buffer

  qcom,vmid-cp-camera-preview-ro:
    $ref: /schemas/types.yaml#/definitions/flag
    description:
      Buffers accessible to VMID_CP_CAMERA_PREVIEW must be mapped with
      read-only permissions.

required:
  - compatible

examples:
  - |
    qcom,secure-buffer {
        compatible = "qcom,secure-buffer";
    };
