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

Commit 842bd8f8 authored by Ankit Sharma's avatar Ankit Sharma
Browse files

ARM: dts: msm: Add support for haptics on PM660



Haptics module supports LRA/ERM vibration motors.
Add the DT node for it.

CRs-Fixed: 2093810
Change-Id: I71cf0cadbeece07871e2db792c8e505271bb4aea
Signed-off-by: default avatarAnkit Sharma <ansharma@codeaurora.org>
parent 089d1cb5
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -652,6 +652,27 @@
		reg = <0x1 SPMI_USID>;
		#address-cells = <2>;
		#size-cells = <0>;

		pm660_haptics: qcom,haptics@c000 {
			compatible = "qcom,qpnp-haptics";
			reg = <0xc000 0x100>;
			interrupts = <0x1 0xc0 0x0 IRQ_TYPE_EDGE_BOTH>,
				     <0x1 0xc0 0x1 IRQ_TYPE_EDGE_BOTH>;
			interrupt-names = "hap-sc-irq", "hap-play-irq";
			qcom,pmic-revid = <&pm660_revid>;
			qcom,pmic-misc = <&pm660_misc>;
			qcom,misc-clk-trim-error-reg = <0xf3>;
			qcom,actuator-type = <0>;
			qcom,play-mode = "direct";
			qcom,vmax-mv = <3200>;
			qcom,ilim-ma = <800>;
			qcom,sc-dbc-cycles = <8>;
			qcom,wave-play-rate-us = <6667>;
			qcom,en-brake;
			qcom,lra-high-z = "opt0";
			qcom,lra-auto-res-mode = "qwd";
			qcom,lra-res-cal-period = <4>;
		};
	};
};