1. 17 3月, 2015 1 次提交
  2. 29 1月, 2015 4 次提交
  3. 14 1月, 2015 1 次提交
  4. 09 1月, 2015 1 次提交
  5. 24 11月, 2014 1 次提交
  6. 28 10月, 2014 1 次提交
  7. 29 9月, 2014 1 次提交
  8. 15 9月, 2014 1 次提交
  9. 23 7月, 2014 3 次提交
  10. 23 5月, 2014 1 次提交
    • X
      clocksource: Add Freescale FlexTimer Module (FTM) timer support · 2529c3a3
      Xiubo Li 提交于
      The Freescale FlexTimer Module time reference is a 16-bit counter
      that can be used as an unsigned or signed increase counter.
      
      CNTIN defines the starting value of the count and MOD defines the
      final value of the count. The value of CNTIN is loaded into the FTM
      counter, and the counter increments until the value of MOD is reached,
      at which point the counter is reloaded with the value of CNTIN. That's
      also when an overflow interrupt will be generated.
      
      Here using the 'evt' prefix or postfix as clock event device and
      the 'src' as clock source device.
      Signed-off-by: NXiubo Li <Li.Xiubo@freescale.com>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Cc: Jingchang Lu <b35083@freescale.com>
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      2529c3a3
  11. 16 5月, 2014 1 次提交
  12. 12 3月, 2014 2 次提交
  13. 12 2月, 2014 1 次提交
  14. 05 2月, 2014 1 次提交
  15. 14 12月, 2013 1 次提交
  16. 11 12月, 2013 1 次提交
  17. 23 10月, 2013 1 次提交
  18. 18 7月, 2013 1 次提交
    • J
      ARM: clocksource: Add support for MOXA ART SoCs · 07862c1c
      Jonas Jensen 提交于
      This patch adds an clocksource driver for the main timer(s)
      found on MOXA ART SoCs.
      
      The MOXA ART SoC provides three separate timers with individual
      count/load/match registers, two are used here:
      
      TIMER1: clockevents, used to support oneshot and periodic events
      TIMER2: set up as a free running counter, used as clocksource
      
      Timers are preconfigured by bootloader to count down and interrupt
      on match or zero. Count increments every APB clock cycle and is
      automatically reloaded when it reaches zero.
      Signed-off-by: NJonas Jensen <jonas.jensen@gmail.com>
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      07862c1c
  19. 03 7月, 2013 1 次提交
    • S
      clocksource: arm_global_timer: Add ARM global timer support · c1b40e44
      Stuart Menefy 提交于
      This is a simple driver for the global timer module found in the Cortex
      A9-MP cores from revision r1p0 onwards. This should be able to perform
      the functions of the system timer and the local timer in an SMP system.
      
      The global timer has the following features:
          The global timer is a 64-bit incrementing counter with an
      auto-incrementing feature. It continues incrementing after sending
      interrupts. The global timer is memory mapped in the private memory
      region.
          The global timer is accessible to all Cortex-A9 processors in the
      cluster. Each Cortex-A9 processor has a private 64-bit comparator that
      is used to assert a private interrupt when the global timer has reached
      the comparator value. All the Cortex-A9 processors in a design use the
      banked ID, ID27, for this interrupt. ID27 is sent to the Interrupt
      Controller as a Private Peripheral Interrupt. The global timer is
      clocked by PERIPHCLK.
      Signed-off-by: NStuart Menefy <stuart.menefy@st.com>
      Signed-off-by: NSrinivas Kandagatla <srinivas.kandagatla@st.com>
      CC: Arnd Bergmann <arnd@arndb.de>
      CC: Rob Herring <robherring2@gmail.com>
      CC: Linus Walleij <linus.walleij@linaro.org>
      CC: Will Deacon <will.deacon@arm.com>
      CC: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      c1b40e44
  20. 02 7月, 2013 1 次提交
  21. 25 6月, 2013 1 次提交
    • M
      clocksource: Add generic dummy timer driver · 06470651
      Mark Rutland 提交于
      Several architectures have a dummy timer driver tightly coupled with
      their broadcast code to support machines without cpu-local timers (or
      where there is a lack of driver support).
      
      Since 12ad1000: "clockevents: Add generic timer broadcast function"
      it's been possible to write broadcast-capable timer drivers decoupled
      from the broadcast mechanism. We can use this functionality to implement
      a generic dummy timer driver that can be shared by all architectures
      with generic tick broadcast (ARCH_HAS_TICK_BROADCAST).
      
      This patch implements a generic dummy timer using this facility.
      
      [sboyd: Make percpu data static, use __this_cpu_ptr(), move to
              early_initcall to properly register on each CPU, only
      	register if more than one CPU possible]
      Signed-off-by: NMark Rutland <mark.rutland@arm.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Acked-by: Marc Zyngier <marc.zyngier@arm.com>,
      Cc: John Stultz <john.stultz@linaro.org>
      Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
      Cc: linux-arm-kernel@lists.infradead.org
      Link: http://lkml.kernel.org/r/1370291642-13259-3-git-send-email-sboyd@codeaurora.orgSigned-off-by: NThomas Gleixner <tglx@linutronix.de>
      06470651
  22. 06 6月, 2013 2 次提交
  23. 21 4月, 2013 1 次提交
    • T
      clocksource: add samsung pwm timer driver · f1189989
      Tomasz Figa 提交于
      This adds a new clocksource driver for the PWM timer that is
      present in most Samsung SoCs, based on the existing driver in
      arch/arm/plat-samsung/samsung-time.c and many changes implemented by
      Tomasz Figa.
      
      Originally, the conversion of all Samsung machines to the new driver was
      planned for 3.10, but that work ended up being too late and too invasive
      just before the merge window.
      
      Unfortunately, other changes in the Exynos platform resulted in some
      Exynos4 setups, particularly the Universal C210 board to be broken. In
      order to fix that with minimum risk, so we now leave the existing pwm
      clocksource driver in place for all older platforms and use the new
      driver only for device tree enabled boards. This way, we can get the
      broken machines running again using DT descriptions.
      
      All clocksource changes were implemented by Tomasz, while the DT
      registration was rewritten by Arnd.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Tomasz Figa <t.figa@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: John Stultz <john.stultz@linaro.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      f1189989
  24. 09 4月, 2013 1 次提交
    • M
      clocksource: sunxi: Rename sunxi to sun4i · 119fd635
      Maxime Ripard 提交于
      During the introduction of the Allwinner SoC platforms, sunxi was
      initially meant as a generic name for all the variants of the Allwinner
      SoC.
      
      It was ok at the time of the support of only the A10 and A13 that
      looks pretty much the same, but it's beginning to be troublesome with
      the future addition of the Allwinner A31 (sun6i) that is quite
      different, and would introduce some weird logic, where sunxi would
      actually mean in some case sun4i and sun5i but without sun6i...
      
      Moreover, it makes the compatible strings naming scheme not consistent
      with other architectures, where usually for this kind of compability, we
      just use the oldest SoC name that has this IP, so let's do just this.
      Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      119fd635
  25. 04 4月, 2013 1 次提交
  26. 01 4月, 2013 1 次提交
  27. 29 3月, 2013 1 次提交
    • C
      ARM: bcm281xx: Add timer driver (driver portion) · 8011657b
      Christian Daudt 提交于
      This adds support for the Broadcom timer, used in the following SoCs:
      BCM11130, BCM11140, BCM11351, BCM28145, BCM28155
      
      Updates from V6:
      - Split DT portion into a separate patch
      
      Updates from V5:
      - Rebase to latest arm-soc/for-next
      
      Updates from V4:
      - Switch code to use CLOCKSOURCE_OF_DECLARE
      
      Updates from V3:
      - Migrate to 3.9 timer framework updates
      
      Updates from V2:
      - prepend static fns + fields with kona_
      
      Updates from V1:
      - Rename bcm_timer.c to bcm_kona_timer.c
      - Pull .h into bcm_kona_timer.c
      - Make timers static
      - Clean up comment block
      - Switched to using clockevents_config_and_register
      - Added an error to the get_timer loop if it repeats too much
      - Added to Documentation/devicetree/bindings/arm/bcm/bcm,kona-timer.txt
      - Added missing readl to timer_disable_and_clear
      
      Note: bcm,kona-timer was kept as the 'compatible' field to make it
      specific enough for when there are multiple bcm timers (bcm,timer is
      too generic).
      Signed-off-by: NChristian Daudt <csd@broadcom.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NJohn Stultz <john.stultz@linaro.org>
      Reviewed-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
      8011657b
  28. 25 3月, 2013 1 次提交
  29. 09 3月, 2013 1 次提交
  30. 03 3月, 2013 1 次提交
    • J
      metag: Time keeping · a2c5d4ed
      James Hogan 提交于
      Add time keeping code for metag. Meta hardware threads have 2 timers.
      The background timer (TXTIMER) is used as a free-running time base, and
      the interrupt timer (TXTIMERI) is used for the timer interrupt. Both
      counters traditionally count at approximately 1MHz.
      Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
      Cc: John Stultz <johnstul@us.ibm.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      a2c5d4ed
  31. 31 1月, 2013 2 次提交
  32. 29 1月, 2013 1 次提交