video: bridge: tc358768: Add delay after PLL init
cover video: bridge: tc358768: Add delay after PLL init
After tc358768_setup_pll() enables PLL_CKEN and the lock indicator comes up, the downstream DSI register sequence runs 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):
video: bridge: tc358768: Add delay after PLL init
drivers/video/bridge/tc358768.c | 3 +++ 1 file changed, 3 insertions(+)
Signature · 1 line
2.51.0
PATCH 1/1 video: bridge: tc358768: Add delay after PLL init
After tc358768_setup_pll() enables PLL_CKEN and the lock indicator comes up, the downstream DSI register sequence runs 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/video/bridge/tc358768.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/video/bridge/tc358768.c +3 -0
@@ -488,6 +488,9 @@ static int tc358768_attach(struct udevice *dev)tc358768_setup_pll (dev); +/* Allow the PLL to settle */ +mdelay (20 ); + dsiclk = priv->dsiclk; hsbyteclk = dsiclk /4 ;
Signature · 1 line
2.51.0