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

Commit 57983f3d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: cpu_pwr_ctl: Change the CPU power up sequence for 8994"

parents c3c7b94b ef54a8bd
Loading
Loading
Loading
Loading
+4 −9
Original line number Diff line number Diff line
@@ -291,20 +291,15 @@ int msm8994_unclamp_secondary_arm_cpu(unsigned int cpu)
		goto out_acc_reg;
	}

	/* Bypass LDO */
	writel_relaxed(0x00000001, ldo_bhs_reg + LDO_BHS_PWR_CTL);
	mb();
	udelay(2);

	/* Assert head switch enable few */
	writel_relaxed(0x00000001, acc_reg + CPU_PWR_GATE_CTL);
	mb();
	udelay(2);
	udelay(1);

	/* Assert head switch enable rest */
	writel_relaxed(0x00000003, acc_reg + CPU_PWR_GATE_CTL);
	mb();
	udelay(2);
	udelay(1);

	/* De-assert coremem clamp. This is asserted by default */
	writel_relaxed(0x00000079, acc_reg + CPU_PWR_CTL);
@@ -313,7 +308,7 @@ int msm8994_unclamp_secondary_arm_cpu(unsigned int cpu)
	/* Close coremem array gdhs */
	writel_relaxed(0x0000007D, acc_reg + CPU_PWR_CTL);
	mb();
	udelay(2);
	udelay(1);

	/* De-assert clamp */
	writel_relaxed(0x0000003D, acc_reg + CPU_PWR_CTL);
@@ -322,7 +317,7 @@ int msm8994_unclamp_secondary_arm_cpu(unsigned int cpu)
	/* De-assert clamp */
	writel_relaxed(0x0000003C, acc_reg + CPU_PWR_CTL);
	mb();
	udelay(2);
	udelay(1);

	/* De-assert core0 reset */
	writel_relaxed(0x0000000C, acc_reg + CPU_PWR_CTL);