From b912e1e0ac37e0ae57f16c9e40db2e46626c287c Mon Sep 17 00:00:00 2001 From: Koushik Immadisetty Date: Wed, 29 May 2024 15:44:00 +0530 Subject: [PATCH] dt-bindings: Add device-tree bindings for AON event bridge driver Add snapshot of device-tree bindings for AON event bridge and respective rpmsg drivers from msm-5.15.c2 in YAML format. Snapshot is taken from msm-5.15.c2 kernel commit 95ffcf910eee ("ARM: dts: msm: add aon-rma glink node"). Change-Id: I695cab16e872800d558ccf269c1cb32bbe9bb2f0 Signed-off-by: Koushik Immadisetty --- .../soc/qcom/qcom,slate_events_bridge.yaml | 30 ++++++++++++ .../qcom/qcom,slate_events_bridge_rpmsg.yaml | 46 +++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 bindings/soc/qcom/qcom,slate_events_bridge.yaml create mode 100644 bindings/soc/qcom/qcom,slate_events_bridge_rpmsg.yaml diff --git a/bindings/soc/qcom/qcom,slate_events_bridge.yaml b/bindings/soc/qcom/qcom,slate_events_bridge.yaml new file mode 100644 index 00000000..ce958966 --- /dev/null +++ b/bindings/soc/qcom/qcom,slate_events_bridge.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,slate_events_bridge.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Slate Events Bridge Driver + +maintainers: + - Praveen koya + +description: | + slate_events_bridge driver provides a set of apis for clients + to receive events from slate co processor. The events are + received over Glink. + +properties: + compatible: + const: qcom,slate-events-bridge + +required: + - compatible + +additionalProperties: false + +examples: + - | + qcom,slate-events-bridge { + compatible = "qcom,slate-events-bridge"; + }; diff --git a/bindings/soc/qcom/qcom,slate_events_bridge_rpmsg.yaml b/bindings/soc/qcom/qcom,slate_events_bridge_rpmsg.yaml new file mode 100644 index 00000000..80d3373e --- /dev/null +++ b/bindings/soc/qcom/qcom,slate_events_bridge_rpmsg.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,slate_events_bridge_rpmsg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Slate Events Bridge RPMSG Driver + +maintainers: + - Praveen koya + +description: | + slate_events_bridge_rpmsg driver provides functionality + to send and receive data over Glink from slate co processor. + +properties: + compatible: + const: qcom,slate-events-bridge-rpmsg + + qcom,glink-channels: + $ref: '/schemas/types.yaml#/definitions/string' + description: specifies the glink channel name + + qcom,glinkpkt-edge: + $ref: '/schemas/types.yaml#/definitions/string' + description: specifies the glink edge to match + + intents: + description: specifies the size and count of intents to glink + +required: + - compatible + - qcom,glink-channels + - qcom,glinkpkt-edge + +additionalProperties: false + +examples: + - | + qcom,slate-events-bridge-rpmsg { + compatible = "qcom,slate-events-bridge-rpmsg"; + qcom,glink-channels = "slate_events"; + qcom,glinkpkt-edge = "slate"; + intents = <0x200 5>; + }; +