From 8b6e6369269202cc81be2c05187b3bec1cd1dc0d Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Mon, 9 May 2005 13:06:36 -0700 Subject: [PATCH] ARM: OMAP: Enable dynamic tick timer for OMAP Enables dynamic tick timer for OMAP. Signed-off-by: Tony Lindgren --- arch/arm/mach-omap/Kconfig | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/mach-omap/Kconfig b/arch/arm/mach-omap/Kconfig index 3646c2ce67f..7694dc1aa0c 100644 --- a/arch/arm/mach-omap/Kconfig +++ b/arch/arm/mach-omap/Kconfig @@ -93,6 +93,31 @@ config OMAP_32K_TIMER_HZ Kernel internal timer frequency should be a divisor of 32768, such as 64 or 128. +config NO_IDLE_HZ + bool "Dynamic Tick Timer" + depends on OMAP_32K_TIMER + help + Select this option if you want to disable continuous timer ticks + and have them programmed one at a time from the idle loop. This + option saves power as the system does not need to exit idle state + because of a timer interrupt. If you have this option selected, + you still need to enable dynamic tick using the sysfs interface. + By default dynamic tick is disabled during the boot, and can be + manually enabled with: + + echo 1 > /sys/devices/platform/timer0/dyn_tick + + If you want dynamic tick automatically enabled during boot, select + also NO_IDLE_HZ_ENABLED below. + +config NO_IDLE_HZ_ENABLED + bool "Enable Dynamic Tick Timer by default" + depends on NO_IDLE_HZ + default n + help + Select this option if you want dynamic tick turned on by default + at startup. + choice prompt "Low-level debug console UART" depends on ARCH_OMAP -- 2.41.1