1. 23 Jul, 2020 3 commits
  2. 11 Jul, 2020 9 commits
  3. 22 May, 2020 19 commits
  4. 19 May, 2020 1 commit
  5. 18 May, 2020 2 commits
    • Tony Lindgren's avatar
      clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support · aba1ad05
      Tony Lindgren authored
      We can move the TI dmtimer clockevent and clocksource to live under
      drivers/clocksource if we rely only on the clock framework, and handle
      the module configuration directly in the clocksource driver based on the
      device tree data.
      
      This removes the early dependency with system timers to the interconnect
      related code, and we can probe pretty much everything else later on at
      the module_init level.
      
      Let's first add a new driver for timer-ti-dm-systimer based on existing
      arch/arm/mach-omap2/timer.c. Then let's start moving SoCs to probe with
      device tree data while still keeping the old timer.c. And eventually we
      can just drop the old timer.c.
      
      Let's take the opportunity to switch to use readl/writel as pointed out
      by Daniel Lezcano <daniel.lezcano@linaro.org>. This allows further
      clean-up of the timer-ti-dm code the a lot of the shared helpers can
      just become static to the non-syster related code.
      
      Note the boards can optionally configure different timer source clocks
      if needed with assigned-clocks and assigned-clock-parents.
      
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-omap@vger.kernel.org
      Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
      Cc: Grygorii Strashko <grygorii.strashko@ti.com>
      Cc: Keerthy <j-keerthy@ti.com>
      Cc: Lokesh Vutla <lokeshvutla@ti.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Tero Kristo <t-kristo@ti.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Link: https://lore.kernel.org/r/20200507172330.18679-3-tony@atomide.com
      aba1ad05
    • Tony Lindgren's avatar
      clocksource/drivers/timer-ti-32k: Add support for initializing directly · d15483bb
      Tony Lindgren authored
      Let's allow probing the 32k counter directly based on devicetree data to
      prepare for dropping the related legacy platform code. Let's only do this
      if the parent node is compatible with ti-sysc to make sure we have the
      related devicetree data available.
      
      Let's also show the 32k counter information before registering the
      clocksource, now we see it after the clocksource information which is a
      bit confusing.
      
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-omap@vger.kernel.org
      Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
      Cc: Grygorii Strashko <grygorii.strashko@ti.com>
      Cc: Keerthy <j-keerthy@ti.com>
      Cc: Lokesh Vutla <lokeshvutla@ti.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Tero Kristo <t-kristo@ti.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Link: https://lore.kernel.org/r/20200507172330.18679-2-tony@atomide.com
      d15483bb
  6. 05 May, 2020 1 commit
  7. 27 Apr, 2020 2 commits
  8. 15 Apr, 2020 1 commit
  9. 12 Apr, 2020 2 commits