mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm/rockchip: dsi: add support dual-channel mode with independent PLL
Display Pipeline:
---> dsi0 --> dphy_tx0 --->
/ | \
/ dphy0_pll \
vp1/vp2 --> ---> panel
\ dphy1_pll /
\ | /
---> dsi1 --> dphy_tx1 --->
Change-Id: I9c975f29e2f40e04a1fac5c163aed0fa7cfb71e3
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
This commit is contained in:
@@ -1310,6 +1310,9 @@ static void dw_mipi_dsi_encoder_enable(struct drm_encoder *encoder)
|
||||
else
|
||||
dw_mipi_dsi_calc_pll_cfg(dsi, lane_rate);
|
||||
|
||||
if (dsi->slave && dsi->slave->dphy.phy)
|
||||
dw_mipi_dsi_set_hs_clk(dsi->slave, lane_rate);
|
||||
|
||||
DRM_DEV_INFO(dsi->dev, "final DSI-Link bandwidth: %u x %d Mbps\n",
|
||||
dsi->lane_mbps, dsi->slave ? dsi->lanes * 2 : dsi->lanes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user