dt-bindings: soc: qcom: Add tmecom bindings

Add devicetree bindings for qcom tmecom qmp.

Change-Id: I56036e878a52b404b13aa9f7a986c1a8ca53d0da
Signed-off-by: Kuldeep Singh <quic_kuldsing@quicinc.com>
This commit is contained in:
Kuldeep Singh
2024-02-01 16:17:58 +05:30
parent e2c3fd4898
commit ecbf0d5689

View File

@@ -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 <quic_gaurkash@quicinc.com>
- Kuldeep Singh <quic_kuldsing@quicinc.com>
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>;
};