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
This commit is contained in:
Fenglin Wu
2020-02-17 10:42:25 +08:00
parent c7152656c7
commit 980e036d29

View File

@@ -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";