xref: /openbmc/linux/drivers/cpuidle/Kconfig (revision b39b0981b0811943d724915a8a0150d6ac5110e0)
14f86d3a8SLen Brown
2d6f346f2SDaniel Lezcanomenuconfig CPU_IDLE
34f86d3a8SLen Brown	bool "CPU idle PM support"
4aa491ad3SBenjamin Herrenschmidt	default y if ACPI || PPC_PSERIES
5d6f346f2SDaniel Lezcano	select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE)
6d6f346f2SDaniel Lezcano	select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE)
74f86d3a8SLen Brown	help
84f86d3a8SLen Brown	  CPU idle is a generic framework for supporting software-controlled
94f86d3a8SLen Brown	  idle processor power management.  It includes modular cross-platform
104f86d3a8SLen Brown	  governors that can be swapped during runtime.
114f86d3a8SLen Brown
1260555e37Slen.brown@intel.com	  If you're using an ACPI-enabled platform, you should say Y here.
134f86d3a8SLen Brown
14d6f346f2SDaniel Lezcanoif CPU_IDLE
15d6f346f2SDaniel Lezcano
16bf4d1b5dSDaniel Lezcanoconfig CPU_IDLE_MULTIPLE_DRIVERS
17bf4d1b5dSDaniel Lezcano        bool "Support multiple cpuidle drivers"
18bf4d1b5dSDaniel Lezcano        default n
19bf4d1b5dSDaniel Lezcano        help
20bf4d1b5dSDaniel Lezcano         Allows the cpuidle framework to use different drivers for each CPU.
21bf4d1b5dSDaniel Lezcano         This is useful if you have a system with different CPU latencies and
22bf4d1b5dSDaniel Lezcano         states. If unsure say N.
23bf4d1b5dSDaniel Lezcano
244f86d3a8SLen Brownconfig CPU_IDLE_GOV_LADDER
25d6f346f2SDaniel Lezcano	bool "Ladder governor (for periodic timer tick)"
264f86d3a8SLen Brown	default y
274f86d3a8SLen Brown
284f86d3a8SLen Brownconfig CPU_IDLE_GOV_MENU
29d6f346f2SDaniel Lezcano	bool "Menu governor (for tickless system)"
304f86d3a8SLen Brown	default y
314126c019SColin Cross
32be6a98d3SRob Herringconfig CPU_IDLE_CALXEDA
33be6a98d3SRob Herring	bool "CPU Idle Driver for Calxeda processors"
34be6a98d3SRob Herring	depends on ARCH_HIGHBANK
35be6a98d3SRob Herring	help
36be6a98d3SRob Herring	  Select this to enable cpuidle on Calxeda processors.
37bd2a337aSMichal Simek
38bd2a337aSMichal Simekconfig CPU_IDLE_ZYNQ
39bd2a337aSMichal Simek	bool "CPU Idle Driver for Xilinx Zynq processors"
40bd2a337aSMichal Simek	depends on ARCH_ZYNQ
41bd2a337aSMichal Simek	help
42bd2a337aSMichal Simek	  Select this to enable cpuidle on Xilinx Zynq processors.
43bd2a337aSMichal Simek
44be6a98d3SRob Herringendif
45*b39b0981SDaniel Lezcano
46*b39b0981SDaniel Lezcanoconfig ARCH_NEEDS_CPU_IDLE_COUPLED
47*b39b0981SDaniel Lezcano	def_bool n
48