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)
commit6af672523fe4bd71f5e70c50258fd0fc09663fae
tree7ba68747664e56299fb598b7d01144bca9f9f396
parent938f324e7df25e89226c6fe137028af73cd6160b
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: 72967d5616d3 ("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