blob: 0e2cd5cab4d0924392d8c4d0a99ffb9a75d4485e [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
Rob Herringbe6a98d2012-10-12 12:45:34 -050032config CPU_IDLE_CALXEDA
33 bool "CPU Idle Driver for Calxeda processors"
34 depends on ARCH_HIGHBANK
Arnd Bergmann6eed8462013-04-30 23:00:47 +020035 select ARM_CPU_SUSPEND
Rob Herringbe6a98d2012-10-12 12:45:34 -050036 help
37 Select this to enable cpuidle on Calxeda processors.
38
Michal Simekbd2a3372013-06-04 07:17:39 +000039config CPU_IDLE_ZYNQ
40 bool "CPU Idle Driver for Xilinx Zynq processors"
41 depends on ARCH_ZYNQ
42 help
43 Select this to enable cpuidle on Xilinx Zynq processors.
44
Rob Herringbe6a98d2012-10-12 12:45:34 -050045endif
Daniel Lezcanob39b0982013-06-11 08:09:45 +000046
47config ARCH_NEEDS_CPU_IDLE_COUPLED
48 def_bool n