Commit 6ba69456 authored by Dan Murphy's avatar Dan Murphy Committed by Dmitry Torokhov

Input: drv260x - fix binding document

Update the drv260x dt binding document:
- Change the node name to the devices function not the device name.
- Add vbat-supply to the example.
- Fix indentation of the example.
Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
Reviewed-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent dddf3bc4
Texas Instruments - drv260x Haptics driver family * Texas Instruments - drv260x Haptics driver family
The drv260x family serial control bus communicates through I2C protocols
Required properties: Required properties:
- compatible - One of: - compatible - One of:
...@@ -37,15 +35,16 @@ Optional properties: ...@@ -37,15 +35,16 @@ Optional properties:
3.2 v. 3.2 v.
Example: Example:
drv2605l: drv2605l@5a { haptics: haptics@5a {
compatible = "ti,drv2605l"; compatible = "ti,drv2605l";
reg = <0x5a>; reg = <0x5a>;
enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; vbat-supply = <&vbat>;
mode = <DRV260X_LRA_MODE>; enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
library-sel = <DRV260X_LIB_LRA>; mode = <DRV260X_LRA_MODE>;
vib-rated-mv = <3200>; library-sel = <DRV260X_LIB_LRA>;
vib-overdriver-mv = <3200>; vib-rated-mv = <3200>;
}; vib-overdriver-mv = <3200>;
}
For more product information please see the link below: For more product information please see the link below:
http://www.ti.com/product/drv2605 http://www.ti.com/product/drv2605
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment