Add bindings for tee shared memory bridge. Change-Id: I0e309b15a87adf6827fe792b559f07449a3d7e69 Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
# 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>;
|
|
};
|
|
|