]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dsi: Allow 2 CTRLs on v2.5.0
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Fri, 20 Jan 2023 21:00:53 +0000 (22:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:15 +0000 (09:33 +0100)
commit08257e287e607f680b7d61e3439921ad33708460
treeb027fc1581d0e79d6d1231124ba32760a0e3b635
parentc53812d268dce9f972a7d19f06a8031dfee76434
drm/msm/dsi: Allow 2 CTRLs on v2.5.0

[ Upstream commit 540fe02c6a1452aab2d86240135193f5e085aafc ]

v2.5.0 support was originally added for SC7280, but this hw is also
present on SM8350, which has one more DSI host. Bump up the dsi count
and fill in the register of the secondary host to allow it to probe.

This should not have any adverse effects on SC7280, as the secondary
CTRL will only be touched if it's defined, anyway.

Fixes: 876f8826d8fc ("drm/msm/dsi: Add DSI support for SC7280")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/519513/
Link: https://lore.kernel.org/r/20230120210101.2146852-1-konrad.dybcio@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/msm/dsi/dsi_cfg.c