Input: pwm-vibrator - correct pwms in DT binding example
authorBrian Masney <masneyb@onstation.org>
Sat, 29 Sep 2018 00:12:55 +0000 (17:12 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 29 Sep 2018 00:33:30 +0000 (17:33 -0700)
In the example for the pwm-vibrator bindings, pwm8 is the direction pin,
and pwm9 is the enable pin. The pwms on the vibrator node has these two
values swapped so this patch corrects it.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/pwm-vibrator.txt

index 09145d18491d866f2642fed6e1ce981961a41ac9..88c775a3fe2135abad9148f7ed91d0ee930b8866 100644 (file)
@@ -58,8 +58,8 @@ Example from Motorola Droid 4:
 
        vibrator {
                compatible = "pwm-vibrator";
-               pwms = <&pwm8 0 1000000000 0>,
-                      <&pwm9 0 1000000000 0>;
+               pwms = <&pwm9 0 1000000000 0>,
+                       <&pwm8 0 1000000000 0>;
                pwm-names = "enable", "direction";
                direction-duty-cycle-ns = <1000000000>;
        };