drm/bridge: tc358762: Split register programming from pre-enable to enable
authorMarek Vasut <marex@denx.de>
Thu, 15 Jun 2023 20:18:58 +0000 (22:18 +0200)
committerRobert Foss <rfoss@kernel.org>
Thu, 22 Jun 2023 09:13:26 +0000 (11:13 +0200)
commit8a4b2fc9c91afb3b0509dfc0ea59dcb5a9f1a48e
tree34b860ad743e130231a6ae7a41b67b38ce1b8874
parenta4c253d4f39dc656c0bd2aee9c9a6c7ee7a7c1bc
drm/bridge: tc358762: Split register programming from pre-enable to enable

Move the register programming part, which actually enables the bridge and
makes it push data out of its DPI side, into the enable callback. The DSI
host like DSIM may not be able to transmit commands in pre_enable, moving
the register programming into enable assures it can transmit commands.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230615201902.566182-1-marex@denx.de
drivers/gpu/drm/bridge/tc358762.c