]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/panel: simple: Add delay timing for Sharp LQ123P1JX31
authorYakir Yang <ykk@rock-chips.com>
Thu, 21 Jul 2016 13:14:34 +0000 (21:14 +0800)
committerThierry Reding <treding@nvidia.com>
Wed, 24 Aug 2016 14:19:48 +0000 (16:19 +0200)
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>
drivers/gpu/drm/panel/panel-simple.c

index 85143d1b9b3168062aef554e7041956cf4f62ec0..f17899867c10e1b5b692dea71681cf2cf7384274 100644 (file)
@@ -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 = {