# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/qcom/qcom,slatecom_spi.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Slate Coprocessor Communication Driver

maintainers:
  - Praveen koya <quic_pkoya@quicinc.com>

description: |
  slatecom_spi driver provides a set of apis to perform
  register, fifo, ahb read and write operations with slate
  over spi interface. It also reads slate status and
  sends events to the registered clients.

properties:
  compatible:
    const: qcom,slate-spi

  qcom,irq-gpio:
    description: IRQ used by the slate to inturrupt MSM.

required:
  - compatible

additionalProperties: false

examples:
  - |
    qcom,slate-spi {
      compatible = "qcom,slate-spi";
      interrupt-parent = <&tlmm>;
      /* IRQ from slate */
      qcom,irq-gpio = <&tlmm 104 1>;
    };
