Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e09017f authored by Swetha Chikkaboraiah's avatar Swetha Chikkaboraiah Committed by Shreyas Narayan
Browse files

ARM: dts: msm: Enable vibrator in msm8998



DT support to enable vibrator in msm8998.

Change-Id: I6f6ebd0f3d7a993c86ce6636b25984062ccf4c21
Signed-off-by: default avatarSwetha Chikkaboraiah <schikk@codeaurora.org>
parent ea1081dd
Loading
Loading
Loading
Loading
+9 −10
Original line number Diff line number Diff line
/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016-2017, 2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -638,26 +638,25 @@
			status = "okay";
		};

		pmi8998_haptics: qcom,haptic@c000 {
			status = "disabled";
			compatible = "qcom,qpnp-haptic";
		pmi8998_haptics: qcom,haptics@c000 {
			compatible = "qcom,qpnp-haptics";
			reg = <0xc000 0x100>;
			interrupts = <0x3 0xc0 0x0 IRQ_TYPE_EDGE_BOTH>,
				     <0x3 0xc0 0x1 IRQ_TYPE_EDGE_BOTH>;
			interrupt-names = "sc-irq", "play-irq";
			interrupt-names = "hap-sc-irq", "hap-play-irq";
			qcom,pmic-revid = <&pmi8998_revid>;
			qcom,pmic-misc = <&pmi8998_misc>;
			qcom,misc-clk-trim-error-reg = <0xf3>;
			qcom,actuator-type = "lra";
			qcom,int-pwm-freq-khz = <505>;
			qcom,play-mode = "direct";
			qcom,wave-play-rate-us = <6667>;
			qcom,actuator-type = <0>;
			qcom,wave-shape = "square";
			qcom,vmax-mv = <3200>;
			qcom,ilim-ma = <800>;
			qcom,wave-shape = "square";
			qcom,wave-play-rate-us = <6667>;
			qcom,int-pwm-freq-khz = <505>;
			qcom,sc-deb-cycles = <8>;
			qcom,en-brake;
			qcom,brake-pattern = [03 03 00 00];
			qcom,brake-pattern = <0x3 0x3 0x0 0x0>;
			qcom,lra-high-z = "opt1";
			qcom,lra-auto-res-mode = "qwd";
			qcom,lra-res-cal-period = <4>;