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

Skip to content
Commit b0dfe107 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

backlight: qcom-spmi-wled: Fix auto calibration brightness



Currently, when auto calibration algorithm runs because of an
OVP fault triggered by string misconfiguration, it sets a low
brightness level (200) to find the incorrect string by enforcing
the output feedback on each string. However, this doesn't help
finding the open string always as the WLED module may not be
regulating at a brightness lower than hybrid dimming threshold,
which is 6.25%.

As per the hardware recommendation, increase the auto calibration
brightness level to 512 (12.5%) which corrects the string
detection. While at it, change the regmap API that is used to
configure strings so that the write always happens as intended.

Change-Id: Ic5c6f31bde66a4f8db59279495237abdef0bfff7
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent a43a8828
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