Skip to content

dmtimer code clean-up first pass

Joel Fernandes linux-arm-kernel linux-omap lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 9 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 9 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] dmtimer code clean-up first pass

Here are some minor cleanups for dmtimer code in preparation for moving it out to drivers.

There is OMAP1 specific dmtimer code earlier, that are handled in mach-omap1
directly now. Other than this, few functions and code has been refactored to
reduce redundancy and some minor cleanups.

OMAP1 hasn't been tested so I welcome anyone with HW to test this.

Joel Fernandes (9):
ARM: OMAP: dmtimer: Remove setting of clk parent indirectly through
platform hook
ARM: OMAP: dmtimer: Add comments on OMAP1 clock framework
ARM: OMAP: dmtimer: Add note to set parent from DT
ARM: OMAP: dmtimer: Add function to check if timer is running
ARM: OMAP1: dmtimer: Rewrite modify of IDLECT mask to use new
is_running function
ARM: OMAP: dmtimer: Add a write_ctrl function to simplify bit setting
ARM: OMAP: dmtimer: Have __omap_dm_timer_load_start set ST bit in
CTRL instead of caller
ARM: OMAP: dmtimer: Add function to check for timer availability
ARM: OMAP: dmtimer: Get rid of check for mem resource error

 arch/arm/mach-omap1/include/mach/hardware.h |    2 +
 arch/arm/mach-omap1/timer.c                 |   34 ++++-
 arch/arm/mach-omap2/timer.c                 |    6 +-
 arch/arm/plat-omap/dmtimer.c                |  185 +++++++++++++--------------
 arch/arm/plat-omap/include/plat/dmtimer.h   |    4 +-
 include/linux/platform_data/dmtimer-omap.h  |    2 -
 6 files changed, 129 insertions(+), 104 deletions(-)
Signature · 1 line
1.7.9.5