treewide: Add SPDX license identifier for more missed files
[linux-block.git] / drivers / cpuidle / Kconfig
CommitLineData
b98e01ad 1menu "CPU Idle"
4f86d3a8 2
b98e01ad 3config CPU_IDLE
4f86d3a8 4 bool "CPU idle PM support"
aa491ad3 5 default y if ACPI || PPC_PSERIES
d6f346f2 6 select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE)
b26bf6ab 7 select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE) && !CPU_IDLE_GOV_TEO
4f86d3a8
LB
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
60555e37 13 If you're using an ACPI-enabled platform, you should say Y here.
4f86d3a8 14
d6f346f2
DL
15if CPU_IDLE
16
bf4d1b5d 17config CPU_IDLE_MULTIPLE_DRIVERS
3a4a267e 18 bool
bf4d1b5d 19
4f86d3a8 20config CPU_IDLE_GOV_LADDER
d6f346f2 21 bool "Ladder governor (for periodic timer tick)"
4f86d3a8
LB
22
23config CPU_IDLE_GOV_MENU
d6f346f2 24 bool "Menu governor (for tickless system)"
4126c019 25
b26bf6ab
RW
26config CPU_IDLE_GOV_TEO
27 bool "Timer events oriented (TEO) governor (for tickless systems)"
28 help
29 This governor implements a simplified idle state selection method
30 focused on timer events and does not do any interactivity boosting.
31
32 Some workloads benefit from using it and it generally should be safe
33 to use. Say Y here if you are not happy with the alternatives.
34
9f14da34
LP
35config DT_IDLE_STATES
36 bool
37
b98e01ad 38menu "ARM CPU Idle Drivers"
0e087044 39depends on ARM || ARM64
b98e01ad
S
40source "drivers/cpuidle/Kconfig.arm"
41endmenu
bd2a337a 42
d0508944
PB
43menu "MIPS CPU Idle Drivers"
44depends on MIPS
45source "drivers/cpuidle/Kconfig.mips"
46endmenu
47
962e7bd4
DD
48menu "POWERPC CPU Idle Drivers"
49depends on PPC
50source "drivers/cpuidle/Kconfig.powerpc"
51endmenu
52
be6a98d3 53endif
b39b0981
DL
54
55config ARCH_NEEDS_CPU_IDLE_COUPLED
56 def_bool n
b98e01ad 57endmenu