1. 06 6月, 2013 1 次提交
    • D
      clocksource: Add TI-Nspire timer support · 77ba83bb
      Daniel Tang 提交于
      This patch adds a clocksource/clockevent driver for the timer found on some
      models in the TI-Nspire calculator series. The timer has two 16bit subtimers
      within its memory mapped I/O interface but only the first can generate
      interrupts. The first subtimer is used to generate clockevents but only if an
      interrupt number and register is given.
      
      The interrupt acknowledgement mechanism is a little strange because the
      interrupt mask and acknowledge registers are located in another memory mapped
      I/O peripheral. The address of this register is passed to the driver through
      device tree bindings.
      
      The second subtimer is used as a clocksource because it isn't capable of
      generating an interrupt. This subtimer is always added.
      Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NDaniel Tang <dt.tangr@gmail.com>
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      77ba83bb
  2. 12 4月, 2013 1 次提交
  3. 09 4月, 2013 2 次提交
    • S
      ARM: i.MX: Add GPT devicetree Documentation · c21e5ca8
      Sascha Hauer 提交于
      The GPT binding is already used on i.MX6 and i.MX25, but not yet
      documented. Add a binding document for it.
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      c21e5ca8
    • 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
  4. 04 4月, 2013 1 次提交
  5. 09 3月, 2013 1 次提交
  6. 01 3月, 2013 1 次提交
  7. 17 11月, 2012 2 次提交
  8. 07 10月, 2012 1 次提交
  9. 20 9月, 2012 1 次提交
    • S
      ARM: bcm2835: add system timer · ee4af569
      Simon Arlott 提交于
      The System Timer peripheral provides four 32-bit timer channels and a
      single 64-bit free running counter. Each channel has an output compare
      register, which is compared against the 32 least significant bits of the
      free running counter values, and generates an interrupt.
      
      Timer 3 is used as the Linux timer.
      
      The BCM2835 also contains an SP804-based timer module. However, it
      apparently has significant differences from the standard SP804 IP block,
      and Broadcom's documentation recommends using the system timer instead.
      
      This patch was extracted from git://github.com/lp0/linux.git branch
      rpi-split as of 2012/09/08, and modified as follows:
      
      * s/bcm2708/bcm2835/.
      * Modified device tree vendor prefix.
      * Moved to drivers/clocksource/. This looks like the desired location for
        such code now.
      * Added DT binding docs.
      * Moved struct sys_timer bcm2835_timer into time.c to encapsulate it more.
      * Simplified bcm2835_time_init() to find one matching node and operate on
        it, rather than looping over all matching nodes. This seems more
        consistent with other clocksource code.
      * Simplified bcm2835_time_init() using of_iomap().
      * Renamed struct bcm2835_timer.index to match_mask to better represent its
        purpose.
      * s/printk(PR_INFO/pr_info(/
      Signed-off-by: NChris Boot <bootc@bootc.net>
      Signed-off-by: NSimon Arlott <simon@fire.lp0.eu>
      Signed-off-by: NDom Cobley <popcornmix@gmail.com>
      Signed-off-by: NDom Cobley <dc4@broadcom.com>
      Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      ee4af569