Skip to contentSkip to conversation

drm/msm/dsi: fix address for second DSI PHY on SDM660

PATCH In review Dmitry Baryshkov 3 participants 3 messages May 3, 2022 – May 4, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/msm/dsi: fix address for second DSI PHY on SDM660

Correct a typo in the address of the second DSI PHY in the SDM660 device config.

Fixes 694dd304cc29 ("drm/msm/dsi: Add phy configuration for SDM630/636/660")
Cc Konrad Dybcio <[email protected]>
---
 drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c +1 -1
index 75557ac99adf..8199c53567f4 100644
@@ -1062,7 +1062,7 @@ const struct msm_dsi_phy_cfg dsi_phy_14nm_660_cfgs = {
 	},
 	.min_pll_rate = VCO_MIN_RATE,
 	.max_pll_rate = VCO_MAX_RATE,
-	.io_start = { 0xc994400, 0xc996000 },
+	.io_start = { 0xc994400, 0xc996400 },
 	.num_dsi_phy = 2,
 };
 
Signature · 1 line
2.35.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Dmitry Baryshkov

Correct a typo in the address of the second DSI PHY in the SDM660 device config.

Fixes 694dd304cc29 ("drm/msm/dsi: Add phy configuration for SDM630/636/660")
Cc Konrad Dybcio <[email protected]>

Typo indeed. 0xc996400 is the correct PHY address of DSI1.
0xc996000 which was previously used here is the controller start address of DSI1.

Quoted 17 lines
---
  drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c +1 -1
index 75557ac99adf..8199c53567f4 100644
@@ -1062,7 +1062,7 @@ const struct msm_dsi_phy_cfg dsi_phy_14nm_660_cfgs = {
  	},
  	.min_pll_rate = VCO_MIN_RATE,
  	.max_pll_rate = VCO_MAX_RATE,
-	.io_start = { 0xc994400, 0xc996000 },
+	.io_start = { 0xc994400, 0xc996400 },
  	.num_dsi_phy = 2,
  };
 
Reviewed-by on v1 1/1
#2 lore raw
In reply to Dmitry Baryshkov
Quoted 8 lines · Dmitry Baryshkov

Correct a typo in the address of the second DSI PHY in the SDM660 device config.

Fixes 694dd304cc29 ("drm/msm/dsi: Add phy configuration for SDM630/636/660")
Cc Konrad Dybcio <[email protected]>

---

Gah I'm blind, I think I even had a fixup for this locally at one point :P

In any case,

Quoted 17 lines
  drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c +1 -1
index 75557ac99adf..8199c53567f4 100644
@@ -1062,7 +1062,7 @@ const struct msm_dsi_phy_cfg dsi_phy_14nm_660_cfgs = {
  	},
  	.min_pll_rate = VCO_MIN_RATE,
  	.max_pll_rate = VCO_MAX_RATE,
-	.io_start = { 0xc994400, 0xc996000 },
+	.io_start = { 0xc994400, 0xc996400 },
  	.num_dsi_phy = 2,
  };