Commit 3d337848 authored by Brian Masney's avatar Brian Masney Committed by Dmitry Torokhov
Browse files

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: default avatarBrian Masney <masneyb@onstation.org>
Reviewed-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 100294ce
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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>;
	};