ARM: tegra114: add low level support for CPU idle powered-down mode
authorJoseph Lo <josephl@nvidia.com>
Fri, 19 Jul 2013 09:25:25 +0000 (17:25 +0800)
committerStephen Warren <swarren@nvidia.com>
Fri, 19 Jul 2013 16:07:14 +0000 (10:07 -0600)
commit1b9e6b2745621984b4aad49b0386814815fb15e7
tree3b258ce7b8cdfe8cfb3c06d120bbba4dbedfcf70
parent7e8b15dbc392cf3097f2d2e6dfbbf2e97318c553
ARM: tegra114: add low level support for CPU idle powered-down mode

The flow controller would take care the power sequence when CPU idle in
powered-down mode. It powered gate the CPU when CPU runs into WFI
instruction. And wake up the CPU when event be triggered.

The sequence is below.
* setting wfi bitmap for the CPU as the halt event in the
  FLOW_CTRL_CPU_HALT_REG to monitor the CPU running into WFI,then power
  gate it
* setting IRQ and FIQ as wake up event to wake up CPU when event triggered

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/sleep-tegra30.S
This page took 0.026501 seconds and 5 git commands to generate.