mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
Merge "bindings: Add device-tree bindings for slatecom interface driver"
This commit is contained in:
commit
b1a4b548fb
2 changed files with 38 additions and 0 deletions
16
bindings/soc/qcom/qcom,slatecom_interface.txt
Normal file
16
bindings/soc/qcom/qcom,slatecom_interface.txt
Normal file
|
|
@ -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";
|
||||
};
|
||||
|
||||
22
bindings/soc/qcom/qcom,slatecom_spi.txt
Normal file
22
bindings/soc/qcom/qcom,slatecom_spi.txt
Normal file
|
|
@ -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>;
|
||||
};
|
||||
|
||||
Loading…
Reference in a new issue