diff --git a/bindings/soc/qcom/qcom,tee-shared-memory-bridge.yaml b/bindings/soc/qcom/qcom,tee-shared-memory-bridge.yaml new file mode 100644 index 00000000..4607e32f --- /dev/null +++ b/bindings/soc/qcom/qcom,tee-shared-memory-bridge.yaml @@ -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 + +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>; + }; +