1. 05 6月, 2012 3 次提交
    • 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
    • R
      ARM: imx: Add comments to tzic_enable_waker() · eee4f400
      Robert Lee 提交于
      Add additional comments to the tzic_enable_wake() funciton to
      clarify its intended usage.
      Signed-off-by: NRobert Lee <rob.lee@linaro.org>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      eee4f400
    • R
      ARM: imx: Modify IMX_IO_P2V macro · 2ce2e4b2
      Robert Lee 提交于
      A change is needed in the IMX_IO_P2V macro to allow all imx5 platforms
      to use common definitions when accessing registers of peripherals on
      the AIPS2 bus.  With this change, IMX_IO_P2V(MX50_AIPS2_BASE_ADDR) ==
      IMX_IO_P2V(MX51_AIPS2_BASE_ADDR) == IMX_IO_P2V(MX53_AIPS2_BASE_ADDR).
      
      This change was tested for mapping conflicts using the iop2v script
      found at git://git.pengutronix.de/git/ukl/imx-iop2v.git and by
      performing a bootup of a default build using imx_v6_v7_defconfig
      on a imx51 babbage board and imx53 loco board.  The comments were
      modified to reflect the output given by the script which shows the
      virtual address mappings.
      Signed-off-by: NRobert Lee <rob.lee@linaro.org>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      2ce2e4b2
  2. 02 6月, 2012 5 次提交
  3. 01 6月, 2012 15 次提交
  4. 31 5月, 2012 2 次提交
  5. 30 5月, 2012 1 次提交
  6. 25 5月, 2012 2 次提交
  7. 24 5月, 2012 2 次提交
  8. 22 5月, 2012 10 次提交