Merge "bindings: Snapshot of secure-buffer bindings"

This commit is contained in:
qctecmdr
2023-05-29 02:29:54 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -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";
};