dt-bindings: Add device-tree bindings for aon spi & interface drivers

Add snapshot of device-tree bindings for AON spi, interface and
it's corresponding rpmsg drivers 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: I5c66e660b674fee78f541b267027a34f92717e0c
Signed-off-by: Koushik Immadisetty <quic_kimmadis@quicinc.com>
This commit is contained in:
Koushik Immadisetty
2024-05-29 15:06:22 +05:30
parent 7a4a7daa18
commit b0287b59fd
3 changed files with 121 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/qcom/qcom,slatecom_interface.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Slatecom Interface Driver
maintainers:
- Praveen koya <quic_pkoya@quicinc.com>
description: |
slatecom_interface driver creates a slate_com_dev device
node for user space communication. Single user space
client can open device node for communication from hardware.
Hardware will provide access to read/write registers or AHB
memory in the device.
properties:
compatible:
const: qcom,slate-daemon
qcom,platform-reset-gpio:
description: This gpio state used to make boot decision for slate subsystem.
required:
- compatible
- qcom,platform-reset-gpio
additionalProperties: false
examples:
- |
qcom,slate-daemon {
compatible = "qcom,slate-daemon";
qcom,platform-reset-gpio = <&pm5100_gpios 15 0>;
};

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,slatecom_rpmsg.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Slatecom RPMSG Driver
maintainers:
- Praveen koya <quic_pkoya@quicinc.com>
description: |
slatecom_rpmsg driver provides functionality
to send and receive data over Glink from slate co processor.
properties:
compatible:
const: qcom,slatecom-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,slatecom-rpmsg {
compatible = "qcom,slatecom-rpmsg";
qcom,glink-channels = "slate_ctrl";
qcom,glinkpkt-edge = "slate";
intents = <0x200 1>;
};

View File

@@ -0,0 +1,37 @@
# 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>;
};