diff options
author | Dan Murphy <dmurphy@ti.com> | 2014-08-26 18:38:31 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-08-26 18:42:04 -0400 |
commit | 6ba694560caeb3531dbedd5b3a37af037ef2a833 (patch) | |
tree | 6059b6aa39780d5ed50d21e7478811622f2905b7 | |
parent | dddf3bc454fe9b558c13ffd7896e8bea5d39ec29 (diff) |
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: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r-- | Documentation/devicetree/bindings/input/ti,drv260x.txt | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/Documentation/devicetree/bindings/input/ti,drv260x.txt b/Documentation/devicetree/bindings/input/ti,drv260x.txt index a9c8519eb9de..ee09c8f4474a 100644 --- a/Documentation/devicetree/bindings/input/ti,drv260x.txt +++ b/Documentation/devicetree/bindings/input/ti,drv260x.txt | |||
@@ -1,6 +1,4 @@ | |||
1 | Texas Instruments - drv260x Haptics driver family | 1 | * Texas Instruments - drv260x Haptics driver family |
2 | |||
3 | The drv260x family serial control bus communicates through I2C protocols | ||
4 | 2 | ||
5 | Required properties: | 3 | Required properties: |
6 | - compatible - One of: | 4 | - compatible - One of: |
@@ -37,15 +35,16 @@ Optional properties: | |||
37 | 3.2 v. | 35 | 3.2 v. |
38 | Example: | 36 | Example: |
39 | 37 | ||
40 | drv2605l: drv2605l@5a { | 38 | haptics: haptics@5a { |
41 | compatible = "ti,drv2605l"; | 39 | compatible = "ti,drv2605l"; |
42 | reg = <0x5a>; | 40 | reg = <0x5a>; |
43 | enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; | 41 | vbat-supply = <&vbat>; |
44 | mode = <DRV260X_LRA_MODE>; | 42 | enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; |
45 | library-sel = <DRV260X_LIB_LRA>; | 43 | mode = <DRV260X_LRA_MODE>; |
46 | vib-rated-mv = <3200>; | 44 | library-sel = <DRV260X_LIB_LRA>; |
47 | vib-overdriver-mv = <3200>; | 45 | vib-rated-mv = <3200>; |
48 | }; | 46 | vib-overdriver-mv = <3200>; |
47 | } | ||
49 | 48 | ||
50 | For more product information please see the link below: | 49 | For more product information please see the link below: |
51 | http://www.ti.com/product/drv2605 | 50 | http://www.ti.com/product/drv2605 |