davinci: add CPU idle driver
authorSekhar Nori <nsekhar@ti.com>
Tue, 3 Nov 2009 09:44:13 +0000 (15:14 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 25 Nov 2009 18:21:37 +0000 (10:21 -0800)
commita6c0f6eca1173e9d44f1f0fb9ecc832abd7d77d6
tree57057404d156f4beff39c3e6d6fa7c6a62a9eaa6
parent1ef203c3242c17da6559c4be1aa91c689d3efbb0
davinci: add CPU idle driver

The patch adds support for DaVinci cpu idle driver.

Two idle states are defined:
1. Wait for interrupt
2. Wait for interrupt and DDR self-refresh (or power down)

Some DaVinci SoCs support putting DDR in self-refresh (eg Dm644x, DM6467)
while others support putting DDR in self-refresh and power down (eg DM35x,
DA8xx).

Putting DDR (or mDDR) in power down saves more power than self-refresh.

The patch has been tested on DA850/OMAP-L138 EVM.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/Makefile
arch/arm/mach-davinci/cpuidle.c [new file with mode: 0644]
arch/arm/mach-davinci/include/mach/cpuidle.h [new file with mode: 0644]