diff --git a/patches/0008-panel-cwu50-fix-init-seq1.patch b/patches/0008-panel-cwu50-fix-init-seq1.patch index eb0e0a5..fbf3c81 100644 --- a/patches/0008-panel-cwu50-fix-init-seq1.patch +++ b/patches/0008-panel-cwu50-fix-init-seq1.patch @@ -1,12 +1,17 @@ --- a/drivers/gpu/drm/panel/panel-cwu50.c +++ b/drivers/gpu/drm/panel/panel-cwu50.c -@@ -65,6 +65,8 @@ static void cwu50_init_sequence(struct cwu50 *ctx) +@@ -67,7 +67,9 @@ static void cwu50_init_sequence(struct cwu50 *ctx) dcs_write_seq(0x72,0x06); dcs_write_seq(0x75,0x03); + /* DSI_INIT0: set 4 lanes (bits[1:0]=11) — fixes lane count default */ + dcs_write_seq(0x80,0x03); dcs_write_seq(0xE0,0x01); -@@ -162,7 +164,7 @@ static int cwu50_probe(struct mipi_dsi_device *dsi) ++ + 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) dsi->lanes = 4; dsi->format = MIPI_DSI_FMT_RGB888;