From ecbf0d568907efb12e9b6024938ab30630c410db Mon Sep 17 00:00:00 2001 From: Kuldeep Singh Date: Thu, 1 Feb 2024 16:17:58 +0530 Subject: [PATCH] dt-bindings: soc: qcom: Add tmecom bindings Add devicetree bindings for qcom tmecom qmp. Change-Id: I56036e878a52b404b13aa9f7a986c1a8ca53d0da Signed-off-by: Kuldeep Singh --- bindings/soc/qcom/qcom,tmecom-qmp-client.yaml | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 bindings/soc/qcom/qcom,tmecom-qmp-client.yaml diff --git a/bindings/soc/qcom/qcom,tmecom-qmp-client.yaml b/bindings/soc/qcom/qcom,tmecom-qmp-client.yaml new file mode 100644 index 00000000..11974106 --- /dev/null +++ b/bindings/soc/qcom/qcom,tmecom-qmp-client.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/soc/qcom/qcom,tmecom-qmp-client.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Qualcomm Technologies Inc. Tmecom qmp client + +maintainers: + - Gaurav Kashyap + - Kuldeep Singh + +description: + QTI Messaging Protocol(QMP) TMECom client is an interface for other clients + to send data to Trust Management Engine (TME) on MSM platforms + +properties: + compatible: + const: qcom,tmecom-qmp-client + + label: + $ref: '/schemas/types.yaml#/definitions/string' + maxItems: 1 + description: The name of the remote proc this link connects to. + + mboxes: + maxItems: 1 + description: QMP mailbox phandle and channel identifier tuples + + mbox-names: + maxItems: 1 + description: Name for listed mail boxes + +required: + - compatible + - label + - mboxes + - mbox-names + +additionalProperties: false + +examples: + - | + qmp_tme: qcom,qmp-tme { + compatible = "qcom,qmp-mbox"; + qcom,remote-pid = <14>; + mboxes = <&ipcc_mproc IPCC_CLIENT_TME + IPCC_MPROC_SIGNAL_GLINK_QMP>; + mbox-names = "tme_qmp"; + label = "tme"; + mbox-desc-offset = <0x0>; + #mbox-cells = <1>; + }; + + qcom,tmecom-qmp-client { + compatible = "qcom,tmecom-qmp-client"; + mboxes = <&qmp_tme 0>; + mbox-names = "tmecom"; + label = "tmecom"; + depends-on-supply = <&qmp_tme>; + };