summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2019-04-26 21:47:47 +0200
committerAndy Gross <agross@kernel.org>2019-06-25 13:29:32 -0500
commite9146339515ece09ee651f122a51a26ae652ab80 (patch)
tree03a63974b0e2d520402386bd8ff2812095fda037 /arch/arm/boot
parent489bacb29818865d2db63d4800f4ddff56929031 (diff)
downloadlinux-e9146339515ece09ee651f122a51a26ae652ab80.tar.bz2
ARM: dts: msm8974-FP2: Add vibration motor
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
index 643c57f84818..bf402ae39226 100644
--- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
@@ -50,6 +50,12 @@
};
};
+ vibrator {
+ compatible = "gpio-vibrator";
+ enable-gpios = <&msmgpio 86 GPIO_ACTIVE_HIGH>;
+ vcc-supply = <&pm8941_l18>;
+ };
+
smd {
rpm {
rpm_requests {