Kconfig 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. menu "CPU Idle"
  2. config CPU_IDLE
  3. bool "CPU idle PM support"
  4. default y if ACPI || PPC_PSERIES
  5. select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE)
  6. select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE)
  7. select CPU_IDLE_GOV_MTK 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. If you're using an ACPI-enabled platform, you should say Y here.
  13. if CPU_IDLE
  14. config CPU_IDLE_MULTIPLE_DRIVERS
  15. bool
  16. config CPU_IDLE_GOV_LADDER
  17. bool "Ladder governor (for periodic timer tick)"
  18. default y
  19. config CPU_IDLE_GOV_MENU
  20. bool "Menu governor (for tickless system)"
  21. default y
  22. config CPU_IDLE_GOV_MTK
  23. bool "MTK governor (for MediaTek SoCs)"
  24. default y
  25. help
  26. MTK governor is used for MTK SoCs to select the correct idle state,
  27. which applies system scenario-based policy.
  28. MTK governor is specified for MTK SoCs.
  29. MTK CPUidle drivers should be paired with MTK governer.
  30. config DT_IDLE_STATES
  31. bool
  32. menu "ARM CPU Idle Drivers"
  33. depends on ARM
  34. source "drivers/cpuidle/Kconfig.arm"
  35. endmenu
  36. menu "ARM64 CPU Idle Drivers"
  37. depends on ARM64
  38. source "drivers/cpuidle/Kconfig.arm64"
  39. endmenu
  40. menu "MIPS CPU Idle Drivers"
  41. depends on MIPS
  42. source "drivers/cpuidle/Kconfig.mips"
  43. endmenu
  44. menu "POWERPC CPU Idle Drivers"
  45. depends on PPC
  46. source "drivers/cpuidle/Kconfig.powerpc"
  47. endmenu
  48. endif
  49. config ARCH_NEEDS_CPU_IDLE_COUPLED
  50. def_bool n
  51. endmenu