Skip to content

Commit e6c21e6

Browse files
pcercueisravnborg
authored andcommitted
drm/panel: simple: Add 50Hz mode for sharp,ls020b1dd01d
Add a perfect 50.00 Hz frame rate mode to the list of available modes for the Sharp LS020B1DD01D panel. Signed-off-by: Paul Cercueil <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent c1bd32b commit e6c21e6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

drivers/gpu/drm/panel/panel-simple.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3399,6 +3399,18 @@ static const struct panel_desc sharp_lq123p1jx31 = {
33993399
};
34003400

34013401
static const struct drm_display_mode sharp_ls020b1dd01d_modes[] = {
3402+
{ /* 50 Hz */
3403+
.clock = 3000,
3404+
.hdisplay = 240,
3405+
.hsync_start = 240 + 58,
3406+
.hsync_end = 240 + 58 + 1,
3407+
.htotal = 240 + 58 + 1 + 1,
3408+
.vdisplay = 160,
3409+
.vsync_start = 160 + 24,
3410+
.vsync_end = 160 + 24 + 10,
3411+
.vtotal = 160 + 24 + 10 + 6,
3412+
.flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC,
3413+
},
34023414
{ /* 60 Hz */
34033415
.clock = 3000,
34043416
.hdisplay = 240,

0 commit comments

Comments
 (0)