Skip to content

Commit 8b59fb4

Browse files
MWPpelwell
authored andcommitted
ILI9881C: Update timings for CFAF7201280A0-050TX
Update of ILI9881C CFAF7201280A0-050TX panel timing to work with the CM5. Signed-off-by: Mark Williams <mark@crystalfontz.com>
1 parent b2873db commit 8b59fb4

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

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

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2296,17 +2296,21 @@ 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+
/*
2300+
* These timings are a compromise so the panel will work with
2301+
* both the CM4 and CM5.
2302+
*/
2303+
.clock = 78000,
2304+
.hdisplay = 720,
2305+
.hsync_start = 720 + 120,
2306+
.hsync_end = 720 + 120 + 2,
2307+
.htotal = 720 + 120 + 2 + 80,
2308+
.vdisplay = 1280,
2309+
.vsync_start = 1280 + 60,
2310+
.vsync_end = 1280 + 60 + 2,
2311+
.vtotal = 1280 + 60 + 2 + 90,
2312+
.width_mm = 62,
2313+
.height_mm = 110,
23102314
};
23112315

23122316
static const struct drm_display_mode rpi_5inch_default_mode = {

0 commit comments

Comments
 (0)