]> git.baikalelectronics.ru Git - kernel.git/commit
drm/kirin: dsi: Adjust probe order
authorMaxime Ripard <maxime@cerno.tech>
Mon, 25 Oct 2021 15:15:35 +0000 (17:15 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 27 Oct 2021 20:07:58 +0000 (22:07 +0200)
commite3aade6a0533b5de4493dad3ed4ea502984601f6
tree0fbccb6017fe5d1bc339c0c47efe4174123f2af6
parent6e5a514664177cb1a243329edcc32f8a6e3ae6da
drm/kirin: dsi: Adjust probe order

Without proper care and an agreement between how DSI hosts and devices
drivers register their MIPI-DSI entities and potential components, we can
end up in a situation where the drivers can never probe.

Most drivers were taking evasive maneuvers to try to workaround this,
but not all of them were following the same conventions, resulting in
various incompatibilities between DSI hosts and devices.

Now that we have a sequence agreed upon and documented, let's convert
kirin to it.

Acked-by: John Stultz <john.stultz@linaro.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20211025151536.1048186-21-maxime@cerno.tech
drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c