Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 334d6bdb authored by Dhaval Patel's avatar Dhaval Patel Committed by Narendra Muppalla
Browse files

msm: dsi-pll: update pll ref config before start for msm8996



Reset pll_verf_cfg1 to default value of 0x10 before pll
start for msm8996 based on hardware recommendation.

Change-Id: I95a89c18de4f7eb65a8ea0a8e4810560ddb0b44f
Signed-off-by: default avatarDhaval Patel <pdhaval@codeaurora.org>
parent d41c1b50
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -210,6 +210,7 @@ static void dsi_pll_start_8996(void __iomem *pll_base)
{
	pr_debug("start PLL at base=%p\n", pll_base);

	MDSS_PLL_REG_W(pll_base, DSIPHY_PLL_VREF_CFG1, 0x10);
	MDSS_PLL_REG_W(pll_base, DSIPHY_CMN_PLL_CNTRL, 1);
}

+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@

#define DSIPHY_PLL_KVCO_COUNT1		0x0448
#define DSIPHY_PLL_KVCO_COUNT2		0x044c
#define DSIPHY_PLL_VREF_CFG1		0x045c

#define DSIPHY_PLL_VCO_DIV_REF1		0x046c
#define DSIPHY_PLL_VCO_DIV_REF2		0x0470