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

drm/msm/dp: Add support for Glymur

The Qualcomm Glymur platform comes with 4 DisplayPort controllers, which
have a different core revision compared to all previous platforms.

Describe them and add the compatible.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/683722/
Link: https://lore.kernel.org/r/20251027-glymur-display-v3-6-aa13055818ac@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

authored by

Abel Vesa and committed by
Dmitry Baryshkov
244fe8c9 e2aeb8de

+9
+9
drivers/gpu/drm/msm/dp/dp_display.c
··· 130 130 bool wide_bus_supported; 131 131 }; 132 132 133 + static const struct msm_dp_desc msm_dp_desc_glymur[] = { 134 + { .io_start = 0x0af54000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true }, 135 + { .io_start = 0x0af5c000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true }, 136 + { .io_start = 0x0af64000, .id = MSM_DP_CONTROLLER_2, .wide_bus_supported = true }, 137 + { .io_start = 0x0af6c000, .id = MSM_DP_CONTROLLER_3, .wide_bus_supported = true }, 138 + {} 139 + }; 140 + 133 141 static const struct msm_dp_desc msm_dp_desc_sa8775p[] = { 134 142 { .io_start = 0x0af54000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true }, 135 143 { .io_start = 0x0af5c000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true }, ··· 195 187 }; 196 188 197 189 static const struct of_device_id msm_dp_dt_match[] = { 190 + { .compatible = "qcom,glymur-dp", .data = &msm_dp_desc_glymur }, 198 191 { .compatible = "qcom,sa8775p-dp", .data = &msm_dp_desc_sa8775p }, 199 192 { .compatible = "qcom,sc7180-dp", .data = &msm_dp_desc_sc7180 }, 200 193 { .compatible = "qcom,sc7280-dp", .data = &msm_dp_desc_sc7280 },