drm/panel: sharp: lq101r1sx01: Respect power timings
authorThierry Reding <treding@nvidia.com>
Mon, 8 Dec 2014 14:38:17 +0000 (15:38 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 28 Jan 2015 07:45:39 +0000 (08:45 +0100)
commitee920bca27da6c33de6ee73de7b34dee0298f703
treedea5146aaaba775792c0870272ba0f16c55efe58
parent4569619d0f3a38c41a4556c79ef63cabd4282558
drm/panel: sharp: lq101r1sx01: Respect power timings

Before shutting down the display using the DCS display_off command, wait
for 4 frames according to the datasheet.

Furthermore, after enabling the power supply, the supply voltage needs
around 10 ms to settle. After that, another 120 ms is required before a
DCS exit_sleep_mode command can be sent.

While at it, no longer send the DCS soft_reset command. This is totally
unnecessary because we've just powered up the display, hence it will be
in a reset state already.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c