xref: /openbmc/linux/drivers/cpuidle/Kconfig (revision 31b90347)
1menu "CPU Idle"
2
3config CPU_IDLE
4	bool "CPU idle PM support"
5	default y if ACPI || PPC_PSERIES
6	select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE)
7	select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE)
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
13	  If you're using an ACPI-enabled platform, you should say Y here.
14
15if CPU_IDLE
16
17config CPU_IDLE_MULTIPLE_DRIVERS
18        bool "Support multiple cpuidle drivers"
19        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
25config CPU_IDLE_GOV_LADDER
26	bool "Ladder governor (for periodic timer tick)"
27	default y
28
29config CPU_IDLE_GOV_MENU
30	bool "Menu governor (for tickless system)"
31	default y
32
33menu "ARM CPU Idle Drivers"
34depends on ARM
35source "drivers/cpuidle/Kconfig.arm"
36endmenu
37
38endif
39
40config ARCH_NEEDS_CPU_IDLE_COUPLED
41	def_bool n
42endmenu
43