소스 검색

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

Remove vote on refgen during display off usecase.

Change-Id: I4d618569c4e03c1b6dca637179053ee812b1d5d9
Signed-off-by: Shashank Babu Chinta Venkata <[email protected]>
Shashank Babu Chinta Venkata 3 년 전
부모
커밋
6fc34a0613
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      msm/dsi/dsi_phy_hw_v4_0.c

+ 6 - 0
msm/dsi/dsi_phy_hw_v4_0.c

@@ -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;