Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: panel: boe-bf060y8m-aj0: Enable prepare_prev_first

Enable prepare_prev_first flag for BF060Y8M-AJ0 panel so that the
previous controller should be prepared first before the prepare for
the panel is called.

This makes sure that the previous controller, likely to be a DSI host
controller should be initialized to LP-11 before the panel is powered up.

Suggested-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Dang Huynh <danct12@riseup.net>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240722-bf060y8m-aj0-prepare-prev-v1-1-0e51c0f59d22@riseup.net
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240722-bf060y8m-aj0-prepare-prev-v1-1-0e51c0f59d22@riseup.net

authored by

Dang Huynh and committed by
Neil Armstrong
61eec998 19cc4b7d

+2
+2
drivers/gpu/drm/panel/panel-boe-bf060y8m-aj0.c
··· 377 377 drm_panel_init(&boe->panel, dev, &boe_bf060y8m_aj0_panel_funcs, 378 378 DRM_MODE_CONNECTOR_DSI); 379 379 380 + boe->panel.prepare_prev_first = true; 381 + 380 382 boe->panel.backlight = boe_bf060y8m_aj0_create_backlight(dsi); 381 383 if (IS_ERR(boe->panel.backlight)) 382 384 return dev_err_probe(dev, PTR_ERR(boe->panel.backlight),