pwm: pwm-tiehrpwm: Update DT binding document to use generic node name
authorCooper Jr., Franklin <fcooper@ti.com>
Fri, 18 Mar 2016 01:15:23 +0000 (20:15 -0500)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 8 Jul 2016 15:53:36 +0000 (17:53 +0200)
Now that the node name has been changed from ehrpwm to pwm the document
should show this proper usage. Also change the unit address in the example
from 0 to the proper physical address value that should be used.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt

index 9c100b2c5b23c4731cc886b363330b6c1c588f36..0f9ba509ebd6efc5f6a1d94a61363af3814f5892 100644 (file)
@@ -15,14 +15,14 @@ Optional properties:
 
 Example:
 
-ehrpwm0: ehrpwm@0 { /* EHRPWM on am33xx */
+ehrpwm0: pwm@48300200 { /* EHRPWM on am33xx */
        compatible = "ti,am33xx-ehrpwm";
        #pwm-cells = <3>;
        reg = <0x48300200 0x100>;
        ti,hwmods = "ehrpwm0";
 };
 
-ehrpwm0: ehrpwm@0 { /* EHRPWM on da850 */
+ehrpwm0: pwm@300000 { /* EHRPWM on da850 */
        compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm";
        #pwm-cells = <3>;
        reg = <0x300000 0x2000>;