]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: tegra30: cpuidle: add powered-down state for secondary CPUs
authorJoseph Lo <josephl@nvidia.com>
Wed, 31 Oct 2012 09:41:17 +0000 (17:41 +0800)
committerStephen Warren <swarren@nvidia.com>
Wed, 31 Oct 2012 20:18:54 +0000 (14:18 -0600)
commit0e57aed522557a9aa61cb6524f89c552ccd7898c
tree61e3186997d65096252074c073fab9970b08c93c
parent41e79bdd49975f4c70212734740da79e55a7b2ab
ARM: tegra30: cpuidle: add powered-down state for secondary CPUs

This supports power-gated idle on secondary CPUs for Tegra30. The
secondary CPUs can go into powered-down state independently. When
CPU goes into this state, it saves it's contexts and puts itself
to flow controlled WFI state. After that, it will been power gated.

Be aware of that, you may see the legacy power state "LP2" in the
code which is exactly the same meaning of "CPU power down".

Based on the work by:
Scott Williams <scwilliams@nvidia.com>

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/cpuidle-tegra30.c
arch/arm/mach-tegra/pm.c [new file with mode: 0644]
arch/arm/mach-tegra/pm.h [new file with mode: 0644]
arch/arm/mach-tegra/reset.h
arch/arm/mach-tegra/sleep-tegra30.S
arch/arm/mach-tegra/sleep.S
arch/arm/mach-tegra/sleep.h