OSDN Git Service

drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Fri, 15 Apr 2022 16:25:13 +0000 (18:25 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 20 Apr 2022 08:18:16 +0000 (10:18 +0200)
commit5f18c0782b99e26121efa93d20b76c19e17aa1dd
treeb08502598b079ff12c73e94f220837d822762a6d
parentf92055ae0acb035891e988ce345d6b81a0316423
drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare

The panel has a prepare call which is before video starts, and an
enable call which is after.
The Toshiba bridge should be configured before video, so move
the relevant power and initialisation calls to prepare.

Fixes: 2f733d6194bd ("drm/panel: Add support for the Raspberry Pi 7" Touchscreen.")
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220415162513.42190-3-stefan.wahren@i2se.com
drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c