ARM: dts: msm: enable haptics device for sdm845 CDP and MTP
Enable haptics device to support vibrator that is present on
sdm845 CDP and MTP. LRA auto mode is enabled for optimum
performance along with the required voltage.
Change-Id: Ie0078df4e8def70adb43c9bce210dc9b381e0a0a
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
diff --git a/arch/arm64/boot/dts/qcom/sdm845-cdp.dtsi b/arch/arm64/boot/dts/qcom/sdm845-cdp.dtsi
index 5e370d6..9722e88 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-cdp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-cdp.dtsi
@@ -307,6 +307,12 @@
qcom,led-strings-list = [01 02];
};
+&pmi8998_haptics {
+ qcom,vmax-mv = <2400>;
+ qcom,lra-auto-mode;
+ status = "okay";
+};
+
&qupv3_se8_spi {
status = "ok";
};