]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/msm/dsi: Add support for Kaanapali
authorYuanjie Yang <yuanjie.yang@oss.qualcomm.com>
Thu, 15 Jan 2026 09:27:44 +0000 (17:27 +0800)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Wed, 21 Jan 2026 00:03:57 +0000 (02:03 +0200)
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>
drivers/gpu/drm/msm/dsi/dsi_cfg.c
drivers/gpu/drm/msm/dsi/dsi_cfg.h

index fed8e9b67011cac1f766a5bc47bd5117304ab0fd..bd3c51c350e731904b787e754e2111aa713f5e76 100644 (file)
@@ -205,6 +205,17 @@ static const struct msm_dsi_config sm8650_dsi_cfg = {
        },
 };
 
+static const struct msm_dsi_config kaanapali_dsi_cfg = {
+       .io_offset = DSI_6G_REG_SHIFT,
+       .regulator_data = sm8650_dsi_regulators,
+       .num_regulators = ARRAY_SIZE(sm8650_dsi_regulators),
+       .bus_clk_names = dsi_v2_4_clk_names,
+       .num_bus_clks = ARRAY_SIZE(dsi_v2_4_clk_names),
+       .io_start = {
+               { 0x9ac0000, 0x9ac3000 },
+       },
+};
+
 static const struct regulator_bulk_data sc7280_dsi_regulators[] = {
        { .supply = "vdda", .init_load_uA = 8350 },     /* 1.2 V */
        { .supply = "refgen" },
@@ -332,6 +343,8 @@ static const struct msm_dsi_cfg_handler dsi_cfg_handlers[] = {
                &sm8650_dsi_cfg, &msm_dsi_6g_v2_host_ops},
        {MSM_DSI_VER_MAJOR_6G, MSM_DSI_6G_VER_MINOR_V2_9_0,
                &sm8650_dsi_cfg, &msm_dsi_6g_v2_9_host_ops},
+       {MSM_DSI_VER_MAJOR_6G, MSM_DSI_6G_VER_MINOR_V2_10_0,
+               &kaanapali_dsi_cfg, &msm_dsi_6g_v2_9_host_ops},
 };
 
 const struct msm_dsi_cfg_handler *msm_dsi_cfg_get(u32 major, u32 minor)
index 38f303f2ed04c37916c9aca148ccb569e816e35f..5dc812028bd54513d5da673cab2c58a4f20e9977 100644 (file)
@@ -32,6 +32,7 @@
 #define MSM_DSI_6G_VER_MINOR_V2_7_0    0x20070000
 #define MSM_DSI_6G_VER_MINOR_V2_8_0    0x20080000
 #define MSM_DSI_6G_VER_MINOR_V2_9_0    0x20090000
+#define MSM_DSI_6G_VER_MINOR_V2_10_0   0x200a0000
 
 #define MSM_DSI_V2_VER_MINOR_8064      0x0