Re: [PATCH V5 8/8] backlight: qcom-wled: Add auto string detection logic

2018-08-29 Thread kgunda
On 2018-08-27 20:24, Bjorn Andersson wrote: On Fri 24 Aug 03:27 PDT 2018, Kiran Gunda wrote: diff --git a/drivers/video/backlight/qcom-wled.c b/drivers/video/backlight/qcom-wled.c [..] struct wled { @@ -135,16 +146,22 @@ struct wled { struct regmap *regmap; struct mutex lock;

Re: [PATCH V5 8/8] backlight: qcom-wled: Add auto string detection logic

2018-08-28 Thread Bjorn Andersson
On Fri 24 Aug 03:27 PDT 2018, Kiran Gunda wrote: > diff --git a/drivers/video/backlight/qcom-wled.c > b/drivers/video/backlight/qcom-wled.c [..] > struct wled { > @@ -135,16 +146,22 @@ struct wled { > struct regmap *regmap; > struct mutex lock; /* Lock to avoid race from thread

[PATCH V5 8/8] backlight: qcom-wled: Add auto string detection logic

2018-08-27 Thread Kiran Gunda
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