drm/panel: st7703: Assert reset prior to powering down the regulators
authorOndrej Jirman <megous@megous.com>
Wed, 1 Jul 2020 16:29:26 +0000 (18:29 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 1 Jul 2020 17:25:50 +0000 (19:25 +0200)
commitc8a753484066a6382d2539d3dca1428164a682bf
tree21ee380311004651beb77ff88db34ad8baffd806
parent43fc6db016a01793a89904ec71793337961ae5b0
drm/panel: st7703: Assert reset prior to powering down the regulators

The reset pin is inverted, so if we don't assert reset, the actual gpio
will be high and may keep driving the IO port of the panel.

Signed-off-by: Ondrej Jirman <megous@megous.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200701162928.1638874-12-megous@megous.com
drivers/gpu/drm/panel/panel-sitronix-st7703.c