blob: f04e25f6c98d5f024758fc63ea2167a06d82ae17 [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
Deepthi Dharwar962e7bd2014-01-14 16:26:02 +053038menu "POWERPC CPU Idle Drivers"
39depends on PPC
40source "drivers/cpuidle/Kconfig.powerpc"
41endmenu
42
Rob Herringbe6a98d2012-10-12 12:45:34 -050043endif
Daniel Lezcanob39b0982013-06-11 08:09:45 +000044
45config ARCH_NEEDS_CPU_IDLE_COUPLED
46 def_bool n
Saharab98e01a2013-07-03 17:49:55 +090047endmenu