1. 02 12月, 2015 1 次提交
  2. 17 9月, 2015 1 次提交
    • A
      ARM: imx: add suspend/resume support for i.mx6ul · ee4a5f83
      Anson Huang 提交于
      This patch adds suspend function for i.MX6UL, it supports
      "standby" and "mem" mode, for "standby" mode, SoC will
      enter STOP mode only, while for "mem" mode, SoC will
      enter STOP mode and DDR IO will be set to low power
      mode.
      
      As i.MX6UL contains a "Cortex-A7" ARM core which has no
      PL310, so we need to avoid any PL310 operations during
      suspend/resume, also, we need to flush Cortex-A7's inernal
      L2 cache before suspend.
      Signed-off-by: NAnson Huang <b20788@freescale.com>
      ee4a5f83
  3. 03 6月, 2015 8 次提交
  4. 30 3月, 2015 2 次提交
  5. 13 3月, 2015 2 次提交
  6. 05 1月, 2015 1 次提交
  7. 05 12月, 2014 1 次提交
  8. 23 11月, 2014 2 次提交
  9. 22 11月, 2014 1 次提交
    • J
      ARM: imx: clean up machine mxc_arch_reset_init_dt reset init · 08ae9646
      Jingchang Lu 提交于
      System restart mechanism has been changed with the introduction
      of "kernel restart handler call chain support". The imx2 watchdog
      based restart handler has been moved to the driver, and these
      restart can be removed from the machine layer.
      
      This patch cleans up the device tree version machine reset init with
      mxc_arch_reset_init_dt and removes corresponding .restart handler,
      for the .init_machine that can be handled by system default after
      removing the mxc_arch_reset_init_dt, the .init_machine is also removed.
      Signed-off-by: NJingchang Lu <jingchang.lu@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      08ae9646
  10. 01 9月, 2014 1 次提交
  11. 18 7月, 2014 15 次提交
  12. 12 5月, 2014 1 次提交
  13. 30 4月, 2014 1 次提交
  14. 05 3月, 2014 3 次提交
    • S
      ARM: imx6: move v7_cpu_resume() into suspend-imx6.S · c356bdb4
      Shawn Guo 提交于
      The suspend-imx6.S is introduced recently for suspend low-level assembly
      code.  Since function v7_cpu_resume() is only used by suspend support,
      it makes sense to move the function into suspend-imx6.S, and control the
      build of the file with CONFIG_SUSPEND option.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      c356bdb4
    • A
      ARM: imx: add suspend in ocram support for i.mx6q · df595746
      Anson Huang 提交于
      When system enter suspend, we can set the DDR IO to
      high-Z state to save DDR IOs' power consumption, this
      operation can save many power(from ~26mA@1.5V to ~15mA@1.5V,
      measured on i.MX6Q SabreSD board, R25) of DDR IOs. To
      achieve that, we need to copy the suspend code to ocram
      and run the low level hardware related code(set DDR IOs
      to high-Z state) in ocram.
      
      If there is no ocram space available, then system will
      still do suspend in external DDR, hence no DDR IOs will
      be set to high-Z.
      
      The OCRAM usage layout is as below,
      
      ocram suspend region(4K currently):
      ======================== high address ======================
                                    .
                                    .
                                    .
                                    ^
                                    ^
                                    ^
                            imx6_suspend code
                   PM_INFO structure(imx6_cpu_pm_info)
      ======================== low address =======================
      Reviewed-by: NSascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: NAnson Huang <b20788@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      df595746
    • A
      ARM: imx: add cpuidle support for i.mx6sl · 751f7e99
      Anson Huang 提交于
      Add cpuidle support for i.MX6SL, currently only support
      two cpuidle levels(ARM wfi and WAIT mode), and add software
      workaround for WAIT mode errata as below:
      
      ERR005311 CCM: After exit from WAIT mode, unwanted interrupt(s) taken
                during WAIT mode entry process could cause cache memory
                corruption.
      
      Software workaround:
          To prevent this issue from occurring, software should ensure that
      the ARM to IPG clock ratio is less than 12:5 (that is < 2.4x), before
      entering WAIT mode.
      Signed-off-by: NAnson Huang <b20788@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      751f7e99