Merge "disp: msm: dsi: remove vote on refgen when PHY is turned off"

This commit is contained in:
qctecmdr
2021-09-10 17:10:28 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -525,6 +525,12 @@ void dsi_phy_hw_v4_0_disable(struct dsi_phy_hw *phy,
dsi_phy_hw_v4_0_config_lpcdrx(phy, cfg, false);
/* Turn off REFGEN Vote */
DSI_W32(phy, DSIPHY_CMN_GLBL_DIGTOP_SPARE10, 0x0);
wmb();
/* Delay to ensure HW removes vote before PHY shut down */
udelay(2);
data = DSI_R32(phy, DSIPHY_CMN_CTRL_0);
/* disable all lanes and splitlink clk lane*/
data &= ~0x9F;