]> 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)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 16 Oct 2020 14:24:29 +0000 (16:24 +0200)
commit9958a5f92e234a1a2d1dbfe8ab091f4df1ea2164
tree6102a596865c43c9b588ce35437eafa78bcfaa1c
parent8255ccf20ea0fd97cd935bbdea55c73e08c1cb7b
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