mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Like other ARM specific drivers, this one requires ARM_CPU_SUSPEND, as shown by this linker error: drivers/built-in.o: In function `calxeda_pwrdown_idle': drivers/cpuidle/cpuidle-calxeda.c:84: undefined reference to `cpu_suspend' drivers/cpuidle/cpuidle-calxeda.c:86: undefined reference to `cpu_resume' Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: linux-pm@vger.kernel.org
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
|
|
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 ARCH_NEEDS_CPU_IDLE_COUPLED
|
|
def_bool n
|
|
|
|
if CPU_IDLE
|
|
|
|
config CPU_IDLE_CALXEDA
|
|
bool "CPU Idle Driver for Calxeda processors"
|
|
depends on ARCH_HIGHBANK
|
|
select ARM_CPU_SUSPEND
|
|
help
|
|
Select this to enable cpuidle on Calxeda processors.
|
|
|
|
endif
|