]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panel: mantix: Fix panel reset
authorGuido Günther <agx@sigxcpu.org>
Tue, 13 Oct 2020 10:32:47 +0000 (12:32 +0200)
committerGuido Günther <agx@sigxcpu.org>
Fri, 23 Oct 2020 08:05:17 +0000 (10:05 +0200)
commit933811c64ad88a616557cb92608aa7f3a1831e48
tree7ba68747664e56299fb598b7d01144bca9f9f396
parent4e2d63fb45cdf872e7ec8f5ee3c03c2fe9c594e1
drm/panel: mantix: Fix panel reset

The mantix panel needs two reset lines (RESX and TP_RSTN) deasserted to
output an image. Only deasserting RESX is not enough and the display
will stay blank. Deassert in prepare() and assert in unprepare() to keep
device held in reset when off.

Fixes: 00de6f3f99c2 ("drm/panel: Add panel driver for the Mantix MLAF057WE51-X DSI panel")
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/ba71a8ab010d263a8058dd4f711e3bcd95877bf2.1602584953.git.agx@sigxcpu.org
drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c