dt-bindings: Add device-tree bindings for aon RSB driver

Add snapshot of device-tree bindings for AON RSB driver
and corresponding rpmsg driver 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: I73bbb30403a488a053ba2b8a3aaf456190162506
Signed-off-by: Koushik Immadisetty <quic_kimmadis@quicinc.com>
This commit is contained in:
Koushik Immadisetty
2024-05-29 15:52:06 +05:30
parent 7a4a7daa18
commit cf17fb5975
2 changed files with 77 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_rsb.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm technologies, Inc. slate-rsb
maintainers:
- Praveen koya <quic_pkoya@quicinc.com>
description: |
slate-rsb is used to communicate with Slate over Glink
to configure the RSB eventsslate-rsb send commands over glink to
send configure, enable/disable RSB to Slate
properties:
compatible:
const: qcom,slate-rsb
required:
- compatible
additionalProperties: false
examples:
- |
qcom,slate-rsb {
compatible = "qcom,slate-rsb";
};

View File

@@ -0,0 +1,47 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/qcom/qcom,slatersb_rpmsg.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm technologies, Inc. slatersb-rpmsg
maintainers:
- Praveen koya <quic_pkoya@quicinc.com>
description: |
slatersb-rpmsg is used as an interface between slate-rsb
and slate for Glink communication.slate-rsb is used to communicate with
Slate over Glink to configure the RSB events.
properties:
compatible:
const: qcom,slatersb-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
- intents
additionalProperties: false
examples:
- |
qcom,slatersb-rpmsg {
compatible = "qcom,slatersb-rpmsg";
qcom,glink-channels = "RSB_CTRL";
qcom,glinkpkt-edge = "slate";
intents = <0x200 1>;
};