mirror of
https://github.com/smaeul/u-boot.git
synced 2025-11-26 22:01:10 +00:00
clk: ast2600: Keep PLL power on
According to the PLL vendor, we should keep the PLL power on, so we shouldn't toggle the power-down bit during PLL initialization. Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com> Reviewed-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
parent
45443f6089
commit
95f7955384
@ -538,7 +538,7 @@ static uint32_t ast2600_configure_pll(struct ast2600_scu *scu,
|
||||
}
|
||||
|
||||
p_cfg->reg.b.bypass = 0;
|
||||
p_cfg->reg.b.off = 1;
|
||||
p_cfg->reg.b.off = 0;
|
||||
p_cfg->reg.b.reset = 1;
|
||||
|
||||
reg = readl(addr);
|
||||
@ -549,7 +549,6 @@ static uint32_t ast2600_configure_pll(struct ast2600_scu *scu,
|
||||
/* write extend parameter */
|
||||
writel(p_cfg->ext_reg, addr_ext);
|
||||
udelay(100);
|
||||
p_cfg->reg.b.off = 0;
|
||||
p_cfg->reg.b.reset = 0;
|
||||
reg &= ~GENMASK(25, 0);
|
||||
reg |= p_cfg->reg.w;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user