drm/bridge: analogix_dp: move basic controller init into runtime PM
authorLucas Stach <l.stach@pengutronix.de>
Wed, 19 Jun 2024 18:21:54 +0000 (20:21 +0200)
committerRobert Foss <rfoss@kernel.org>
Thu, 27 Jun 2024 09:52:09 +0000 (11:52 +0200)
commit3efe2ace7f5b1199c1d6f250aa9bb50e19c38f50
tree7949016c097d8192fc1cc8cf2b408f5ec7178ed4
parent73f613908eb1c8a1361bac9d6e15d054ab959457
drm/bridge: analogix_dp: move basic controller init into runtime PM

Make sure the controller is in a basic working state after runtime
resume. Keep the analog function enable in the mode set path as this
enables parts of the PHY that are only required to be powered when
there is a data stream being sent out.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Robert Foss <rfoss@kernel.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240619182200.3752465-8-l.stach@pengutronix.de
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c