]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/bridge: analogix_dp: Add new API analogix_dp_finish_probe()
authorDamon Ding <damon.ding@rock-chips.com>
Mon, 13 Apr 2026 13:25:46 +0000 (21:25 +0800)
committerLuca Ceresoli <luca.ceresoli@bootlin.com>
Mon, 13 Apr 2026 15:42:30 +0000 (17:42 +0200)
commite9c897c898f9ff32d93380ee4ebc778a6b787aaa
tree67bc24c0b7359c60a4300a9c193f284063b89b7c
parent99a49ff5ef7a5f01e28e724b888d94b6735a88c1
drm/bridge: analogix_dp: Add new API analogix_dp_finish_probe()

Since the panel/bridge should logically be positioned behind the
Analogix bridge in the display pipeline, it makes sense to handle
the panel/bridge parsing on the Analogix side. Therefore, we add
a new API analogix_dp_finish_probe(), which combines the panel/bridge
parsing with component addition, to do it.

In order to process component binding right after the probe completes,
the &analogix_dp_plat_data.ops is newly added to pass &component_ops,
for which the &dp_aux_ep_device_with_data.done_probing() of DP AUX bus
only supports passing &drm_dp_aux.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Heiko Stuebner <heiko@sntech.de> # rk3588
Link: https://patch.msgid.link/20260413132551.1049307-4-damon.ding@rock-chips.com
[Luca: propagate 'depends on OF' to DRM_ANALOGIX_DP and reverse dependencies]
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
drivers/gpu/drm/bridge/analogix/Kconfig
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
drivers/gpu/drm/exynos/Kconfig
include/drm/bridge/analogix_dp.h