public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/3] drm/panel: simple-panel: add the delay timing for Sharp LQ123P1JX31
@ 2016-07-22  1:42 Yakir Yang
  2016-07-22  1:50 ` [PATCH v2 2/3] drm/bridge: analogix_dp: turn off the panel when eDP need to disable Yakir Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yakir Yang @ 2016-07-22  1:42 UTC (permalink / raw)
  To: Mark Yao, Inki Dae, Thierry Reding, Heiko Stuebner
  Cc: Jingoo Han, Javier Martinez Canillas, Stéphane Marchesin,
	Sean Paul, Tomasz Figa, dianders, David Airlie, daniel.vetter,
	Krzysztof Kozlowski, emil.l.velikov, Yakir Yang, linux-kernel,
	dri-devel, linux-samsung-soc, linux-rockchip

According to page 16 of Sharp LQ123P1JX31 datasheet, we need to add the
missing delay timing. Panel prepare time should be t1 (0.5ms~10ms) plus
t3 (0ms~100ms), and panel enable time should equal to t7 (0ms~50ms), and
panel unprepare time should be t11 (1ms~50ms) plus t12 (500ms~).

Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
---
Changes in v2:
- Add the reviewed tag from Sean.

 drivers/gpu/drm/panel/panel-simple.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 85143d1..f178998 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 = {
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-24 14:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-22  1:42 [PATCH v2 1/3] drm/panel: simple-panel: add the delay timing for Sharp LQ123P1JX31 Yakir Yang
2016-07-22  1:50 ` [PATCH v2 2/3] drm/bridge: analogix_dp: turn off the panel when eDP need to disable Yakir Yang
2016-07-22  1:50 ` [PATCH v2 3/3] drm/bridge: analogix_dp: remove the panel prepare/unprepare in suspend/resume Yakir Yang
2016-08-24 14:29 ` [PATCH v2 1/3] drm/panel: simple-panel: add the delay timing for Sharp LQ123P1JX31 Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox