exynos5420: Set the CLK_DIV_CPERI1 value as per manual
Set the CLK_DIV_CPERI1 value as recommended by the 0.02 UM section 7.9.1.25. This suggests to use 0x3F3F0000 as the value to be set to save power. This is ported from https://gerrit.chromium.org/gerrit/#/c/64905 Signed-off-by: David Hendricks <dhendrix@chromium.org> BUG=none BRANCH=none TEST=built and booted on pit Change-Id: I89a6a72d20374a513019a272628a05e139b31773 Reviewed-on: https://gerrit.chromium.org/gerrit/66787 Commit-Queue: David Hendricks <dhendrix@chromium.org> Tested-by: David Hendricks <dhendrix@chromium.org> Reviewed-by: Ronald G. Minnich <rminnich@chromium.org>
This commit is contained in:
parent
e910117047
commit
34be13b008
2 changed files with 4 additions and 0 deletions
|
|
@ -209,6 +209,8 @@ void system_clock_init(void)
|
|||
writel(CLK_DIV_PERIC3_VAL, &clk->clk_div_peric3);
|
||||
writel(CLK_DIV_PERIC4_VAL, &clk->clk_div_peric4);
|
||||
|
||||
writel(CLK_DIV_CPERI1_VAL, &clk->clk_div_cperi1);
|
||||
|
||||
writel(CLK_DIV2_RATIO, &clk->clkdiv2_ratio);
|
||||
writel(CLK_DIV4_RATIO, &clk->clkdiv4_ratio);
|
||||
writel(CLK_DIV_G2D, &clk->clk_div_g2d);
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ struct exynos5_phy_control;
|
|||
#define APLL_FOUT (1 << 0)
|
||||
#define KPLL_FOUT (1 << 0)
|
||||
|
||||
#define CLK_DIV_CPERI1_VAL 0x3f3f0000
|
||||
|
||||
/* APLL_CON1 */
|
||||
#define APLL_CON1_VAL (0x0020f300)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue