dt-bindings: soc: qcom: Add bindings for tee shared memory bridge

Add bindings for tee shared memory bridge.

Change-Id: I0e309b15a87adf6827fe792b559f07449a3d7e69
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
This commit is contained in:
Melody Olvera
2023-04-21 15:00:41 -07:00
parent 75a2fd666c
commit a3f3d88039

View File

@@ -0,0 +1,42 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: "http://devicetree.org/schemas/soc/qcom/qcom,tee-shared-memory-bridge.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: Qualcomm Technologies, Inc. Trusted execution environment shared memory bridge binding
maintainers:
- Anmolpreet Kaur <quic_anmolpre@quicinc.com>
description: |
QTEE shared memory bridge driver is used to share memory between non-secure
world and trustzone through shared memory bridge.
properties:
compatible:
items:
- const: qcom,tee-shared-memory-bridge
qcom,custom-bridge-size : indicates the size of SHM Bridge to be supported in multiples of 4K
required:
- compatible
optional:
- qcom,custom-bridge-size
examples:
- |
qtee_shmbridge {
compatible = "qcom,tee-shared-memory-bridge";
};
To allocate 1M memory for SHMBridge, we will have entry like this:
qtee_shmbridge {
compatible = "qcom,tee-shared-memory-bridge";
qcom,custom-bridge-size = <256>;
};