mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
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>
This commit is contained in:
parent
223bff623c
commit
2482c6f93a
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user