ARM: tegra: shut off the CPU rail when the last CPU in suspend
authorJoseph Lo <josephl@nvidia.com>
Wed, 3 Jul 2013 09:50:41 +0000 (17:50 +0800)
committerStephen Warren <swarren@nvidia.com>
Fri, 19 Jul 2013 16:08:07 +0000 (10:08 -0600)
commit3f1be81eef0de7193aae389663f50d38df3a3788
tree3bff078600186eb439d7deb1c5b32590ed10443c
parentccea4bc654a9d5330c4488acadc3abfa4ea7ebbf
ARM: tegra: shut off the CPU rail when the last CPU in suspend

When the last CPU core in suspend, the CPU power rail can be turned off
by setting flags to flow controller. Then the flow controller will inform
PMC to turn off the CPU rail when the last CPU goes into suspend.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/flowctrl.h
arch/arm/mach-tegra/pmc.c