Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9837851f authored by Fenglin Wu's avatar Fenglin Wu
Browse files

input: qcom-hv-haptics: Add LRA frequency calibration interfaces



Add interfaces to run calibration sequence and read out the closed
loop LRA frequency. With this change, the closed loop LRA frequency
can be read out using following commands:

    echo 1 > /sys/class/qcom-haptics/lra_calibration
    cat /sys/class/qcom-haptics/lra_frequency_hz

Meanwhile, correct the setting for direct play, it expects a 8-bit
value to represent the proportion of vmax instead of the actual vmax
voltage.

Change-Id: I9f3bfb978240ca853446dee4877d6ece4b465058
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent af265a84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment