aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2014-07-08 08:32:12 -0400
committerThierry Reding <treding@nvidia.com>2014-07-14 04:25:40 -0400
commit5e4cc278625d789b72a3a74f6b90362d2436f6a5 (patch)
treeed9deed409843cac5c687b4b1fb8ec0deee97fab
parent50d5ed399262f066f07daf3b6ab20be5d5b56ba7 (diff)
drm/panel: Set non-continuous clock flag on supporting panels
The LG LD070WX3-SL01 and Panasonic VVX10F004B00 are DSI support non-continuous clock mode. Set the MIPI_DSI_CLOCK_NON_CONTINUOUS to their definition so host drivers become aware of this capability. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index a25136132c31..869a84e31ddd 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -545,7 +545,7 @@ static const struct panel_desc_dsi lg_ld070wx3_sl01 = {
545 .height = 151, 545 .height = 151,
546 }, 546 },
547 }, 547 },
548 .flags = MIPI_DSI_MODE_VIDEO, 548 .flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_CLOCK_NON_CONTINUOUS,
549 .format = MIPI_DSI_FMT_RGB888, 549 .format = MIPI_DSI_FMT_RGB888,
550 .lanes = 4, 550 .lanes = 4,
551}; 551};
@@ -599,7 +599,8 @@ static const struct panel_desc_dsi panasonic_vvx10f004b00 = {
599 .height = 136, 599 .height = 136,
600 }, 600 },
601 }, 601 },
602 .flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE, 602 .flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
603 MIPI_DSI_CLOCK_NON_CONTINUOUS,
603 .format = MIPI_DSI_FMT_RGB888, 604 .format = MIPI_DSI_FMT_RGB888,
604 .lanes = 4, 605 .lanes = 4,
605}; 606};