diff --git a/bindings/soc/qcom/qcom,secure-buffer.yaml b/bindings/soc/qcom/qcom,secure-buffer.yaml new file mode 100644 index 00000000..792ca64b --- /dev/null +++ b/bindings/soc/qcom/qcom,secure-buffer.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%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: + - Chris Goldsworthy + +additionalProperties: false + +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"; + };