| 1 | menu "CPU Idle" |
| 2 | |
| 3 | config 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 | |
| 15 | if CPU_IDLE |
| 16 | |
| 17 | config CPU_IDLE_MULTIPLE_DRIVERS |
| 18 | bool |
| 19 | |
| 20 | config CPU_IDLE_GOV_LADDER |
| 21 | bool "Ladder governor (for periodic timer tick)" |
| 22 | |
| 23 | config CPU_IDLE_GOV_MENU |
| 24 | bool "Menu governor (for tickless system)" |
| 25 | |
| 26 | config DT_IDLE_STATES |
| 27 | bool |
| 28 | |
| 29 | menu "ARM CPU Idle Drivers" |
| 30 | depends on ARM || ARM64 |
| 31 | source "drivers/cpuidle/Kconfig.arm" |
| 32 | endmenu |
| 33 | |
| 34 | menu "MIPS CPU Idle Drivers" |
| 35 | depends on MIPS |
| 36 | source "drivers/cpuidle/Kconfig.mips" |
| 37 | endmenu |
| 38 | |
| 39 | menu "POWERPC CPU Idle Drivers" |
| 40 | depends on PPC |
| 41 | source "drivers/cpuidle/Kconfig.powerpc" |
| 42 | endmenu |
| 43 | |
| 44 | endif |
| 45 | |
| 46 | config ARCH_NEEDS_CPU_IDLE_COUPLED |
| 47 | def_bool n |
| 48 | endmenu |