drm/panel: mantix: Fix panel reset
authorGuido Günther <agx@sigxcpu.org>
Tue, 13 Oct 2020 10:32:47 +0000 (12:32 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 16 Oct 2020 14:24:29 +0000 (16:24 +0200)
commit787099f8671c5cec6cadbb3da3713d97df5c7fd6
tree6102a596865c43c9b588ce35437eafa78bcfaa1c
parentf41b019aa5e05f8172db2e9396b5c2d2602305e2
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.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Signed-off-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