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)
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>

No differences found