From b45da595630dc3d003a71eabff319e5c1bbf5fff Mon Sep 17 00:00:00 2001 From: Amirreza Zarrabi Date: Tue, 2 Jan 2024 17:11:16 -0800 Subject: [PATCH] ARM: dts: msm: enable memory object extension for si-core Add DT entry to enable the memory onject support for smcinvoke. Change-Id: I87b62b048e94e2aad2a8329b275bbd8d75ae6cc7 Signed-off-by: Amirreza Zarrabi --- bindings/firmware/qcom,mem-object.yaml | 29 ++++++++++++++++++++++++++ qcom/sun.dtsi | 4 ++++ 2 files changed, 33 insertions(+) create mode 100644 bindings/firmware/qcom,mem-object.yaml 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"; };