Skip to content

Commit 880ee3b

Browse files
AntonioBorneosravnborg
authored andcommitted
drm/panel: otm8009a: allow using non-continuous dsi clock
The panel is able to work when dsi clock is non-continuous, thus the system power consumption can be reduced using such feature. Add MIPI_DSI_CLOCK_NON_CONTINUOUS to panel's mode_flags. Changes in v2: - Added my signed-off Signed-off-by: Antonio Borneo <[email protected]> Signed-off-by: Yannick Fertre <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent a34ebe7 commit 880ee3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/panel/panel-orisetech-otm8009a.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ static int otm8009a_probe(struct mipi_dsi_device *dsi)
438438
dsi->lanes = 2;
439439
dsi->format = MIPI_DSI_FMT_RGB888;
440440
dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
441-
MIPI_DSI_MODE_LPM;
441+
MIPI_DSI_MODE_LPM | MIPI_DSI_CLOCK_NON_CONTINUOUS;
442442

443443
drm_panel_init(&ctx->panel, dev, &otm8009a_drm_funcs,
444444
DRM_MODE_CONNECTOR_DSI);

0 commit comments

Comments
 (0)