* [PATCH] ARM: OMAP: Disable 32kHz timer warning
@ 2006-08-10 6:49 andrzej zaborowski
2006-08-10 6:55 ` tony
0 siblings, 1 reply; 2+ messages in thread
From: andrzej zaborowski @ 2006-08-10 6:49 UTC (permalink / raw)
To: Linux-OMAP
[-- Attachment #1: Type: text/plain, Size: 293 bytes --]
This makes the following warning conditional as the 32kHz timer is
only implemented for 16xx out of OMAP1 cpus:
arch/arm/mach-omap1/pm.c:138:2: warning: #warning Enable 32kHz OS
timer in order to allow sleep states in idle
Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
--
balrog 2oo6
[-- Attachment #2: linux-32ktimer-warning.patch --]
[-- Type: application/octet-stream, Size: 393 bytes --]
--- a/arch/arm/mach-omap1/pm.c 2006-07-06 02:47:56.000000000 +0000
+++ b/arch/arm/mach-omap1/pm.c 2006-08-08 05:12:05.000000000 +0000
@@ -134,7 +134,9 @@ void omap_pm_idle(void)
timer_dyn_reprogram();
#ifdef CONFIG_OMAP_MPU_TIMER
+#ifdef CONFIG_ARCH_OMAP16XX
#warning Enable 32kHz OS timer in order to allow sleep states in idle
+#endif
use_idlect1 = use_idlect1 & ~(1 << 9);
#else
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: OMAP: Disable 32kHz timer warning
2006-08-10 6:49 [PATCH] ARM: OMAP: Disable 32kHz timer warning andrzej zaborowski
@ 2006-08-10 6:55 ` tony
0 siblings, 0 replies; 2+ messages in thread
From: tony @ 2006-08-10 6:55 UTC (permalink / raw)
To: balrogg; +Cc: Linux-OMAP
* andrzej zaborowski <balrog@zabor.org> [060810 09:49]:
> This makes the following warning conditional as the 32kHz timer is
> only implemented for 16xx out of OMAP1 cpus:
> arch/arm/mach-omap1/pm.c:138:2: warning: #warning Enable 32kHz OS
> timer in order to allow sleep states in idle
The warning is still valid though. The current tree does not use sleep
states for idling for 15xx.
It may be worth checking if there is a continuously running 32KHz
timer somewhere on 15xx as it would allow using dynamic tick and sleep
states for idling. Last time I looked I did not find anything, but then
again I only browsed the TRM and did not scan registers for it.
Could somebody at TI confirm if 15xx has a continuously running 32KHz
timer at some register? If not, some other unused timer could be
set to run at 32KHz continuously to update time from it.
Regards,
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-10 6:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-10 6:49 [PATCH] ARM: OMAP: Disable 32kHz timer warning andrzej zaborowski
2006-08-10 6:55 ` tony
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox