1. 29 9月, 2014 1 次提交
  2. 06 9月, 2014 3 次提交
    • S
      clocksource: sh_tmu: Document r8a7779 binding · fb0eee2f
      Simon Horman 提交于
      In general Renesas hardware is not documented to the extent
      where the relationship between IP blocks on different SoCs can be assumed
      although they may appear to operate the same way. Furthermore the
      documentation typically does not specify a version for individual
      IP blocks. For these reasons a convention of using the SoC name in place
      of a version and providing SoC-specific compat strings has been adopted.
      
      Although not universally liked this convention is used in the bindings
      for a number of drivers for Renesas hardware. The purpose of this patch is
      to update the Renesas R-Car Timer Unit (TMU) driver to follow this
      convention.
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      Acked-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      
      ---
      * I plan to follow up with a patch patch to use the new binding in the
        dtsi files for the r8a7779 SoC.
      commit 471269b790aec03385dc4fb127ed7094ff83c16d
      
      v2
      * Suggestions by Mark Rutland and Sergei Shtylyov
        - Compatible strings should be "one or more" not "one" of those listed
        - Describe the generic binding as covering any MTU2 device
        - Re-order compat strings from most to least specific
      
      v3
      * Suggested by Laurent Pinchart
        - Reword in keeping with a similar though more extensive patch for CMT
      fb0eee2f
    • S
      clocksource: sh_mtu2: Document r7s72100 binding · ffd24a54
      Simon Horman 提交于
      In general Renesas hardware is not documented to the extent
      where the relationship between IP blocks on different SoCs can be assumed
      although they may appear to operate the same way. Furthermore the
      documentation typically does not specify a version for individual
      IP blocks. For these reasons a convention of using the SoC name in place
      of a version and providing SoC-specific compat strings has been adopted.
      
      Although not universally liked this convention is used in the bindings
      for a number of drivers for Renesas hardware. The purpose of this patch is
      to update the Renesas R-Car Multi-Function Timer Pulse Unit 2 (MTU2) driver
      to follow this convention.
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      Acked-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      
      ---
      * I plan to follow up with a patch patch to use the new binding in the
        dtsi files for the r7s72100 SoC.
      
      v2
      * Suggestions by Mark Rutland and Sergei Shtylyov
        - Compatible strings should be "one or more" not "one" of those listed
        - Describe the generic binding as covering any MTU2 device
        - Re-order compat strings from most to least specific
      
      v3
      * Suggested by Laurent Pinchart
        - Reword compat documentation for consistency with a more extensive
          CMT change
      ffd24a54
    • S
      clocksource: sh_cmt: Document SoC specific bindings · 01fe3aaa
      Simon Horman 提交于
      In general Renesas hardware is not documented to the extent
      where the relationship between IP blocks on different SoCs can be assumed
      although they may appear to operate the same way. Furthermore the
      documentation typically does not specify a version for individual
      IP blocks. For these reasons a convention of using the SoC name in place
      of a version and providing SoC-specific compat strings has been adopted.
      
      Although not universally liked this convention is used in the bindings for
      a number of drivers for Renesas hardware. The purpose of this patch is to
      update the Renesas R-Car Compare Match Timer (CMT) driver to follow this
      convention.
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      Acked-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Acked-by: NMark Rutland <mark.rutland@arm.com>
      Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      
      ---
      * I plan to follow up with patches to use these new bindings in the
        dtsi files for the affected SoCs.
      
      v2
      * Reorder compat entries so more-specific entries and their fallbacks
        are grouped with the fallback entry coming last.
      * Explicitly document fallback
      
      v3
      * Avoid circular dependency in documentation of fallback
        behaviour of renesas,cmt-48-gen2
      * Use consistent case for SoC names in compat string descriptions
      01fe3aaa
  3. 23 7月, 2014 2 次提交
  4. 04 7月, 2014 3 次提交
  5. 23 5月, 2014 1 次提交
  6. 22 4月, 2014 2 次提交
  7. 12 3月, 2014 2 次提交
  8. 21 12月, 2013 1 次提交
  9. 12 12月, 2013 1 次提交
  10. 11 12月, 2013 1 次提交
  11. 23 10月, 2013 1 次提交
  12. 03 9月, 2013 2 次提交
  13. 01 8月, 2013 2 次提交
  14. 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
  15. 02 7月, 2013 1 次提交
  16. 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
  17. 31 5月, 2013 1 次提交
    • L
      ARM: u300: device tree support for the timer · 5a5056cc
      Linus Walleij 提交于
      This adds device tree support for the U300 timer, by making
      the memory base offset and IRQ dynamically assigned, then
      optionally looking them up from the device tree.
      
      Since the timer needs to be registered before any platform
      devices are created, we will go into the device tree and look
      up the "/timer@c0014000" node and read our base address and
      IRQ from there.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      5a5056cc
  18. 28 5月, 2013 1 次提交
  19. 12 4月, 2013 1 次提交
  20. 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
  21. 04 4月, 2013 1 次提交
  22. 09 3月, 2013 1 次提交
  23. 01 3月, 2013 1 次提交
  24. 17 11月, 2012 2 次提交
  25. 07 10月, 2012 1 次提交
  26. 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