Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1a4b548 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "bindings: Add device-tree bindings for slatecom interface driver"

parents 5fa6f4f9 295913cb
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
* 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";
		};
+22 −0
Original line number Diff line number Diff line
* 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>;
		};