mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
drm/rockchip: dsi: fix Non-SNPS PHY power on sequence
Change-Id: If9f131ec6ebc8b194034bf231ca2bcc120440860 Signed-off-by: WeiYong Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
@@ -1112,6 +1112,13 @@ static void rockchip_dsi_pre_init(struct dw_mipi_dsi *dsi)
|
||||
return;
|
||||
}
|
||||
|
||||
if (dsi->dphy.phy) {
|
||||
rockchip_dsi_set_hs_clk(dsi);
|
||||
phy_power_on(dsi->dphy.phy);
|
||||
} else {
|
||||
dw_mipi_dsi_get_lane_bps(dsi);
|
||||
}
|
||||
|
||||
pm_runtime_get_sync(dsi->dev);
|
||||
|
||||
if (dsi->rst) {
|
||||
@@ -1122,13 +1129,6 @@ static void rockchip_dsi_pre_init(struct dw_mipi_dsi *dsi)
|
||||
udelay(10);
|
||||
}
|
||||
|
||||
if (dsi->dphy.phy) {
|
||||
rockchip_dsi_set_hs_clk(dsi);
|
||||
phy_power_on(dsi->dphy.phy);
|
||||
} else {
|
||||
dw_mipi_dsi_get_lane_bps(dsi);
|
||||
}
|
||||
|
||||
dev_info(dsi->dev, "final DSI-Link bandwidth: %u x %d Mbps\n",
|
||||
dsi->lane_mbps, dsi->lanes);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user