xref: /linux/drivers/cpuidle/Kconfig (revision 04eeb606a8383b306f4bc6991da8231b5f3924b0)
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
19
20config CPU_IDLE_GOV_LADDER
21	bool "Ladder governor (for periodic timer tick)"
22	default y
23
24config CPU_IDLE_GOV_MENU
25	bool "Menu governor (for tickless system)"
26	default y
27
28config DT_IDLE_STATES
29	bool
30
31menu "ARM CPU Idle Drivers"
32depends on ARM
33source "drivers/cpuidle/Kconfig.arm"
34endmenu
35
36menu "ARM64 CPU Idle Drivers"
37depends on ARM64
38source "drivers/cpuidle/Kconfig.arm64"
39endmenu
40
41menu "MIPS CPU Idle Drivers"
42depends on MIPS
43source "drivers/cpuidle/Kconfig.mips"
44endmenu
45
46menu "POWERPC CPU Idle Drivers"
47depends on PPC
48source "drivers/cpuidle/Kconfig.powerpc"
49endmenu
50
51endif
52
53config ARCH_NEEDS_CPU_IDLE_COUPLED
54	def_bool n
55endmenu
56