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)
commit4280e1a0ba1dca1e7c4c35d0c790dc8977d840a0
tree0fbccb6017fe5d1bc339c0c47efe4174123f2af6
parent4d77688ff27c7d030b5113f0cf0b0a2a433b2a62
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