Skip to contentSkip to conversation

ARM: OMAP2+: AM43XX: Enable autoidle for clks in am43xx_init_late

PATCH New Dave Gerlach 2 participants 2 messages Sep 15, 2015 – Sep 17, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: OMAP2+: AM43XX: Enable autoidle for clks in am43xx_init_late

Add omap2_clk_enable_autoidle_all to am43xx_init_late otherwise the call to omap2_clk_disable_autoidle_all in am43xx_init_early may cause some clocks to always stay active and prevent low power mode transitions.

---
 arch/arm/mach-omap2/io.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/io.c +1 -0
index 980c937..3eaeaca 100644
@@ -676,6 +676,7 @@ void __init am43xx_init_early(void)
 void __init am43xx_init_late(void)
 {
 	omap_common_late_init();
+	omap2_clk_enable_autoidle_all();
 }
 #endif
 
Signature · 1 line
2.4.6
maintainer
#1 lore raw

PATCH 1/1 ARM: OMAP2+: AM43XX: Enable autoidle for clks in am43xx_init_late

Quoted 5 lines · Dave Gerlach

Add omap2_clk_enable_autoidle_all to am43xx_init_late otherwise the call to omap2_clk_disable_autoidle_all in am43xx_init_early may cause some clocks to always stay active and prevent low power mode transitions.

Applying into omap-for-v4.3/fixes thanks.

Tony

Quoted 19 lines
---
 arch/arm/mach-omap2/io.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/io.c +1 -0
index 980c937..3eaeaca 100644
@@ -676,6 +676,7 @@ void __init am43xx_init_early(void)
 void __init am43xx_init_late(void)
 {
 	omap_common_late_init();
+	omap2_clk_enable_autoidle_all();
 }
 #endif
 
Signature · 1 line
2.4.6