diff --git a/bindings/firmware/qcom,mem-object.yaml b/bindings/firmware/qcom,mem-object.yaml new file mode 100644 index 00000000..56118dd0 --- /dev/null +++ b/bindings/firmware/qcom,mem-object.yaml @@ -0,0 +1,29 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/firmware/qcom,mem-object.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. Trusted execution environment memory object + +description: | + QTEE can shared memory over smcinvoke. This interface allows client to create + a memory object that can be shared with QTEE. + +maintainers: + - Amirreza Zarrabi + +properties: + compatible: + const: qcom,mem-object + +required: + - compatible + +additionalProperties: false + +examples: + - | + qcom_mem_object { + compatible = "qcom,mem-object"; + }; diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index 60314a36..b5ded383 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -314,6 +314,10 @@ compatible = "qcom,smcinvoke"; }; + qcom_mem_object { + compatible = "qcom,mem-object"; + }; + qtee_shmbridge { compatible = "qcom,tee-shared-memory-bridge"; };