All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix st7703 panel initialization failures
@ 2020-07-16 12:37 ` Ondrej Jirman
  0 siblings, 0 replies; 20+ messages in thread
From: Ondrej Jirman @ 2020-07-16 12:37 UTC (permalink / raw)
  To: David Airlie, Daniel Vetter, Thierry Reding, Sam Ravnborg,
	Fabio Estevam, Guido Günther, Robert Chiras
  Cc: Ondrej Jirman, Samuel Holland, dri-devel, linux-kernel

When extending the driver for xbd599 panel support I tried to do minimal
changes and keep the existing initialization timing.

It turned out that it's not good enough and the existing init sequence
is too aggressive and doesn't follow the specification. On PinePhone
panel is being powered down/up during suspend/resume and with current
timings this frequently leads to corrupted display.

This patch series fixes the problems.

The issue was reported by Samuel Holland.

Relevant screenshots from the datasheet:

  Power on timing: https://megous.com/dl/tmp/35b72e674ce0ca27.png
  Power off timing: https://megous.com/dl/tmp/dea195517106ff17.png
  More optimal reset on poweron: https://megous.com/dl/tmp/a9e5caf14e1b0dc6.png
  Less optimal reset on poweron: https://megous.com/dl/tmp/246761039283c4cf.png
  Datasheet: https://megous.com/dl/tmp/ST7703_DS_v01_20160128.pdf

Please take a look.

thank you and regards,
  Ondrej Jirman

Ondrej Jirman (2):
  drm/panel: st7703: Make the sleep exit timing match the spec
  drm/panel: st7703: Fix the power up sequence of the panel

 drivers/gpu/drm/panel/panel-sitronix-st7703.c | 29 ++++++++++---------
 1 file changed, 15 insertions(+), 14 deletions(-)

-- 
2.27.0


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

end of thread, other threads:[~2020-08-01 11:04 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16 12:37 [PATCH 0/2] Fix st7703 panel initialization failures Ondrej Jirman
2020-07-16 12:37 ` Ondrej Jirman
2020-07-16 12:37 ` [PATCH 1/2] drm/panel: st7703: Make the sleep exit timing match the spec Ondrej Jirman
2020-07-16 12:37   ` Ondrej Jirman
2020-07-16 12:37 ` [PATCH 2/2] drm/panel: st7703: Fix the power up sequence of the panel Ondrej Jirman
2020-07-16 12:37   ` Ondrej Jirman
2020-07-16 14:08 ` [PATCH 0/2] Fix st7703 panel initialization failures Guido Günther
2020-07-16 14:08   ` Guido Günther
2020-07-16 14:32   ` Ondřej Jirman
2020-07-16 14:32     ` Ondřej Jirman
2020-07-18 17:31     ` Guido Günther
2020-07-18 17:31       ` Guido Günther
2020-07-18 17:42       ` Ondřej Jirman
2020-07-18 17:42         ` Ondřej Jirman
2020-07-29 15:48         ` Guido Günther
2020-07-29 15:48           ` Guido Günther
2020-07-30 13:41           ` Ondřej Jirman
2020-07-30 13:41             ` Ondřej Jirman
2020-08-01 11:04             ` Guido Günther
2020-08-01 11:04               ` Guido Günther

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.