xref: /openbmc/linux/drivers/cpuidle/Kconfig (revision b98e01ad4ed9da6882b41983319361502aded307)
1*b98e01adSSaharamenu "CPU Idle"
24f86d3a8SLen Brown
3*b98e01adSSaharaconfig CPU_IDLE
44f86d3a8SLen Brown	bool "CPU idle PM support"
5aa491ad3SBenjamin Herrenschmidt	default y if ACPI || PPC_PSERIES
6d6f346f2SDaniel Lezcano	select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE)
7d6f346f2SDaniel Lezcano	select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE)
84f86d3a8SLen Brown	help
94f86d3a8SLen Brown	  CPU idle is a generic framework for supporting software-controlled
104f86d3a8SLen Brown	  idle processor power management.  It includes modular cross-platform
114f86d3a8SLen Brown	  governors that can be swapped during runtime.
124f86d3a8SLen Brown
1360555e37Slen.brown@intel.com	  If you're using an ACPI-enabled platform, you should say Y here.
144f86d3a8SLen Brown
15d6f346f2SDaniel Lezcanoif CPU_IDLE
16d6f346f2SDaniel Lezcano
17bf4d1b5dSDaniel Lezcanoconfig CPU_IDLE_MULTIPLE_DRIVERS
18bf4d1b5dSDaniel Lezcano        bool "Support multiple cpuidle drivers"
19bf4d1b5dSDaniel Lezcano        default n
20bf4d1b5dSDaniel Lezcano        help
21bf4d1b5dSDaniel Lezcano         Allows the cpuidle framework to use different drivers for each CPU.
22bf4d1b5dSDaniel Lezcano         This is useful if you have a system with different CPU latencies and
23bf4d1b5dSDaniel Lezcano         states. If unsure say N.
24bf4d1b5dSDaniel Lezcano
254f86d3a8SLen Brownconfig CPU_IDLE_GOV_LADDER
26d6f346f2SDaniel Lezcano	bool "Ladder governor (for periodic timer tick)"
274f86d3a8SLen Brown	default y
284f86d3a8SLen Brown
294f86d3a8SLen Brownconfig CPU_IDLE_GOV_MENU
30d6f346f2SDaniel Lezcano	bool "Menu governor (for tickless system)"
314f86d3a8SLen Brown	default y
324126c019SColin Cross
33*b98e01adSSaharamenu "ARM CPU Idle Drivers"
34*b98e01adSSaharadepends on ARM
35*b98e01adSSaharasource "drivers/cpuidle/Kconfig.arm"
36*b98e01adSSaharaendmenu
37bd2a337aSMichal Simek
38be6a98d3SRob Herringendif
39b39b0981SDaniel Lezcano
40b39b0981SDaniel Lezcanoconfig ARCH_NEEDS_CPU_IDLE_COUPLED
41b39b0981SDaniel Lezcano	def_bool n
42*b98e01adSSaharaendmenu
43