Input: add TI drv2665 haptics driver
authorDan Murphy <dmurphy@ti.com>
Fri, 8 May 2015 23:02:43 +0000 (16:02 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 8 May 2015 23:45:16 +0000 (16:45 -0700)
Add the TI drv2665 piezo haptic driver.  This haptics IC requires the data
to be streamed to the FIFO for continuous output.

Datasheet can be found at:
http://www.ti.com/product/drv2665

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/ti,drv2665.txt [new file with mode: 0644]
drivers/input/misc/Kconfig
drivers/input/misc/Makefile
drivers/input/misc/drv2665.c [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/input/ti,drv2665.txt b/Documentation/devicetree/bindings/input/ti,drv2665.txt
new file mode 100644 (file)
index 0000000..1ba97ac
--- /dev/null
@@ -0,0 +1,17 @@
+* Texas Instruments - drv2665 Haptics driver
+
+Required properties:
+       - compatible - "ti,drv2665" - DRV2665
+       - reg -  I2C slave address
+       - vbat-supply - Required supply regulator
+
+Example:
+
+haptics: haptics@59 {
+       compatible = "ti,drv2665";
+       reg = <0x59>;
+       vbat-supply = <&vbat>;
+};
+
+For more product information please see the link below:
+http://www.ti.com/product/drv2665
Simple merge
Simple merge
Simple merge