# 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>;
    };

