Skip to content

Commit df549a5

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

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
@@ -192,6 +192,18 @@
192192
status = "okay";
193193
};
194194

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

0 commit comments

Comments
 (0)