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

Commit 2d605e73 authored by Himanshu Aggarwal's avatar Himanshu Aggarwal Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add dts entry for haptics on PMI Thorium



Add haptic device node for PMI Thorium. Haptics module
provides the vibration effects for the device.

Change-Id: Iadaefe5bf666fffbe50d970fdaed264edc9d5689
Signed-off-by: default avatarHimanshu Aggarwal <haggarwa@codeaurora.org>
parent 4e9eeef5
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -458,5 +458,31 @@
				qcom,current = <625>;
			};
		};

		pmithorium_haptic: qcom,haptic@c000 {
			compatible = "qcom,qpnp-haptic";
			reg = <0xc000 0x100>;
			interrupts = <0x3 0xc0 0x0>,
				<0x3 0xc0 0x1>;
			interrupt-names = "sc-irq", "play-irq";
			qcom,play-mode = "direct";
			qcom,wave-play-rate-us = <5263>;
			qcom,actuator-type = "lra";
			qcom,wave-shape = "square";
			qcom,vmax-mv = <2000>;
			qcom,ilim-ma = <800>;
			qcom,sc-deb-cycles = <8>;
			qcom,int-pwm-freq-khz = <505>;
			qcom,en-brake;
			qcom,brake-pattern = [03 03 00 00];
			qcom,use-play-irq;
			qcom,use-sc-irq;
			qcom,wave-samples = [3e 3e 3e 3e 3e 3e 3e 3e];
			qcom,wave-rep-cnt = <1>;
			qcom,wave-samp-rep-cnt = <1>;
			qcom,lra-auto-res-mode="qwd";
			qcom,lra-high-z="opt1";
			qcom,lra-res-cal-period = <0>;
		};
	};
};