1. 19 4月, 2008 2 次提交
  2. 06 3月, 2008 1 次提交
  3. 01 3月, 2008 3 次提交
  4. 17 2月, 2008 2 次提交
  5. 10 2月, 2008 2 次提交
  6. 06 2月, 2008 1 次提交
  7. 04 2月, 2008 9 次提交
  8. 03 2月, 2008 1 次提交
  9. 02 2月, 2008 1 次提交
  10. 28 1月, 2008 13 次提交
  11. 26 1月, 2008 5 次提交
    • E
      [ARM] pxa: skip registers saving/restoring if entering standby mode · 512f03fd
      eric miao 提交于
      registers are retained during standby mode, thus it's not necessary
      to save/restore and checksum
      Signed-off-by: Neric miao <eric.miao@marvell.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      512f03fd
    • R
      [ARM] pxa: fix PXA27x resume · dd01b2fc
      Russell King 提交于
      When PXA27x wakes up, tick_resume_oneshot() tries to set a timer
      interrupt to occur immediately.  Since PXA27x requires at least
      MIN_OSCR_DELTA, this causes us to flag an error.
      
      tick_program_event() then increments the next event time by
      min_delta_ns.  However, by the time we get back to programming
      the next event, the OSCR has incremented such that we fail again.
      We repeatedly retry, but the OSCR is too fast for us - we never
      catch up, so we never break out of the loop - resulting in us
      never apparantly resuming.
      
      Fix this by doubling min_delta_ns.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      dd01b2fc
    • R
      [ARM] pxa: Avoid fiddling with CKEN register on suspend · fd8e7af8
      Russell King 提交于
      The PXA manuals indicate that when in standby or sleep modes, clocks to
      peripherals are shut off by the processor itself.  Eg:
      
      PXA270 standby: "In standby mode, all clocks are disabled except those
       for the power manager and the RTC."
      
      PXA270 sleep: "In sleep mode, all clocks are disabled to the processor
       and to all peripherals except the RTC."
      
      PXA255 sleep: "In Sleep Mode, all processor and peripheral clocks are
       disabled, except the RTC."
      
      Therefore, it should be safe to leave the clock enable register alone
      prior to entering low power modes for these SoCs.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      fd8e7af8
    • R
      [ARM] pxa: Add PXA3 standby code hooked into the IRQ wake scheme · 7b5dea12
      Russell King 提交于
      Wakeup sources on PXA3 are enabled at two levels.  First, the MFP
      configuration has to be set to enable which edges a specific pin
      will trigger a wakeup.  The pin also has to be routed to a functional
      unit.  Lastly, the functional unit must be enabled as a wakeup source
      in the appropriate AD*ER registers (AD2D0ER for standby resume.)
      
      This doesn't fit well with the IRQ wake scheme - we currently do a
      best effort conversion from IRQ numbers to functional unit wake enable
      bits.  For instance, there's several USB client related enable bits but
      there's no corresponding IRQs to determine which you'd want.  Conversely,
      there's a single enable bit covering several functional units.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      7b5dea12
    • R
      a10476d4