Some boards drive the panel's backlight from an external WLED driver
whose enable input is wired through a supply, typically modeled as a
fixed regulator (e.g. vreg_wled).

Add the WLED supply to the panel's bulk regulator list so it can be
enabled/disabled along with the other panel supplies.

Fixes: dd7ec83f4567 ("drm/panel: add Ilitek ILI7807S panel driver")
Signed-off-by: Arpit Saini <[email protected]>
---
 drivers/gpu/drm/panel/panel-ilitek-ili7807s.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili7807s.c 
b/drivers/gpu/drm/panel/panel-ilitek-ili7807s.c
index 12b491b0bca4..eba74f2677ed 100644
--- a/drivers/gpu/drm/panel/panel-ilitek-ili7807s.c
+++ b/drivers/gpu/drm/panel/panel-ilitek-ili7807s.c
@@ -38,6 +38,7 @@ static const struct regulator_bulk_data ili7807s_supplies[] = 
{
        { .supply = "vddi" },
        { .supply = "avdd" },
        { .supply = "avee" },
+       { .supply = "wled" },
 };
 
 static inline struct ili7807s *to_ili7807s(struct drm_panel *panel)

-- 
2.34.1

Reply via email to