rk3399 mipi phy force stop mode

Mika Penttilä mika.penttila at nextfour.com
Mon Jan 20 11:41:08 UTC 2020


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 3157 bytes
Desc: pEpkey.asc
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20200120/7e957154/attachment-0001.key>


More information about the dri-devel mailing list