summaryrefslogtreecommitdiffstats
path: root/arch/arm
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 20:29:32 +0200
commite9146339515ece09ee651f122a51a26ae652ab80 (patch)
tree03a63974b0e2d520402386bd8ff2812095fda037 /arch/arm
parentARM: dts: qcom: msm8974-hammerhead: add support for display (diff)
downloadlinux-e9146339515ece09ee651f122a51a26ae652ab80.tar.xz
linux-e9146339515ece09ee651f122a51a26ae652ab80.zip
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')
-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 {