Skip to content

Commit

Permalink
ast2600:bclk is come from epll.
Browse files Browse the repository at this point in the history
it will update in datasheet

Signed-off-by: ryan_chen <ryan_chen@aspeedtech.com>
Change-Id: I0344972c5b7029c4f66c72d2cdb4466709dcea8e
  • Loading branch information
aspeedtech committed Mar 21, 2022
1 parent 3c81795 commit 8ad54a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/aspeed/clk_ast2600.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ static u32 ast2600_get_bclk_rate(struct ast2600_scu *scu)
u32 rate;
u32 bclk_sel = (readl(&scu->clk_sel1) >> 20) & 0x7;

rate = ast2600_get_pll_rate(scu, ASPEED_CLK_HPLL);
rate = ast2600_get_pll_rate(scu, ASPEED_CLK_EPLL);

return (rate / ((bclk_sel + 1) * 4));
}
Expand Down

0 comments on commit 8ad54a5

Please sign in to comment.