blob: 32748c36c477099cf00344b3410dd8c2331b9404 [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
Daniel Lezcano3a4a2672014-07-23 19:02:47 +020018 bool
Daniel Lezcanobf4d1b52012-10-31 16:44:48 +000019
Len Brown4f86d3a2007-10-03 18:58:00 -040020config CPU_IDLE_GOV_LADDER
Daniel Lezcanod6f346f2013-05-28 15:51:54 +000021 bool "Ladder governor (for periodic timer tick)"
Len Brown4f86d3a2007-10-03 18:58:00 -040022 default y
23
24config CPU_IDLE_GOV_MENU
Daniel Lezcanod6f346f2013-05-28 15:51:54 +000025 bool "Menu governor (for tickless system)"
Len Brown4f86d3a2007-10-03 18:58:00 -040026 default y
Colin Cross4126c012012-05-07 17:57:41 -070027
Saharab98e01a2013-07-03 17:49:55 +090028menu "ARM CPU Idle Drivers"
29depends on ARM
30source "drivers/cpuidle/Kconfig.arm"
31endmenu
Michal Simekbd2a3372013-06-04 07:17:39 +000032
Paul Burtond0508942014-04-14 16:25:29 +010033menu "MIPS CPU Idle Drivers"
34depends on MIPS
35source "drivers/cpuidle/Kconfig.mips"
36endmenu
37
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