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

Commit c6003ca6 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "clk: qcom: mdss: fix blank / unblank for DSI 28nm pll"

parents c96971d7 1e816eb0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -590,6 +590,7 @@ unsigned long vco_28nm_recalc_rate(struct clk_hw *hw,

	if (dsi_pll_lock_status(rsc)) {
		rsc->handoff_resources = true;
		rsc->cont_splash_enabled = true;
		rsc->pll_on = true;
		vco_rate = vco_get_rate(vco);
	} else {
@@ -629,6 +630,10 @@ int vco_28nm_prepare(struct clk_hw *hw)
		MDSS_PLL_REG_W(rsc->pll_base,
				DSI_PHY_PLL_UNIPHY_PLL_VREG_CFG,
				rsc->cached_vreg_cfg);
	} else if (!rsc->handoff_resources && rsc->cont_splash_enabled) {
		MDSS_PLL_REG_W(rsc->pll_base,
			DSI_PHY_PLL_UNIPHY_PLL_VREG_CFG,
			rsc->cached_vreg_cfg);
	}

	rc = dsi_pll_enable(vco);
+1 −0
Original line number Diff line number Diff line
@@ -146,6 +146,7 @@ struct mdss_pll_resources {
	 * feature is disabled.
	 */
	bool		handoff_resources;
	bool		cont_splash_enabled;

	/*
	 * caching the pll trim codes in the case of dynamic refresh