diff mbox

drm/panel: simple-panel: add delay timings for Starry KR122EA0SRA

Message ID 1472247134-110026-1-git-send-email-briannorris@chromium.org (mailing list archive)
State New, archived
Headers show

Commit Message

Brian Norris Aug. 26, 2016, 9:32 p.m. UTC
Taking our cue from commit a42f6e3f8f03 ("drm/panel: simple: Add delay
timing for Sharp LQ123P1JX31"), let's add timings:

 .prepare = t1 + t3
 .enable = t7
 .unprepare = t11 + 12

Without this, the panel may not be given enough time to come up.

Signed-off-by: Brian Norris <briannorris@chromium.org>
---
 drivers/gpu/drm/panel/panel-simple.c | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Thierry Reding Sept. 16, 2016, 3:18 p.m. UTC | #1
On Fri, Aug 26, 2016 at 02:32:14PM -0700, Brian Norris wrote:
> Taking our cue from commit a42f6e3f8f03 ("drm/panel: simple: Add delay
> timing for Sharp LQ123P1JX31"), let's add timings:
> 
>  .prepare = t1 + t3
>  .enable = t7
>  .unprepare = t11 + 12
> 
> Without this, the panel may not be given enough time to come up.
> 
> Signed-off-by: Brian Norris <briannorris@chromium.org>
> ---
>  drivers/gpu/drm/panel/panel-simple.c | 5 +++++
>  1 file changed, 5 insertions(+)

Applied, thanks.

Thierry
diff mbox

Patch

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index f17899867c10..74c321026fa1 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1435,6 +1435,11 @@  static const struct panel_desc starry_kr122ea0sra = {
 		.width = 263,
 		.height = 164,
 	},
+	.delay = {
+		.prepare = 10 + 200,
+		.enable = 50,
+		.unprepare = 10 + 500,
+	},
 };
 
 static const struct drm_display_mode tpk_f07a_0102_mode = {