diff options
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 48308dc86e33..aa1ebc561b84 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -423,6 +423,24 @@ config SH_TIMER_IRQ | |||
423 | default "140" if CPU_SUBTYPE_SH7206 | 423 | default "140" if CPU_SUBTYPE_SH7206 |
424 | default "16" | 424 | default "16" |
425 | 425 | ||
426 | config NO_IDLE_HZ | ||
427 | bool "Dynamic tick timer" | ||
428 | help | ||
429 | Select this option if you want to disable continuous timer ticks | ||
430 | and have them programmed to occur as required. This option saves | ||
431 | power as the system can remain in idle state for longer. | ||
432 | |||
433 | By default dynamic tick is disabled during the boot, and can be | ||
434 | manually enabled with: | ||
435 | |||
436 | echo 1 > /sys/devices/system/timer/timer0/dyn_tick | ||
437 | |||
438 | Alternatively, if you want dynamic tick automatically enabled | ||
439 | during boot, pass "dyntick=enable" via the kernel command string. | ||
440 | |||
441 | Please note that dynamic tick may affect the accuracy of | ||
442 | timekeeping on some platforms depending on the implementation. | ||
443 | |||
426 | config SH_PCLK_FREQ | 444 | config SH_PCLK_FREQ |
427 | int "Peripheral clock frequency (in Hz)" | 445 | int "Peripheral clock frequency (in Hz)" |
428 | default "27000000" if CPU_SUBTYPE_SH73180 || CPU_SUBTYPE_SH7343 | 446 | default "27000000" if CPU_SUBTYPE_SH73180 || CPU_SUBTYPE_SH7343 |