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

This commit is contained in:
qctecmdr
2024-05-31 02:59:32 -07:00
committed by Gerrit - the friendly Code Review server
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>;
};