From 7c73ddd1756aea2881b480fd1bcf6de58a4bc6c8 Mon Sep 17 00:00:00 2001 From: Ajit Kumar Date: Thu, 7 Jan 2021 15:12:01 +0530 Subject: [PATCH 1/2] bindings: Add device-tree bindings for slatecom SPI driver Add device-tree bindings documentation describing the properties for the slatecom SPI driver. Change-Id: Id6f5ad7f0bc30600f77eaa1b4246e5a47135f43f --- bindings/soc/qcom/qcom,slatecom_spi.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 bindings/soc/qcom/qcom,slatecom_spi.txt diff --git a/bindings/soc/qcom/qcom,slatecom_spi.txt b/bindings/soc/qcom/qcom,slatecom_spi.txt new file mode 100644 index 000000000000..c454151a1560 --- /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>; + }; + From 295913cbd840725123e8b54bb3735af4a8911a41 Mon Sep 17 00:00:00 2001 From: Ajit Kumar Date: Sat, 9 Jan 2021 15:08:08 +0530 Subject: [PATCH 2/2] bindings: Add device-tree bindings for slatecom interface driver Add device-tree bindings documentation describing the properties for the slatecom interface driver. Change-Id: I0851e7e232067dc625142a5fd7de85190eedbd49 --- bindings/soc/qcom/qcom,slatecom_interface.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 bindings/soc/qcom/qcom,slatecom_interface.txt diff --git a/bindings/soc/qcom/qcom,slatecom_interface.txt b/bindings/soc/qcom/qcom,slatecom_interface.txt new file mode 100644 index 000000000000..2731a7957510 --- /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"; + }; +