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

Commit 980e036d authored by Fenglin Wu's avatar Fenglin Wu
Browse files

ARM: dts: msm: enable haptics for Lahaina QRD

Enable haptics device node and update parameters according to the
LRA actuator installed on Lahaina QRD device.

Change-Id: Ica7b30122c0374a88d667052c48e5b124b7274e4
parent c7152656
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
@@ -15,6 +15,48 @@
	status = "ok";
};

&pm8350b_haptics {
	qcom,vmax-mv = <900>;
	qcom,lra-period-us = <5880>;
	status = "ok";

	effect_0 {
		/* CLICK */
		qcom,wf-vmax-mv = <1800>;
		qcom,wf-pattern-period-us = <5880>;
	};

	effect_1 {
		/* DOUBLE_CLICK */
		qcom,wf-vmax-mv = <1800>;
		qcom,wf-pattern-period-us = <5880>;
	};

	effect_2 {
		/* TICK */
		qcom,wf-vmax-mv = <1800>;
		qcom,wf-pattern-period-us = <5880>;
	};

	effect_3 {
		/* THUD */
		qcom,wf-vmax-mv = <1800>;
		qcom,wf-pattern-period-us = <5880>;
	};

	effect_4 {
		/* POP */
		qcom,wf-vmax-mv = <1800>;
		qcom,wf-pattern-period-us = <5880>;
	};

	effect_5 {
		/* HEAVY CLICK */
		qcom,wf-vmax-mv = <1800>;
		qcom,wf-pattern-period-us = <5880>;
	};
};

&soc {
	gpio_keys {
		compatible = "gpio-keys";