gpu/drm: bridge: tc358768: Add delay after PLL setup
Subsystems (3)
cover gpu/drm: bridge: tc358768: Add delay after PLL setup
After tc358768_setup_pll() enables PLL_CKEN and the lock indicator comes up, the DSI register sequence runs near immediately. On TF700T this results in the bridge claiming PLL lock but producing no DSI video output:
the panel powers up, the backlight comes on, but the framebuffer is never scanned out.
Insert a small settling delay between PLL setup and the rest of the attach.
Svyatoslav Ryhel (1):
gpu/drm: bridge: tc358768: Add delay after PLL setup
drivers/gpu/drm/bridge/tc358768.c | 3 +++ 1 file changed, 3 insertions(+)
Signature · 1 line
2.51.0
PATCH 1/1 gpu/drm: bridge: tc358768: Add delay after PLL setup
After tc358768_setup_pll() enables PLL_CKEN and the lock indicator comes up, the DSI register sequence runs near immediately. On TF700T this results in the bridge claiming PLL lock but producing no DSI video output:
the panel powers up, the backlight comes on, but the framebuffer is never scanned out.
Insert a small settling delay between PLL setup and the rest of the attach.
--- drivers/gpu/drm/bridge/tc358768.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/bridge/tc358768.c +3 -0
@@ -824,6 +824,9 @@ static void tc358768_bridge_atomic_pre_enable(struct drm_bridge *bridge,return ; } +/* Allow the PLL to settle */ +msleep (20 ); +drm_display_mode_to_videomode (mode, &vm); dsiclk = priv->dsiclk;
Signature · 1 line
2.51.0