blob: 7e48eb5bf0a7a1aebb958157c38a0d6b1228a437 [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
23config CPU_IDLE_GOV_MENU
Daniel Lezcanod6f346f2013-05-28 15:51:54 +000024 bool "Menu governor (for tickless system)"
Colin Cross4126c012012-05-07 17:57:41 -070025
Lorenzo Pieralisi9f14da32014-02-14 14:28:39 +000026config DT_IDLE_STATES
27 bool
28
Saharab98e01a2013-07-03 17:49:55 +090029menu "ARM CPU Idle Drivers"
Daniel Lezcano0e087042015-02-02 16:32:46 +010030depends on ARM || ARM64
Saharab98e01a2013-07-03 17:49:55 +090031source "drivers/cpuidle/Kconfig.arm"
32endmenu
Michal Simekbd2a3372013-06-04 07:17:39 +000033
Paul Burtond05089442014-04-14 16:25:29 +010034menu "MIPS CPU Idle Drivers"
35depends on MIPS
36source "drivers/cpuidle/Kconfig.mips"
37endmenu
38
Deepthi Dharwar962e7bd2014-01-14 16:26:02 +053039menu "POWERPC CPU Idle Drivers"
40depends on PPC
41source "drivers/cpuidle/Kconfig.powerpc"
42endmenu
43
Rob Herringbe6a98d2012-10-12 12:45:34 -050044endif
Daniel Lezcanob39b0982013-06-11 08:09:45 +000045
46config ARCH_NEEDS_CPU_IDLE_COUPLED
47 def_bool n
Saharab98e01a2013-07-03 17:49:55 +090048endmenu