Post #2932259
2026-02-23 07:23 UTC
@cas@social.treehouse.systems @valpackett@social.treehouse.systems Uhh, are you sure? This looks like hard-coded value… https://gitlab.com/sdm845-mainline/linux/-/blob/sdm845/6.16-dev/drivers/input/misc/qcom-spmi-haptics.c#L820-830
I just looked at DT dumped from downstream, apparently I need “SQUARE” instead of “SINE”. With that it kinda works, but is very weak (probably a different actuator type):
qcom,haptics@c000 {
compatible = "qcom,pm660-haptics";
reg = ;
interrupts = ;
interrupt-names = "hap-sc-irq", "hap-play-irq";
qcom,actuator-type = "erm";
qcom,vmax-mv = ;
qcom,ilim-ma = ;
qcom,play-rate-us = ;
qcom,lra-auto-resonance-mode = "qwd";
qcom,lra-resonance-sig-shape = "square";
status = "okay";
phandle = ;
Replies (2)
-
@valpackett@social.treehouse.systems 2026-02-23 07:29
@elly@donotsta.re @cas@social.treehouse.systems yeap it does feel quite weak on the motorola-guamp as well
-
@cas@social.treehouse.systems 2026-02-23 08:25
@elly@donotsta.re @valpackett@social.treehouse.systems yeah LRA (linear resonant actuator) vs ERM (eccentric rotating mass) is a big difference, LRA requires fancy tuning and is driven totally differently