drm/bridge: tc358767: Move bridge ops setup into tc_probe_edp_bridge_endpoint()
authorMarek Vasut <marex@denx.de>
Tue, 29 Mar 2022 08:50:12 +0000 (10:50 +0200)
committerRobert Foss <robert.foss@linaro.org>
Thu, 31 Mar 2022 13:59:10 +0000 (15:59 +0200)
commitdd1fd5ab7cd6dca15af6553b936a08cfc354e406
treed665d49a2baf6c2971f5afdfd64266c0d98f6ef8
parent824c7bb46c9c2b5fbdc910425357fe863db93c26
drm/bridge: tc358767: Move bridge ops setup into tc_probe_edp_bridge_endpoint()

The bridge ops are specific to the bridge configuration, move them
into tc_probe_edp_bridge_endpoint() to permit cleaner addition of
DSI-to-DPI mode. No functional change.

Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Lucas Stach <l.stach@pengutronix.de> # In both DPI to eDP and DSI to DPI mode.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Jonas Karlman <jonas@kwiboo.se>
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Cc: Maxime Ripard <maxime@cerno.tech>
Cc: Neil Armstrong <narmstrong@baylibre.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220329085015.39159-9-marex@denx.de
drivers/gpu/drm/bridge/tc358767.c