1. 14 10月, 2011 1 次提交
  2. 07 9月, 2011 1 次提交
    • L
      ARM: davinci: fix cache flush build error · 897a6a1a
      Linus Walleij 提交于
      The TNET variant of DaVinci compiles some code that it shares
      with other DaVinci variants, however it has a V6 CPU rather than
      an ARM926T, thus the hardcoded call to arm926_flush_kern_cache_all()
      in sleep.S will obviously fail, and we need to build with the
      v6_flush_kern_cache_all() call instead. This was triggered by
      manually altering the DaVinci config to build the TNET version.
      
      Cc: Dave Martin <dave.martin@linaro.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      Cc: stable@kernel.org
      897a6a1a
  3. 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