Skip to content

Commit e63f50c

Browse files
authored
Update ILI9881C panel timings for CFAF7201280A0-050TX
Update of CFAF7201280A0-050TX panel timing to work with the CM5.
1 parent 5610622 commit e63f50c

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

drivers/gpu/drm/panel/panel-ilitek-ili9881c.c

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2296,17 +2296,19 @@ static const struct drm_display_mode nwe080_default_mode = {
22962296
};
22972297

22982298
static const struct drm_display_mode cfaf7201280a0_050tx_default_mode = {
2299-
.clock = 72830,
2300-
.hdisplay = 720,
2301-
.hsync_start = 720 + 87,
2302-
.hsync_end = 720 + 87 + 20,
2303-
.htotal = 720 + 87 + 20 + 87,
2304-
.vdisplay = 1280,
2305-
.vsync_start = 1280 + 16,
2306-
.vsync_end = 1280 + 16 + 8,
2307-
.vtotal = 1280 + 16 + 8 + 16,
2308-
.width_mm = 62,
2309-
.height_mm = 110,
2299+
/* these timings are a compromise so the panel will work with both
2300+
the CM4 and CM5 */
2301+
.clock = 78000,
2302+
.hdisplay = 720,
2303+
.hsync_start = 720 + 120,
2304+
.hsync_end = 720 + 120 + 2,
2305+
.htotal = 720 + 120 + 2 + 80,
2306+
.vdisplay = 1280,
2307+
.vsync_start = 1280 + 60,
2308+
.vsync_end = 1280 + 60 + 2,
2309+
.vtotal = 1280 + 60 + 2 + 90,
2310+
.width_mm = 62,
2311+
.height_mm = 110,
23102312
};
23112313

23122314
static const struct drm_display_mode rpi_5inch_default_mode = {

0 commit comments

Comments
 (0)