]> Gentwo Git Trees - linux/.git/commitdiff
drm/msm/dp: Add support for Glymur
authorAbel Vesa <abel.vesa@linaro.org>
Mon, 27 Oct 2025 14:59:23 +0000 (16:59 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Fri, 14 Nov 2025 14:59:27 +0000 (16:59 +0200)
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>
drivers/gpu/drm/msm/dp/dp_display.c

index d87d47cc7ec3eb757ac192c411000bc50b824c59..9bd9cd5c1e03cc17598b222177b6682bbcd89f0c 100644 (file)
@@ -130,6 +130,14 @@ struct msm_dp_desc {
        bool wide_bus_supported;
 };
 
+static const struct msm_dp_desc msm_dp_desc_glymur[] = {
+       { .io_start = 0x0af54000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true },
+       { .io_start = 0x0af5c000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true },
+       { .io_start = 0x0af64000, .id = MSM_DP_CONTROLLER_2, .wide_bus_supported = true },
+       { .io_start = 0x0af6c000, .id = MSM_DP_CONTROLLER_3, .wide_bus_supported = true },
+       {}
+};
+
 static const struct msm_dp_desc msm_dp_desc_sa8775p[] = {
        { .io_start = 0x0af54000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true },
        { .io_start = 0x0af5c000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true },
@@ -187,6 +195,7 @@ static const struct msm_dp_desc msm_dp_desc_x1e80100[] = {
 };
 
 static const struct of_device_id msm_dp_dt_match[] = {
+       { .compatible = "qcom,glymur-dp", .data = &msm_dp_desc_glymur },
        { .compatible = "qcom,sa8775p-dp", .data = &msm_dp_desc_sa8775p },
        { .compatible = "qcom,sc7180-dp", .data = &msm_dp_desc_sc7180 },
        { .compatible = "qcom,sc7280-dp", .data = &msm_dp_desc_sc7280 },