mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-09 22:24:04 +08:00
ARM: OMAP2: Force APLLs always active
The APLLs are most efficiently idled by hardware. Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
666cd174c4
commit
1abc70fcd8
@ -1160,8 +1160,8 @@ int __init omap2_clk_init(void)
|
|||||||
clk_enable(&sync_32k_ick);
|
clk_enable(&sync_32k_ick);
|
||||||
clk_enable(&omapctrl_ick);
|
clk_enable(&omapctrl_ick);
|
||||||
|
|
||||||
/* Force the APLLs active during bootup to avoid disabling and
|
/* Force the APLLs always active. The clocks are idled
|
||||||
* enabling them unnecessarily. */
|
* automatically by hardware. */
|
||||||
clk_enable(&apll96_ck);
|
clk_enable(&apll96_ck);
|
||||||
clk_enable(&apll54_ck);
|
clk_enable(&apll54_ck);
|
||||||
|
|
||||||
@ -1174,12 +1174,3 @@ int __init omap2_clk_init(void)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __init omap2_disable_aplls(void)
|
|
||||||
{
|
|
||||||
clk_disable(&apll96_ck);
|
|
||||||
clk_disable(&apll54_ck);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
late_initcall(omap2_disable_aplls);
|
|
||||||
|
Loading…
Reference in New Issue
Block a user