1. 14 10月, 2011 1 次提交
  2. 05 2月, 2010 1 次提交
    • S
      davinci: add power management support · efc1bb8a
      Sekhar Nori 提交于
      This patch adds core power management (suspend-to-RAM)
      support for DaVinci SoCs.
      
      The code depends on the the "deepsleep" feature to suspend
      the SoC and saves power by gating the input clock.
      
      The wakeup can be based on an external event as supported
      by the SoC.
      
      Assembly code (in sleep.S) is added to aid gating DDR2
      clocks. Code doing this work should not be accessing DDR2.
      The assembly code is relocated to SRAM by the code in pm.c
      
      The support has been validated on DA850/OMAP-L138 only
      though the code is (hopefully) generic enough that other
      SoCs supporting deepsleep feature simply requires SoC
      specific code to start using this driver.
      
      Note that all the device drivers don't support suspend/resume
      still and are being worked on.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      efc1bb8a