diff mbox series

[2/2] drm/msm/dsi: Add DSI support for QCM2290

Message ID 1642527088-13088-2-git-send-email-loic.poulain@linaro.org (mailing list archive)
State Not Applicable
Headers show
Series [1/2] drm/msm/dsi: Add support for flexible DSI block mapping | expand

Commit Message

Loic Poulain Jan. 18, 2022, 5:31 p.m. UTC
Add support for QCM2290 DSI block. It's the same version as SC7180 DSI
block (2.4.1) and thus rely on io_mask.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
---
 drivers/gpu/drm/msm/dsi/dsi_cfg.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/msm/dsi/dsi_cfg.c b/drivers/gpu/drm/msm/dsi/dsi_cfg.c
index 96bbc8b..71af048 100644
--- a/drivers/gpu/drm/msm/dsi/dsi_cfg.c
+++ b/drivers/gpu/drm/msm/dsi/dsi_cfg.c
@@ -192,6 +192,7 @@  static const struct msm_dsi_config sc7180_dsi_cfg = {
 	.bus_clk_names = dsi_sc7180_bus_clk_names,
 	.num_bus_clks = ARRAY_SIZE(dsi_sc7180_bus_clk_names),
 	.io_start = { 0xae94000 },
+	.io_mask = 0x0ffffff, /* 0xae94000: sc7180; 0x5e94000: qcm2290 */
 	.num_dsi = 1,
 };