summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/input/pwm-vibrator.txt
diff options
context:
space:
mode:
authorBrian Masney <masneyb@onstation.org>2018-09-28 17:12:55 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2018-09-28 17:33:30 -0700
commit3d337848ecc7f1cb23ab6e851af86b907db06bfa (patch)
tree14431c6a3f226e77344ae82f36fda517e4d4d845 /Documentation/devicetree/bindings/input/pwm-vibrator.txt
parent100294cee9a98bfd4d6cb2d1c8a8aef0e959b0c4 (diff)
Input: pwm-vibrator - correct pwms in DT binding example
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>
Diffstat (limited to 'Documentation/devicetree/bindings/input/pwm-vibrator.txt')
-rw-r--r--Documentation/devicetree/bindings/input/pwm-vibrator.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/input/pwm-vibrator.txt b/Documentation/devicetree/bindings/input/pwm-vibrator.txt
index 09145d18491d..88c775a3fe21 100644
--- a/Documentation/devicetree/bindings/input/pwm-vibrator.txt
+++ b/Documentation/devicetree/bindings/input/pwm-vibrator.txt
@@ -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>;
};