blob: e997f15d4d0d2446ae9d48c9d9e2305f308e34f6 [file] [log] [blame]
Len Brown4f86d3a2007-10-03 18:58:00 -04001
Daniel Lezcanod6f346f2013-05-28 15:51:54 +00002menuconfig CPU_IDLE
Len Brown4f86d3a2007-10-03 18:58:00 -04003 bool "CPU idle PM support"
Benjamin Herrenschmidtaa491ad2012-02-22 16:04:24 +11004 default y if ACPI || PPC_PSERIES
Daniel Lezcanod6f346f2013-05-28 15:51:54 +00005 select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE)
6 select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE)
Len Brown4f86d3a2007-10-03 18:58:00 -04007 help
8 CPU idle is a generic framework for supporting software-controlled
9 idle processor power management. It includes modular cross-platform
10 governors that can be swapped during runtime.
11
len.brown@intel.com60555e32007-11-19 22:22:37 -050012 If you're using an ACPI-enabled platform, you should say Y here.
Len Brown4f86d3a2007-10-03 18:58:00 -040013
Daniel Lezcanod6f346f2013-05-28 15:51:54 +000014if CPU_IDLE
15
Daniel Lezcanobf4d1b52012-10-31 16:44:48 +000016config CPU_IDLE_MULTIPLE_DRIVERS
17 bool "Support multiple cpuidle drivers"
Daniel Lezcanobf4d1b52012-10-31 16:44:48 +000018 default n
19 help
20 Allows the cpuidle framework to use different drivers for each CPU.
21 This is useful if you have a system with different CPU latencies and
22 states. If unsure say N.
23
Len Brown4f86d3a2007-10-03 18:58:00 -040024config CPU_IDLE_GOV_LADDER
Daniel Lezcanod6f346f2013-05-28 15:51:54 +000025 bool "Ladder governor (for periodic timer tick)"
Len Brown4f86d3a2007-10-03 18:58:00 -040026 default y
27
28config CPU_IDLE_GOV_MENU
Daniel Lezcanod6f346f2013-05-28 15:51:54 +000029 bool "Menu governor (for tickless system)"
Len Brown4f86d3a2007-10-03 18:58:00 -040030 default y
Colin Cross4126c012012-05-07 17:57:41 -070031
32config ARCH_NEEDS_CPU_IDLE_COUPLED
33 def_bool n
Rob Herringbe6a98d2012-10-12 12:45:34 -050034
Rob Herringbe6a98d2012-10-12 12:45:34 -050035config CPU_IDLE_CALXEDA
36 bool "CPU Idle Driver for Calxeda processors"
37 depends on ARCH_HIGHBANK
38 help
39 Select this to enable cpuidle on Calxeda processors.
Rob Herringbe6a98d2012-10-12 12:45:34 -050040endif