
config CPU_IDLE
	bool "CPU idle PM support"
	default y if ACPI || PPC_PSERIES
	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.

config CPU_IDLE_MULTIPLE_DRIVERS
        bool "Support multiple cpuidle drivers"
        depends on CPU_IDLE
        default n
        help
         Allows the cpuidle framework to use different drivers for each CPU.
         This is useful if you have a system with different CPU latencies and
         states. If unsure say N.

config CPU_IDLE_GOV_LADDER
	bool
	depends on CPU_IDLE
	default y

config CPU_IDLE_GOV_MENU
	bool
	depends on CPU_IDLE && NO_HZ
	default y

config CPU_IDLE_USE_SUNXI_MENU_GOVERNOR
	bool "use allwinner sunxi governor based on menu governor."
	depends on CPU_IDLE_GOV_MENU
	default y
	help
	 Allwinner menu governor, a kind of menu governor which is compatible
	 with allwinner's soc which without perfect interrupts alignment ability,
	 will not use correction factor because the factor is not accurate for
	 predicting next interrupts.

config ARCH_NEEDS_CPU_IDLE_COUPLED
	def_bool n

config DT_IDLE_STATES
	bool

if CPU_IDLE

menu "ARM CPU Idle Drivers"
depends on ARM || ARM64
source "drivers/cpuidle/Kconfig.arm"
endmenu

config CPU_IDLE_CALXEDA
	bool "CPU Idle Driver for Calxeda processors"
	depends on ARCH_HIGHBANK
	help
	  Select this to enable cpuidle on Calxeda processors.

config CPU_IDLE_SUNXI
	bool "CPU Idle Driver for Sunxi processors"
	depends on ARCH_SUN8IW11
	select ARM_CPU_SUSPEND
	help
	  Select this to enable cpuidle on Sunxi processors.

endif
