Kconfig 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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_MENU if (NO_HZ || NO_HZ_IDLE) && !CPU_IDLE_NO_MTK
  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. config CPU_IDLE_GOV_MENU
  19. bool "Menu governor (for tickless system)"
  20. config CPU_IDLE_GOV_MTK
  21. bool "MTK governor (for MediaTek SoCs)"
  22. help
  23. MTK governor is used for MTK SoCs to select the correct idle state,
  24. which applies system scenario-based policy.
  25. MTK governor is specified for MTK SoCs.
  26. MTK CPUidle drivers should be paired with MTK governer.
  27. config CPU_IDLE_GOV_MTK_MENU
  28. bool "MTK menu governor (for MediaTek SoCs)"
  29. help
  30. MTK menu governor is based on upstream menu governor,
  31. and modify predict_us policy to fit
  32. execution characteristics of MTK SoCs.
  33. MTK menu can be substituted for upstream menu governor
  34. config CPU_IDLE_NO_MTK
  35. bool "Disable MTK related cpuidle driver / governor"
  36. help
  37. MTK added many proprietary cpuidle drivers and governors.
  38. And some of them set to be default for all projects.
  39. But not all (MTK) projects use these driver.
  40. Set this option to avoid using MTK driver / gorvernor by default.
  41. config DT_IDLE_STATES
  42. bool
  43. menu "ARM CPU Idle Drivers"
  44. depends on ARM || ARM64
  45. source "drivers/cpuidle/Kconfig.arm"
  46. endmenu
  47. menu "MIPS CPU Idle Drivers"
  48. depends on MIPS
  49. source "drivers/cpuidle/Kconfig.mips"
  50. endmenu
  51. menu "POWERPC CPU Idle Drivers"
  52. depends on PPC
  53. source "drivers/cpuidle/Kconfig.powerpc"
  54. endmenu
  55. endif
  56. config ARCH_NEEDS_CPU_IDLE_COUPLED
  57. def_bool n
  58. endmenu