aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-02-26 17:05:46 -0500
committerRob Herring <rob.herring@calxeda.com>2013-10-01 17:30:56 -0400
commita410146c3ea5cf82a52f00814c0a4142ea9768ba (patch)
treebf7fdb253aa478f472fba2b43489e8fbb40209e9 /arch/arm
parent60a66e370007e8535b7a561353b07b37deaf35ba (diff)
cpuidle: calxeda: add support to use PSCI calls
This updates the Calxeda cpuidle driver to use PSCI calls to powergate cores. This also enables cpuidle for the ECX-2000. This could possibly become a generic PSCI driver, but there are no other PSCI users in the kernel other than mach-virt. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: linux-pm@vger.kernel.org
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-highbank/highbank.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-highbank/highbank.c b/arch/arm/mach-highbank/highbank.c
index a78ed62d6542..53d05bc904f9 100644
--- a/arch/arm/mach-highbank/highbank.c
+++ b/arch/arm/mach-highbank/highbank.c
@@ -168,7 +168,7 @@ static void __init highbank_init(void)
168 168
169 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 169 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
170 170
171 if (of_machine_is_compatible("calxeda,highbank")) 171 if (psci_ops.cpu_suspend)
172 platform_device_register(&highbank_cpuidle_device); 172 platform_device_register(&highbank_cpuidle_device);
173} 173}
174 174