Skip to content

Commit 8663c18

Browse files
I-n-o-kLee Jones
authored andcommitted
backlight: qcom-wled: Add auto string detection logic
The auto string detection algorithm checks if the current WLED sink configuration is valid. It tries enabling every sink and checks if the OVP fault is observed. Based on this information it detects and enables the valid sink configuration. Auto calibration will be triggered when the OVP fault interrupts are seen frequently thereby it tries to fix the sink configuration. The auto-detection also kicks in when the connected LED string of the display-backlight malfunctions (because of damage) and requires the damaged string to be turned off to prevent the complete panel and/or board from being damaged. Signed-off-by: Kiran Gunda <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Signed-off-by: Lee Jones <[email protected]>
1 parent feeab87 commit 8663c18

File tree

1 file changed

+394
-6
lines changed

1 file changed

+394
-6
lines changed

0 commit comments

Comments
 (0)