From 5af7cbbaebdc01d5b77c521639b9de93261b0f09 Mon Sep 17 00:00:00 2001 From: Praveen Koya Date: Tue, 12 Jul 2022 10:24:03 +0530 Subject: [PATCH] bindings: Add device-tree bindings for aon SPI & interface drivers Add device-tree bindings documentation describing the properties for the aon SPI and interface drivers. Change-Id: Ieae25ecf1af5dbf6e3124ae3c39ba8d8026a0a96 --- bindings/soc/qcom/qcom,slatecom_interface.txt | 16 ++++++++++++++ bindings/soc/qcom/qcom,slatecom_spi.txt | 22 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 bindings/soc/qcom/qcom,slatecom_interface.txt create mode 100644 bindings/soc/qcom/qcom,slatecom_spi.txt diff --git a/bindings/soc/qcom/qcom,slatecom_interface.txt b/bindings/soc/qcom/qcom,slatecom_interface.txt new file mode 100644 index 00000000..2731a795 --- /dev/null +++ b/bindings/soc/qcom/qcom,slatecom_interface.txt @@ -0,0 +1,16 @@ +* Slatecom Interface Driver + +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. + +Required properties: +- compatible: Must be "qcom,slate-daemon" + +Example: + qcom,slate-daemon { + compatible = "qcom,slate-daemon"; + }; + diff --git a/bindings/soc/qcom/qcom,slatecom_spi.txt b/bindings/soc/qcom/qcom,slatecom_spi.txt new file mode 100644 index 00000000..c454151a --- /dev/null +++ b/bindings/soc/qcom/qcom,slatecom_spi.txt @@ -0,0 +1,22 @@ +* Slate Coprocessor Communication Driver + +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. + +Required properties: +- compatible: Must be "qcom,slate-spi" + +Optional properties: +- qcom,irq-gpio: IRQ used by the slate to inturrupt MSM. + +Example: + qcom,slate-spi { + compatible = "qcom,slate-spi"; + compatible = "qcom,slate-spi"; + interrupt-parent = <&tlmm>; + /* IRQ from slate */ + qcom,irq-gpio = <&tlmm 104 1>; + }; +