Skip to contentSkip to conversation

rk3399 mipi phy force stop mode

DISCUSSION Mika Penttilä 1 participant 1 message Jan 20, 2020

lore
Share & tools
lore
#0 lore raw

Hi,

We are developing a custom rk3399 based board. We have a need for the MIPI phy data lanes to come up in stop (LP-11) mode and stay there until commanded. We are interfacing a TI SN65DSI84 mipi to lvds bridge, and it demands the data lanes to stay in LP-11 state for the time of the initialization.

What we see now, is that data lines come out of LP-11 before the bridge has configured itself, which leads to bridge malfunction.

I have tried to add RK3399_DSI1_FORCETXSTOPMODE to dw-mipi-dsi-rockchip.c like this :

        .lanecfg1 = HIWORD_UPDATE(RK3399_DSI1_FORCETXSTOPMODE, RK3399_DSI1_TURNDISABLE | RK3399_DSI1_FORCETXSTOPMODE | RK3399_DSI1_FORCERXMODE | RK3399_DSI1_ENABLE),

but this doesn't do the trick. How could we put the stop mode on, and after bridge config, get rid of it?

Thanks,
Mika Penttilä
Nextfour Group

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel