You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.8 KiB
71 lines
1.8 KiB
menu "CPU Idle" |
|
|
|
config CPU_IDLE |
|
bool "CPU idle PM support" |
|
default y if ACPI || PPC_PSERIES |
|
select CPU_IDLE_GOV_LADDER if ((!NO_HZ && !NO_HZ_IDLE) && !CPU_IDLE_GOV_MTK) |
|
select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE) |
|
select CPU_IDLE_GOV_MTK if (NO_HZ || NO_HZ_IDLE) |
|
select CPU_IDLE_GOV_MTK_MENU if (NO_HZ || NO_HZ_IDLE) |
|
help |
|
CPU idle is a generic framework for supporting software-controlled |
|
idle processor power management. It includes modular cross-platform |
|
governors that can be swapped during runtime. |
|
|
|
If you're using an ACPI-enabled platform, you should say Y here. |
|
|
|
if CPU_IDLE |
|
|
|
config CPU_IDLE_MULTIPLE_DRIVERS |
|
bool |
|
default y |
|
|
|
config CPU_IDLE_GOV_LADDER |
|
bool "Ladder governor (for periodic timer tick)" |
|
default y if !CPU_IDLE_GOV_MTK |
|
|
|
config CPU_IDLE_GOV_MENU |
|
bool "Menu governor (for tickless system)" |
|
default y |
|
|
|
config CPU_IDLE_GOV_MTK |
|
bool "MTK governor (for MediaTek SoCs)" |
|
default y |
|
help |
|
MTK governor is used for MTK SoCs to select the correct idle state, |
|
which applies system scenario-based policy. |
|
MTK governor is specified for MTK SoCs. |
|
MTK CPUidle drivers should be paired with MTK governer. |
|
|
|
config CPU_IDLE_GOV_MTK_MENU |
|
bool "MTK menu governor (for MediaTek SoCs)" |
|
default y |
|
help |
|
MTK menu governor is based on upstream menu governor, |
|
and modify predict_us policy to fit |
|
execution characteristics of MTK SoCs. |
|
MTK menu can be substituted for upstream menu governor |
|
|
|
config DT_IDLE_STATES |
|
bool |
|
|
|
menu "ARM CPU Idle Drivers" |
|
depends on ARM || ARM64 |
|
source "drivers/cpuidle/Kconfig.arm" |
|
endmenu |
|
|
|
menu "MIPS CPU Idle Drivers" |
|
depends on MIPS |
|
source "drivers/cpuidle/Kconfig.mips" |
|
endmenu |
|
|
|
menu "POWERPC CPU Idle Drivers" |
|
depends on PPC |
|
source "drivers/cpuidle/Kconfig.powerpc" |
|
endmenu |
|
|
|
endif |
|
|
|
config ARCH_NEEDS_CPU_IDLE_COUPLED |
|
def_bool n |
|
endmenu
|
|
|