summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panel
diff options
context:
space:
mode:
authorYakir Yang <ykk@rock-chips.com>2016-07-21 16:14:34 +0300
committerThierry Reding <treding@nvidia.com>2016-08-24 17:19:48 +0300
commita42f6e3f8f0351abe91a97108e33083e6cfafc34 (patch)
treecfc4e35690d55751c4606802dcef0bd4df4767ec /drivers/gpu/drm/panel
parent1a9d759331b832c3d667d9473661497faada6df8 (diff)
downloadlinux-a42f6e3f8f0351abe91a97108e33083e6cfafc34.tar.xz
drm/panel: simple: Add delay timing for Sharp LQ123P1JX31
According to page 16 of the Sharp LQ123P1JX31 datasheet, we need to add the missing delay timing. Panel prepare time should be t1 (0.5 to 10 ms) plus t3 (0 to 100 ms), panel enable time should equal to t7 (0 to 50 ms) and panel unprepare time should be t11 (1 to 50 ms) plus t12 (500 ms). Signed-off-by: Yakir Yang <ykk@rock-chips.com> Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/panel')
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 85143d1b9b31..f17899867c10 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1384,6 +1384,11 @@ static const struct panel_desc sharp_lq123p1jx31 = {
.width = 259,
.height = 173,
},
+ .delay = {
+ .prepare = 110,
+ .enable = 50,
+ .unprepare = 550,
+ },
};
static const struct drm_display_mode shelly_sca07010_bfn_lnn_mode = {