Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/msm/dsi: Add configuration for MSM8226

Add the config for the v1.0.2 DSI found on MSM8226. We can reuse
existing bits from other revisions that are identical for v1.0.2.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Patchwork: https://patchwork.freedesktop.org/patch/540616/
Link: https://lore.kernel.org/r/20230308-msm8226-mdp-v3-5-b6284145d67a@z3ntu.xyz
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

authored by

Luca Weiss and committed by
Dmitry Baryshkov
82cf4954 46ccf3e0

+3
+2
drivers/gpu/drm/msm/dsi/dsi_cfg.c
··· 245 245 &apq8064_dsi_cfg, &msm_dsi_v2_host_ops}, 246 246 {MSM_DSI_VER_MAJOR_6G, MSM_DSI_6G_VER_MINOR_V1_0, 247 247 &msm8974_apq8084_dsi_cfg, &msm_dsi_6g_host_ops}, 248 + {MSM_DSI_VER_MAJOR_6G, MSM_DSI_6G_VER_MINOR_V1_0_2, 249 + &msm8974_apq8084_dsi_cfg, &msm_dsi_6g_host_ops}, 248 250 {MSM_DSI_VER_MAJOR_6G, MSM_DSI_6G_VER_MINOR_V1_1, 249 251 &msm8974_apq8084_dsi_cfg, &msm_dsi_6g_host_ops}, 250 252 {MSM_DSI_VER_MAJOR_6G, MSM_DSI_6G_VER_MINOR_V1_1_1,
+1
drivers/gpu/drm/msm/dsi/dsi_cfg.h
··· 11 11 #define MSM_DSI_VER_MAJOR_V2 0x02 12 12 #define MSM_DSI_VER_MAJOR_6G 0x03 13 13 #define MSM_DSI_6G_VER_MINOR_V1_0 0x10000000 14 + #define MSM_DSI_6G_VER_MINOR_V1_0_2 0x10000002 14 15 #define MSM_DSI_6G_VER_MINOR_V1_1 0x10010000 15 16 #define MSM_DSI_6G_VER_MINOR_V1_1_1 0x10010001 16 17 #define MSM_DSI_6G_VER_MINOR_V1_2 0x10020000