doc: dt/bindings: input: Fix drv260x binding document
Subsystems (3)
PATCH 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.
--- .../devicetree/bindings/input/ti,drv260x.txt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-)
Documentation/devicetree/bindings/input/ti,drv260x.txt +10 -9
@@ -37,15 +37,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:@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 19 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]>--- .../devicetree/bindings/input/ti,drv260x.txt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-)Documentation/devicetree/bindings/input/ti,drv260x.txt +0
-0@@ -37,15 +37,16 @@ Optional properties: 3.2 v. Example:
Documentation/devicetree/bindings/input/ti,drv260x.txt Optional properties: · line 40
Quoted 10 lines
Documentation/devicetree/bindings/input/ti,drv260x.txt +1
-9-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:@5a {
haptics: haptics at 5a ??
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/99fa54ed/attachment.sig>
Felipe
Quoted 20 lines · Felipe
Quoted 19 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]>--- .../devicetree/bindings/input/ti,drv260x.txt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-)Documentation/devicetree/bindings/input/ti,drv260x.txt +0
-0@@ -37,15 +37,16 @@ Optional properties: 3.2 v. Example:
Quoted 13 lines
Documentation/devicetree/bindings/input/ti,drv260x.txt Optional properties: · line 40
Quoted 10 lines
Documentation/devicetree/bindings/input/ti,drv260x.txt +1
-9-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:@5a {haptics: haptics at 5a ??
I found both types of entries in the bindings docs.
There is no consistency within the input bindings documentation.
I have no issue doing it either way.
Dan
Signature · 2 lines
------------------ Dan Murphy
Hi,
Quoted 37 lines · Dan
Felipe
Quoted 20 lines · Felipe
Quoted 19 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]>--- .../devicetree/bindings/input/ti,drv260x.txt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-)Documentation/devicetree/bindings/input/ti,drv260x.txt +0
-0@@ -37,15 +37,16 @@ Optional properties: 3.2 v. Example:Quoted 13 lines
Documentation/devicetree/bindings/input/ti,drv260x.txt Optional properties: · line 40
Quoted 10 lines
Documentation/devicetree/bindings/input/ti,drv260x.txt +1
-9-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:@5a {haptics: haptics at 5a ??
Quoted 2 lines
I found both types of entries in the bindings docs. There is no consistency within the input bindings documentation.
I could swear neither two types have a colon character between node name and its base address.
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/928feccd/attachment.sig>
Felipe
Quoted 40 lines · Felipe
Hi,
Quoted 37 lines · Dan
Felipe
Quoted 33 lines · Felipe
Quoted 19 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]>--- .../devicetree/bindings/input/ti,drv260x.txt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-)Documentation/devicetree/bindings/input/ti,drv260x.txt +0
-0@@ -37,15 +37,16 @@ Optional properties: 3.2 v. Example:Documentation/devicetree/bindings/input/ti,drv260x.txt Optional properties: · line 40
Quoted 10 lines
Documentation/devicetree/bindings/input/ti,drv260x.txt +1
-9-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:@5a {haptics: haptics at 5a ??
Quoted 6 lines
Quoted 2 lines
I found both types of entries in the bindings docs. There is no consistency within the input bindings documentation.
I could swear neither two types have a colon character between node name and its base address.
I will add it to the fixes.
Dan
Signature · 2 lines
------------------ Dan Murphy