]> 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)
commita1251d595fffab0ad99fda66c4a008f970df98c5
tree0fbccb6017fe5d1bc339c0c47efe4174123f2af6
parentccaeed905ebe8749620675dd051d72062eb1ead9
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