]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: msm8974-FP2: Add vibration motor
authorLuca Weiss <luca@z3ntu.xyz>
Fri, 26 Apr 2019 19:47:47 +0000 (21:47 +0200)
committerAndy Gross <agross@kernel.org>
Tue, 25 Jun 2019 18:29:32 +0000 (13:29 -0500)
Add a node describing the vibration motor on the Fairphone 2.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Andy Gross <agross@kernel.org>
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts

index 643c57f848184c338a5a09439ad9f78dfa622ce6..bf402ae39226a908cd6fe59ecd58f2b46aac8f19 100644 (file)
@@ -50,6 +50,12 @@ volume-up {
                };
        };
 
+       vibrator {
+               compatible = "gpio-vibrator";
+               enable-gpios = <&msmgpio 86 GPIO_ACTIVE_HIGH>;
+               vcc-supply = <&pm8941_l18>;
+       };
+
        smd {
                rpm {
                        rpm_requests {