Skip to content

Commit 0007d7e

Browse files
committed
arm64: dts: sdm450: motorola-ali: Add haptics
Signed-off-by: Jack Matthews <jm5112356@gmail.com>
1 parent fd35aa9 commit 0007d7e

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/sdm450-motorola-ali.dts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,18 @@
191191
status = "okay";
192192
};
193193

194+
&pmi8950_haptics {
195+
qcom,actuator-type = <HAP_TYPE_LRA>;
196+
qcom,auto-res-mode = <HAP_AUTO_RES_NONE>;
197+
qcom,brake-pattern = <0x3 0x3 0x2 0x0>;
198+
qcon,play-mode = <HAP_PLAY_DIRECT>;
199+
qcom,vmax-millivolt = <2500>;
200+
qcom,wave-play-rate-us = <4255>;
201+
qcom,wave-shape = <HAP_WAVE_SINE>;
202+
203+
status = "okay";
204+
};
205+
194206
&pmi8950_smbcharger {
195207
monitored-battery = <&battery>;
196208
status = "okay";

0 commit comments

Comments
 (0)