fix: add DSI_INIT0 lane config to old panel init seq + fix mode_flags
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
--- a/drivers/gpu/drm/panel/panel-cwu50.c
|
||||
+++ b/drivers/gpu/drm/panel/panel-cwu50.c
|
||||
@@ -67,7 +67,9 @@ static void cwu50_init_sequence(struct cwu50 *ctx)
|
||||
@@ -58,5 +58,8 @@
|
||||
dcs_write_seq(0x72,0x06);
|
||||
dcs_write_seq(0x75,0x03);
|
||||
+ /* DSI_INIT0: set 4 lanes (bits[1:0]=11) — fixes lane count default */
|
||||
+ /* DSI_INIT0: set 4 lanes (bits[1:0]=11) */
|
||||
+ dcs_write_seq(0x80,0x03);
|
||||
dcs_write_seq(0xE0,0x01);
|
||||
+
|
||||
dcs_write_seq(0x00,0x00);
|
||||
dcs_write_seq(0x01,0x47);//VCOM0x47
|
||||
dcs_write_seq(0x03,0x00);
|
||||
|
||||
@@ -164,7 +166,7 @@ static int cwu50_probe(struct mipi_dsi_device *dsi)
|
||||
|
||||
@@ -721,6 +723,6 @@
|
||||
dsi->lanes = 4;
|
||||
dsi->format = MIPI_DSI_FMT_RGB888;
|
||||
- dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | MIPI_DSI_MODE_VIDEO_SYNC_PULSE;
|
||||
|
||||
Reference in New Issue
Block a user