Sahara | b98e01a | 2013-07-03 17:49:55 +0900 | [diff] [blame] | 1 | menu "CPU Idle" |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 2 | |
Sahara | b98e01a | 2013-07-03 17:49:55 +0900 | [diff] [blame] | 3 | config CPU_IDLE |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 4 | bool "CPU idle PM support" |
Benjamin Herrenschmidt | aa491ad | 2012-02-22 16:04:24 +1100 | [diff] [blame] | 5 | default y if ACPI || PPC_PSERIES |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 6 | select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE) |
7 | select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE) | ||||
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 8 | 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.com | 60555e3 | 2007-11-19 22:22:37 -0500 | [diff] [blame] | 13 | If you're using an ACPI-enabled platform, you should say Y here. |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 14 | |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 15 | if CPU_IDLE |
16 | |||||
Daniel Lezcano | bf4d1b5 | 2012-10-31 16:44:48 +0000 | [diff] [blame] | 17 | config CPU_IDLE_MULTIPLE_DRIVERS |
Daniel Lezcano | 3a4a267 | 2014-07-23 19:02:47 +0200 | [diff] [blame] | 18 | bool |
Daniel Lezcano | bf4d1b5 | 2012-10-31 16:44:48 +0000 | [diff] [blame] | 19 | |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 20 | config CPU_IDLE_GOV_LADDER |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 21 | bool "Ladder governor (for periodic timer tick)" |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 22 | default y |
23 | |||||
24 | config CPU_IDLE_GOV_MENU | ||||
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 25 | bool "Menu governor (for tickless system)" |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 26 | default y |
Colin Cross | 4126c01 | 2012-05-07 17:57:41 -0700 | [diff] [blame] | 27 | |
Lorenzo Pieralisi | 9f14da3 | 2014-02-14 14:28:39 +0000 | [diff] [blame] | 28 | config DT_IDLE_STATES |
29 | bool | ||||
30 | |||||
Sahara | b98e01a | 2013-07-03 17:49:55 +0900 | [diff] [blame] | 31 | menu "ARM CPU Idle Drivers" |
Daniel Lezcano | 0e08704 | 2015-02-02 16:32:46 +0100 | [diff] [blame] | 32 | depends on ARM || ARM64 |
Sahara | b98e01a | 2013-07-03 17:49:55 +0900 | [diff] [blame] | 33 | source "drivers/cpuidle/Kconfig.arm" |
34 | endmenu | ||||
Michal Simek | bd2a337 | 2013-06-04 07:17:39 +0000 | [diff] [blame] | 35 | |
Paul Burton | d050894 | 2014-04-14 16:25:29 +0100 | [diff] [blame] | 36 | menu "MIPS CPU Idle Drivers" |
37 | depends on MIPS | ||||
38 | source "drivers/cpuidle/Kconfig.mips" | ||||
39 | endmenu | ||||
40 | |||||
Deepthi Dharwar | 962e7bd | 2014-01-14 16:26:02 +0530 | [diff] [blame] | 41 | menu "POWERPC CPU Idle Drivers" |
42 | depends on PPC | ||||
43 | source "drivers/cpuidle/Kconfig.powerpc" | ||||
44 | endmenu | ||||
45 | |||||
Rob Herring | be6a98d | 2012-10-12 12:45:34 -0500 | [diff] [blame] | 46 | endif |
Daniel Lezcano | b39b098 | 2013-06-11 08:09:45 +0000 | [diff] [blame] | 47 | |
48 | config ARCH_NEEDS_CPU_IDLE_COUPLED | ||||
49 | def_bool n | ||||
Sahara | b98e01a | 2013-07-03 17:49:55 +0900 | [diff] [blame] | 50 | endmenu |