@@ -196,6 +196,24 @@ static const struct msm_dsi_config sc7180_dsi_cfg = {
196
196
.num_dsi = 1 ,
197
197
};
198
198
199
+ static const char * const dsi_sc7280_bus_clk_names [] = {
200
+ "iface" , "bus" ,
201
+ };
202
+
203
+ static const struct msm_dsi_config sc7280_dsi_cfg = {
204
+ .io_offset = DSI_6G_REG_SHIFT ,
205
+ .reg_cfg = {
206
+ .num = 1 ,
207
+ .regs = {
208
+ {"vdda" , 8350 , 0 }, /* 1.2 V */
209
+ },
210
+ },
211
+ .bus_clk_names = dsi_sc7280_bus_clk_names ,
212
+ .num_bus_clks = ARRAY_SIZE (dsi_sc7280_bus_clk_names ),
213
+ .io_start = { 0xae94000 },
214
+ .num_dsi = 1 ,
215
+ };
216
+
199
217
static const struct msm_dsi_host_cfg_ops msm_dsi_v2_host_ops = {
200
218
.link_clk_set_rate = dsi_link_clk_set_rate_v2 ,
201
219
.link_clk_enable = dsi_link_clk_enable_v2 ,
@@ -263,6 +281,8 @@ static const struct msm_dsi_cfg_handler dsi_cfg_handlers[] = {
263
281
& sdm845_dsi_cfg , & msm_dsi_6g_v2_host_ops },
264
282
{MSM_DSI_VER_MAJOR_6G , MSM_DSI_6G_VER_MINOR_V2_4_1 ,
265
283
& sc7180_dsi_cfg , & msm_dsi_6g_v2_host_ops },
284
+ {MSM_DSI_VER_MAJOR_6G , MSM_DSI_6G_VER_MINOR_V2_5_0 ,
285
+ & sc7280_dsi_cfg , & msm_dsi_6g_v2_host_ops },
266
286
};
267
287
268
288
const struct msm_dsi_cfg_handler * msm_dsi_cfg_get (u32 major , u32 minor )
0 commit comments