]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/rockchip: dw_dp: Add DisplayPort support for rk3576
authorAndy Yan <andy.yan@rock-chips.com>
Fri, 6 Feb 2026 01:04:14 +0000 (09:04 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 21 Feb 2026 22:13:42 +0000 (23:13 +0100)
The DisplayPort of the RK3576 is basically the same as that of the
RK3588, but it operates in dual-pixel mode and also support MST.

This patch only enable the SST output now.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20260206010421.443605-5-andyshrk@163.com
drivers/gpu/drm/rockchip/dw_dp-rockchip.c

index 89d614d535964a65f37cc976d5823429a54016f5..dac3d202971edaecfd0db0688047b7a5b6f2d4ee 100644 (file)
@@ -142,10 +142,18 @@ static const struct dw_dp_plat_data rk3588_dp_plat_data = {
        .pixel_mode = DW_DP_MP_QUAD_PIXEL,
 };
 
+static const struct dw_dp_plat_data rk3576_dp_plat_data = {
+       .max_link_rate = 810000,
+       .pixel_mode = DW_DP_MP_DUAL_PIXEL,
+};
+
 static const struct of_device_id dw_dp_of_match[] = {
        {
                .compatible = "rockchip,rk3588-dp",
                .data = &rk3588_dp_plat_data,
+       }, {
+               .compatible = "rockchip,rk3576-dp",
+               .data = &rk3576_dp_plat_data,
        },
        {}
 };