Skip to content

Commit 13047a0

Browse files
ejdea-intelmlankhorst
authored andcommitted
drm/kmb: Remove clearing DPHY regs
Don't clear the shared DPHY registers common to MIPI Rx and MIPI Tx during DSI initialization since this was causing MIPI Rx reset. Rest of the writes are bitwise, so will not affect Mipi Rx side. Fixes: 98521f4 ("drm/kmb: Mipi DSI part of the display driver") Signed-off-by: Edmund Dea <[email protected]> Signed-off-by: Anitha Chrisanthus <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Maarten Lankhorst <[email protected]>
1 parent a79f40c commit 13047a0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/gpu/drm/kmb/kmb_dsi.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,11 +1393,6 @@ int kmb_dsi_mode_set(struct kmb_dsi *kmb_dsi, struct drm_display_mode *mode,
13931393
mipi_tx_init_cfg.lane_rate_mbps = data_rate;
13941394
}
13951395

1396-
kmb_write_mipi(kmb_dsi, DPHY_ENABLE, 0);
1397-
kmb_write_mipi(kmb_dsi, DPHY_INIT_CTRL0, 0);
1398-
kmb_write_mipi(kmb_dsi, DPHY_INIT_CTRL1, 0);
1399-
kmb_write_mipi(kmb_dsi, DPHY_INIT_CTRL2, 0);
1400-
14011396
/* Initialize mipi controller */
14021397
mipi_tx_init_cntrl(kmb_dsi, &mipi_tx_init_cfg);
14031398

0 commit comments

Comments
 (0)