Skip to content

Commit 2482c6f

Browse files
Yuanjie Yanglumag
authored andcommitted
drm/msm/dsi: Add support for Kaanapali
Add DSI Controller version 2.10.0 support for DSI on Qualcomm Kaanapali SoC. Co-developed-by: Yongxing Mou <yongxing.mou@oss.qualcomm.com> Signed-off-by: Yongxing Mou <yongxing.mou@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Yuanjie Yang <yuanjie.yang@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/698707/ Link: https://lore.kernel.org/r/20260115092749.533-8-yuanjie.yang@oss.qualcomm.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
1 parent 223bff6 commit 2482c6f

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

drivers/gpu/drm/msm/dsi/dsi_cfg.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,17 @@ static const struct msm_dsi_config sm8650_dsi_cfg = {
205205
},
206206
};
207207

208+
static const struct msm_dsi_config kaanapali_dsi_cfg = {
209+
.io_offset = DSI_6G_REG_SHIFT,
210+
.regulator_data = sm8650_dsi_regulators,
211+
.num_regulators = ARRAY_SIZE(sm8650_dsi_regulators),
212+
.bus_clk_names = dsi_v2_4_clk_names,
213+
.num_bus_clks = ARRAY_SIZE(dsi_v2_4_clk_names),
214+
.io_start = {
215+
{ 0x9ac0000, 0x9ac3000 },
216+
},
217+
};
218+
208219
static const struct regulator_bulk_data sc7280_dsi_regulators[] = {
209220
{ .supply = "vdda", .init_load_uA = 8350 }, /* 1.2 V */
210221
{ .supply = "refgen" },
@@ -332,6 +343,8 @@ static const struct msm_dsi_cfg_handler dsi_cfg_handlers[] = {
332343
&sm8650_dsi_cfg, &msm_dsi_6g_v2_host_ops},
333344
{MSM_DSI_VER_MAJOR_6G, MSM_DSI_6G_VER_MINOR_V2_9_0,
334345
&sm8650_dsi_cfg, &msm_dsi_6g_v2_9_host_ops},
346+
{MSM_DSI_VER_MAJOR_6G, MSM_DSI_6G_VER_MINOR_V2_10_0,
347+
&kaanapali_dsi_cfg, &msm_dsi_6g_v2_9_host_ops},
335348
};
336349

337350
const struct msm_dsi_cfg_handler *msm_dsi_cfg_get(u32 major, u32 minor)

drivers/gpu/drm/msm/dsi/dsi_cfg.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#define MSM_DSI_6G_VER_MINOR_V2_7_0 0x20070000
3333
#define MSM_DSI_6G_VER_MINOR_V2_8_0 0x20080000
3434
#define MSM_DSI_6G_VER_MINOR_V2_9_0 0x20090000
35+
#define MSM_DSI_6G_VER_MINOR_V2_10_0 0x200a0000
3536

3637
#define MSM_DSI_V2_VER_MINOR_8064 0x0
3738

0 commit comments

Comments
 (0)