Skip to content

Commit d148665

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 <[email protected]>
1 parent 16c4035 commit d148665

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
@@ -2304,17 +2304,21 @@ static const struct drm_display_mode nwe080_default_mode = {
23042304
};
23052305

23062306
static const struct drm_display_mode cfaf7201280a0_050tx_default_mode = {
2307-
.clock = 72830,
2308-
.hdisplay = 720,
2309-
.hsync_start = 720 + 87,
2310-
.hsync_end = 720 + 87 + 20,
2311-
.htotal = 720 + 87 + 20 + 87,
2312-
.vdisplay = 1280,
2313-
.vsync_start = 1280 + 16,
2314-
.vsync_end = 1280 + 16 + 8,
2315-
.vtotal = 1280 + 16 + 8 + 16,
2316-
.width_mm = 62,
2317-
.height_mm = 110,
2307+
/*
2308+
* These timings are a compromise so the panel will work with
2309+
* both the CM4 and CM5.
2310+
*/
2311+
.clock = 78000,
2312+
.hdisplay = 720,
2313+
.hsync_start = 720 + 120,
2314+
.hsync_end = 720 + 120 + 2,
2315+
.htotal = 720 + 120 + 2 + 80,
2316+
.vdisplay = 1280,
2317+
.vsync_start = 1280 + 60,
2318+
.vsync_end = 1280 + 60 + 2,
2319+
.vtotal = 1280 + 60 + 2 + 90,
2320+
.width_mm = 62,
2321+
.height_mm = 110,
23182322
};
23192323

23202324
static const struct drm_display_mode rpi_5inch_default_mode = {

0 commit comments

Comments
 (0)