drm/msm/dsi: Correct io_start for MSM8994 (20nm PHY)
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Mon, 18 Jan 2021 16:15:58 +0000 (17:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Mar 2021 10:38:12 +0000 (11:38 +0100)
[ Upstream commit 33a7808ce1aea6e2edc1af25db25928137940c02 ]

The previous registers were *almost* correct, but instead of
PHYs, they were pointing at DSI PLLs, resulting in the PHY id
autodetection failing miserably.

Fixes: dcefc117cc19 ("drm/msm/dsi: Add support for msm8x94")
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/msm/dsi/phy/dsi_phy_20nm.c

index 1afb7c5..eca86bf 100644 (file)
@@ -139,7 +139,7 @@ const struct msm_dsi_phy_cfg dsi_phy_20nm_cfgs = {
                .disable = dsi_20nm_phy_disable,
                .init = msm_dsi_phy_init_common,
        },
-       .io_start = { 0xfd998300, 0xfd9a0300 },
+       .io_start = { 0xfd998500, 0xfd9a0500 },
        .num_dsi_phy = 2,
 };