Merge "dt-bindings: Add device-tree bindings for AON event bridge 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 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>;
};