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 <quic_kimmadis@quicinc.com>
This commit is contained in:
Koushik Immadisetty
2024-05-29 15:44:00 +05:30
parent 7a4a7daa18
commit b912e1e0ac
2 changed files with 76 additions and 0 deletions

View File

@@ -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 <quic_pkoya@quicinc.com>
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";
};

View File

@@ -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 <quic_pkoya@quicinc.com>
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>;
};