From 1e2ccd313ef4825e5def30448d353ab0c7885775 Mon Sep 17 00:00:00 2001 From: Patrick Daly Date: Fri, 28 Apr 2023 09:36:47 -0700 Subject: [PATCH] bindings: Snapshot of secure-buffer bindings Secure-buffer bindings snapshot from msm-6.1 branch commit 0285b5bf8b6f ("Merge "ARM: dts: msm: Update proxy device settings""). Change-Id: I7fab03ca9412cf8f084d75a60343ca033da5d4c4 Signed-off-by: Patrick Daly --- bindings/soc/qcom/qcom,secure-buffer.yaml | 38 +++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 bindings/soc/qcom/qcom,secure-buffer.yaml 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"; + };