blob: b3fb81d7cf0410bb9358d94a4e345899323f1ef3 [file] [log] [blame]
Saharab98e01a2013-07-03 17:49:55 +09001menu "CPU Idle"
Len Brown4f86d3a2007-10-03 18:58:00 -04002
Saharab98e01a2013-07-03 17:49:55 +09003config CPU_IDLE
Len Brown4f86d3a2007-10-03 18:58:00 -04004 bool "CPU idle PM support"
Benjamin Herrenschmidtaa491ad2012-02-22 16:04:24 +11005 default y if ACPI || PPC_PSERIES
Daniel Lezcanod6f346f2013-05-28 15:51:54 +00006 select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE)
7 select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE)
Len Brown4f86d3a2007-10-03 18:58:00 -04008 help
9 CPU idle is a generic framework for supporting software-controlled
10 idle processor power management. It includes modular cross-platform
11 governors that can be swapped during runtime.
12
len.brown@intel.com60555e32007-11-19 22:22:37 -050013 If you're using an ACPI-enabled platform, you should say Y here.
Len Brown4f86d3a2007-10-03 18:58:00 -040014
Daniel Lezcanod6f346f2013-05-28 15:51:54 +000015if CPU_IDLE
16
Daniel Lezcanobf4d1b52012-10-31 16:44:48 +000017config CPU_IDLE_MULTIPLE_DRIVERS
18 bool "Support multiple cpuidle drivers"
Daniel Lezcanobf4d1b52012-10-31 16:44:48 +000019 default n
20 help
21 Allows the cpuidle framework to use different drivers for each CPU.
22 This is useful if you have a system with different CPU latencies and
23 states. If unsure say N.
24
Len Brown4f86d3a2007-10-03 18:58:00 -040025config CPU_IDLE_GOV_LADDER
Daniel Lezcanod6f346f2013-05-28 15:51:54 +000026 bool "Ladder governor (for periodic timer tick)"
Len Brown4f86d3a2007-10-03 18:58:00 -040027 default y
28
29config CPU_IDLE_GOV_MENU
Daniel Lezcanod6f346f2013-05-28 15:51:54 +000030 bool "Menu governor (for tickless system)"
Len Brown4f86d3a2007-10-03 18:58:00 -040031 default y
Colin Cross4126c012012-05-07 17:57:41 -070032
Saharab98e01a2013-07-03 17:49:55 +090033menu "ARM CPU Idle Drivers"
34depends on ARM
35source "drivers/cpuidle/Kconfig.arm"
36endmenu
Michal Simekbd2a3372013-06-04 07:17:39 +000037
Rob Herringbe6a98d2012-10-12 12:45:34 -050038endif
Daniel Lezcanob39b0982013-06-11 08:09:45 +000039
40config ARCH_NEEDS_CPU_IDLE_COUPLED
41 def_bool n
Saharab98e01a2013-07-03 17:49:55 +090042endmenu