blob: 8c7930b5a65fabaa3ae58c8a2224ed056e1fc95f [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
Lorenzo Pieralisi9f14da32014-02-14 14:28:39 +000028config DT_IDLE_STATES
29 bool
30
Saharab98e01a2013-07-03 17:49:55 +090031menu "ARM CPU Idle Drivers"
Daniel Lezcano0e087042015-02-02 16:32:46 +010032depends on ARM || ARM64
Saharab98e01a2013-07-03 17:49:55 +090033source "drivers/cpuidle/Kconfig.arm"
34endmenu
Michal Simekbd2a3372013-06-04 07:17:39 +000035
Paul Burtond05089442014-04-14 16:25:29 +010036menu "MIPS CPU Idle Drivers"
37depends on MIPS
38source "drivers/cpuidle/Kconfig.mips"
39endmenu
40
Deepthi Dharwar962e7bd2014-01-14 16:26:02 +053041menu "POWERPC CPU Idle Drivers"
42depends on PPC
43source "drivers/cpuidle/Kconfig.powerpc"
44endmenu
45
Rob Herringbe6a98d2012-10-12 12:45:34 -050046endif
Daniel Lezcanob39b0982013-06-11 08:09:45 +000047
48config ARCH_NEEDS_CPU_IDLE_COUPLED
49 def_bool n
Saharab98e01a2013-07-03 17:49:55 +090050endmenu