1. 14 5月, 2011 1 次提交
  2. 16 12月, 2009 1 次提交
  3. 03 5月, 2009 2 次提交
  4. 29 1月, 2009 1 次提交
    • M
      sh: CMT clockevent platform driver · 3fb1b6ad
      Magnus Damm 提交于
      SuperH CMT clockevent driver.
      
      Both 16-bit and 32-bit CMT versions are supported, but only 32-bit
      is tested. This driver contains support for both clockevents and
      clocksources, but no unregistration is supported at this point.
      
      Works fine as clock source and/or event in periodic or oneshot mode.
      Tested on sh7722 and sh7723, but should work with any cpu/architecture.
      
      This version is lacking clocksource and early platform driver support
      for now - this to minimize the amount of dependencies.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      3fb1b6ad
  5. 04 3月, 2008 1 次提交
    • D
      atmel_tc clocksource/clockevent code · 4d243f92
      David Brownell 提交于
      Clocksource and clockevent device based on the Atmel TC blocks.
      
      The clockevent device handles both periodic and oneshot modes, so this
      enables NO_HZ and high res timers on some platforms that previously
      couldn't use those mechanisms.
      
      This works on both AVR32 and AT91 chips, given relevant patches for
      tclib support (always) and clockevents (or else this will only look
      like a higher precision clocksource).  It's an updated and modularized
      version of an AT91-only patch that has circulated for some time now.
      
      Changes relative to the original patch:
        * Update to use new tclib API
        * Replace open-coded do-while loop using goto with a real do-while loop
        * Minor irq handler optimization: Load register base address from
          dev_id instead of a global variable.
        * Aggressively turn off clocks when the clockevent isn't being used
        * Include the clockevent code on AT91RM9200 as well. The rating is
          lower than the System Timer, so the clock will usually stay off.
        * Don't assume that the number of clocks is always equal to the
          number of irqs.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      4d243f92
  6. 27 6月, 2006 2 次提交