mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user