ARM: tegra20: flowctrl: add support for cpu_suspend_enter/exit
authorJoseph Lo <josephl@nvidia.com>
Tue, 15 Jan 2013 22:11:01 +0000 (22:11 +0000)
committerStephen Warren <swarren@nvidia.com>
Mon, 28 Jan 2013 18:20:38 +0000 (11:20 -0700)
commitafec581c4b53e03a97d9ef1b7a746a67967573cf
tree148b93a680ee69542ac3cb8dfc7ff77a64cea6ea
parent4a2e32794e71db679b91df1d9c98921b2e32ec4e
ARM: tegra20: flowctrl: add support for cpu_suspend_enter/exit

The flow controller can help CPU to go into suspend mode (powered-down
state). When CPU go into powered-down state, it needs some careful
settings before getting into and after leaving. The enter and exit
functions do that by configuring appropriate mode for flow controller.

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