doc: dt/bindings: input: Fix drv260x binding document
Subsystems (3)
PATCH v2 1/1 doc: dt/bindings: input: Fix drv260x 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.
---
v2 - Address comments on indentation, node declaration, add vbat-supply, removed description as it did not make sense - https://patchwork.kernel.org/patch/4765141/
.../devicetree/bindings/input/ti,drv260x.txt | 23 ++++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-)
Documentation/devicetree/bindings/input/ti,drv260x.txt +11 -12
@@ -1,6 +1,4 @@ -Texas Instruments - drv260x Haptics driver family - -The drv260x family serial control bus communicates through I2C protocols +* Texas Instruments - drv260x Haptics driver family Required properties: - compatible - One of:
@@ -37,15 +35,16 @@ Optional properties: 3.2 v. Example: -drv2605l: drv2605l at 5a { - compatible = "ti,drv2605l"; - reg = <0x5a>; - enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; - mode = <DRV260X_LRA_MODE>; - library-sel = <DRV260X_LIB_LRA>; - vib-rated-mv = <3200>; - vib-overdriver-mv = <3200>; -}; +haptics: haptics at 5a { + compatible = "ti,drv2605l"; + reg = <0x5a>; + vbat-supply = <&vbat>; + enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; + mode = <DRV260X_LRA_MODE>; + library-sel = <DRV260X_LIB_LRA>; + vib-rated-mv = <3200>; + vib-overdriver-mv = <3200>; +} For more product information please see the link below: http://www.ti.com/product/drv2605
Signature · 1 line
1.7.9.5
Quoted 7 lines · Dan Murphy
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 <[email protected]>
Quoted 54 lines
---
v2 - Address comments on indentation, node declaration, add vbat-supply, removed description as it did not make sense - https://patchwork.kernel.org/patch/4765141/
.../devicetree/bindings/input/ti,drv260x.txt | 23 ++++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-)Documentation/devicetree/bindings/input/ti,drv260x.txt +11
-12@@ -1,6 +1,4 @@ -Texas Instruments - drv260x Haptics driver family - -The drv260x family serial control bus communicates through I2C protocols +* Texas Instruments - drv260x Haptics driver family Required properties: - compatible - One of:@@ -37,15 +35,16 @@ Optional properties: 3.2 v. Example: -drv2605l: drv2605l at 5a { - compatible = "ti,drv2605l"; - reg = <0x5a>; - enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; - mode = <DRV260X_LRA_MODE>; - library-sel = <DRV260X_LIB_LRA>; - vib-rated-mv = <3200>; - vib-overdriver-mv = <3200>; -}; +haptics: haptics at 5a { + compatible = "ti,drv2605l"; + reg = <0x5a>; + vbat-supply = <&vbat>; + enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; + mode = <DRV260X_LRA_MODE>; + library-sel = <DRV260X_LIB_LRA>; + vib-rated-mv = <3200>; + vib-overdriver-mv = <3200>; +} For more product information please see the link below: http://www.ti.com/product/drv2605Signature · 7 lines
1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Signature · 8 lines
balbi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140822/c9f344b5/attachment.sig>
Quoted 10 lines · Felipe Balbi
Quoted 7 lines · Dan Murphy
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 <[email protected]>Reviewed-by Felipe Balbi <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry