]> git.baikalelectronics.ru Git - kernel.git/commit
drm/pl111: Insert delay before powering up PL11x
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 8 Sep 2017 12:47:07 +0000 (14:47 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 10 Sep 2017 21:58:29 +0000 (23:58 +0200)
commit9c63715143d2d495e13a382d4bbe224f509de926
tree4b671b60d70151d84b550e8c0ca2afdae63441cb
parent458c0e2fb3d952afc2dc681161351e5cd7d31362
drm/pl111: Insert delay before powering up PL11x

The old codebase has a delay between enabling and powering up the
PL11x.

According to the manual for PL110, ARM DDI 0161E page 1-5 and
the PL111 manual ARM DDI 0293C page 1-6, the power sequence should
be such that once Vdd is stable (which we assume it is at boot)
LCDEN is enabled first and then CLPOWER should be enabled
"after the signals have stabilized" and this is said to
be display-dependent. The old codebase uses 20ms.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20170908124709.4758-5-linus.walleij@linaro.org
drivers/gpu/drm/pl111/pl111_display.c