diff options
| author | Andy Yan <andy.yan@rock-chips.com> | 2026-02-06 04:04:12 +0300 |
|---|---|---|
| committer | Heiko Stuebner <heiko@sntech.de> | 2026-02-22 01:13:39 +0300 |
| commit | 77ae37018a2705f5abe8cc428e3496651258901d (patch) | |
| tree | 187e2ef98eace6a3cd26faa5debde59ba97c1bcf /include | |
| parent | 3410ab9fbd642e24f21d2fe6db6e995fa14991de (diff) | |
| download | linux-77ae37018a2705f5abe8cc428e3496651258901d.tar.xz | |
drm/bridge: synopsys: dw-dp: Set pixel mode by platform data
In the implementation and integration of the SoC, the DW DisplayPort
hardware block can be configured to work in single, dual, quad pixel
mode on differnt platforms, so make the pixel mode set by plat_data
to support the upcoming rk3576 variant.
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-3-andyshrk@163.com
Diffstat (limited to 'include')
| -rw-r--r-- | include/drm/bridge/dw_dp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/drm/bridge/dw_dp.h b/include/drm/bridge/dw_dp.h index d05df49fd884..25363541e69d 100644 --- a/include/drm/bridge/dw_dp.h +++ b/include/drm/bridge/dw_dp.h @@ -11,8 +11,15 @@ struct drm_encoder; struct dw_dp; +enum { + DW_DP_MP_SINGLE_PIXEL, + DW_DP_MP_DUAL_PIXEL, + DW_DP_MP_QUAD_PIXEL, +}; + struct dw_dp_plat_data { u32 max_link_rate; + u8 pixel_mode; }; struct dw_dp *dw_dp_bind(struct device *dev, struct drm_encoder *encoder, |
