1. 05 6月, 2012 1 次提交
    • R
      ARM: imx: clean and consolidate imx5 suspend and idle code · 565fa91f
      Robert Lee 提交于
      The imx5 idle code that existed in mm-imx5.c is moved to pm-imx5.c.
      The imx5_pm_init call is now exported and called during the
      MACHINE_START late_init in supported imx5 platforms.
      
      Remove various enabling/disabling of the gpc_dvfs clock and
      enable it once during initialization.  This is a very low
      power clock that must be enabled during low power operations.
      
      There are only two "suspend_state_t" imx5 low power modes ever
      used.  STOP_POWER_OFF for suspend to mem and
      WAIT_UNCLOCKED_POWER_OFF for idle and suspend to standby.  The
      latter mode only requires 500 nanoseconds of extra hardware
      exit time beyond a basic WFI operation (WAIT_CLOCKED mode) so
      no other idle mode is necessary.  Given this information, it
      is more efficient to keep the registers in the often used
      WAIT_UNCLOCKED_POWER_OFF state and only to and from the
      STOP_POWER_OFF register state as needed when suspend to
      mem is required.
      Signed-off-by: NRobert Lee <rob.lee@linaro.org>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      565fa91f
  2. 08 5月, 2012 2 次提交
  3. 25 4月, 2012 1 次提交
  4. 18 4月, 2012 1 次提交
  5. 31 3月, 2012 1 次提交
    • O
      ARM: fix builds due to missing <asm/system_misc.h> includes · 86dfe446
      Olof Johansson 提交于
      This does a sweeping change fixing up all the missing system_misc.h and
      system_info.h includes from the system.h split-up change. These were the
      ones I came across when building all defconfigs in arch/arm/configs, there
      might be more but they lack adequate build coverage to be easily caught.
      
      I'm expecting to get a lot of these piecemeal by each maintainer, so we
      might just as well do one sweeping change to get them all at once.
      
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Imre Kaloz <kaloz@openwrt.org>
      Cc: Krzysztof Halasa <khc@pm.waw.pl>
      Cc: Eric Miao <eric.y.miao@gmail.com>
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Acked-by: NKukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      86dfe446
  6. 08 3月, 2012 1 次提交
  7. 06 3月, 2012 1 次提交
  8. 16 11月, 2011 1 次提交
  9. 11 11月, 2011 1 次提交
    • S
      arm/imx: remove imx_idle hook and use pm_idle instead · 8c6d8319
      Shawn Guo 提交于
      The patch removes imx_idle hook and use pm_idle instead to get imx
      arch_idle prepared for the cleanup.  It's suggested by Russel King
      as below.
      
      > The final removal of mach/system.h depends on getting rid of the arch_idle
      > thing.  While going through these headers, I was dismayed to find these:
      >
      > arch/arm/mach-s3c2410/include/mach/system.h:void (*s3c24xx_idle)(void);
      > arch/arm/plat-mxc/include/mach/system.h:extern void (*imx_idle)(void);
      >
      > when we have a perfectly good pm_idle hook already in place - so there's
      > no excuse for these especially when other platforms are already using
      > pm_idle to hook their platform specific idle function into.  This is
      > something that better be gone at the next merge window!
      Suggested-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      8c6d8319
  10. 04 10月, 2011 1 次提交
  11. 20 9月, 2011 3 次提交
  12. 01 8月, 2011 1 次提交
  13. 27 7月, 2011 1 次提交
  14. 09 7月, 2011 1 次提交
  15. 07 7月, 2011 2 次提交
    • S
      dmaengine: imx-sdma: pass sdma firmware name via platform data · 2e534b21
      Shawn Guo 提交于
      It is not good to have cpu_name and to_version encoded into sdma
      firmware name as variables.  For example, there are three TOs of
      imx51 soc, the sdma script never changes since TO1, which means
      all three TOs of imx51 uses TO1 version of sdma script.  But we
      have to prepare three identical firmwares, sdma-imx51-to1.bin
      sdma-imx51-to2.bin and sdma-imx51-to3.bin, to have the kernel
      capable of running on all three TOs.
      
      The patch removes cpu_name and to_version from sdma platform data,
      and instead uses fw_name to pass the firmware name, so that we can
      pass the TO version where it's relevant and skip it where only one
      firmware exists.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Acked-by: NVinod Koul <vinod.koul@intel.com>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      2e534b21
    • S
      ARM: mxc: clean up imx-dma device registration · 36223604
      Shawn Guo 提交于
      The patch follows the implementation of gpio-mxc device registration
      to break the concentrated imx-dma device registration into soc
      specific setup function.  Then we can avoid the churn of "#ifdef"
      and the cpu_is_mx checking on such a long list, which makes no sense,
      considering more soc supports need to be added and we need to support
      single image for multiple socs in the long run.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      36223604
  16. 07 6月, 2011 1 次提交
  17. 18 2月, 2011 1 次提交
  18. 10 2月, 2011 1 次提交
  19. 08 12月, 2010 1 次提交
  20. 29 11月, 2010 1 次提交
  21. 24 11月, 2010 2 次提交
  22. 17 11月, 2010 1 次提交
  23. 26 7月, 2010 1 次提交
  24. 24 6月, 2010 1 次提交
  25. 19 3月, 2010 2 次提交
  26. 10 2月, 2010 1 次提交