diff options
| author | Andy Yan <andy.yan@rock-chips.com> | 2026-02-06 09:04:14 +0800 |
|---|---|---|
| committer | Heiko Stuebner <heiko@sntech.de> | 2026-02-21 23:13:42 +0100 |
| commit | 70ad4780431e3936e9cb0cf13e286d304b418f94 (patch) | |
| tree | 50dc23d56e1fd5d448a33f5bf8908ba7bafce50b | |
| parent | 388bb0899bc9acdb6e4eeaad9eb9dce3427ceca4 (diff) | |
drm/rockchip: dw_dp: Add DisplayPort support for rk3576
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
| -rw-r--r-- | drivers/gpu/drm/rockchip/dw_dp-rockchip.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rockchip/dw_dp-rockchip.c b/drivers/gpu/drm/rockchip/dw_dp-rockchip.c index 89d614d53596..dac3d202971e 100644 --- a/drivers/gpu/drm/rockchip/dw_dp-rockchip.c +++ b/drivers/gpu/drm/rockchip/dw_dp-rockchip.c @@ -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, }, {} }; |
