• Sekhar Nori's avatar
    davinci: add CPU idle driver · a6c0f6ec
    Sekhar Nori authored
    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: default avatarSekhar Nori <nsekhar@ti.com>
    Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
    a6c0f6ec
cpuidle.c 4.83 KB