Skip to content

ARM: davinci: convert dm365 to using the new clocksource driver

Bartosz Golaszewski linux-arm-kernel lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v23 patches 2 repliesSuperseded
  3. v13 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- simplify patch 1/3 even more as advised by Daniel Lezcano: simply register clockevents only after tim34 is initialized

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3clocksource: davinci: only enable clockevents once tim34 is initializeddrivers/clocksource/timer-davinci.c+4 -43 replies
2/3ARM: davinci: dm365: switch to using the clocksource driverarch/arm/mach-davinci/dm365.c+15 -70 replies
3/3ARM: davinci: remove legacy timer supportarch/arm/mach-davinci/Makefile arch/arm/mach-davinci/devices-da8xx.c arch/arm/mach-davinci/devices.c +3 more+1 -4720 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchDavid Lechner
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] ARM: davinci: convert dm365 to using the new clocksource driver

From: Bartosz Golaszewski <[email protected]>

This is a follow-up to the big series converting DaVinci to using a proper clocksource driver. Last time we couldn't merge the entire series because of a bug that only appears on dm365 Soc when using ancient u-boot.

This series contains a workaround for this problem, a patch finally converting the platform as well as a removal of all obsolete code.

v1 -> v2:
- simplify patch 1/3 by using a boolean flag instead of caching the value bits for TIM34

v2 -> v3:
- simplify patch 1/3 even more as advised by Daniel Lezcano: simply register clockevents only after tim34 is initialized

Bartosz Golaszewski (3):
clocksource: davinci: only enable clockevents once tim34 is
initialized
ARM: davinci: dm365: switch to using the clocksource driver
ARM: davinci: remove legacy timer support

 arch/arm/mach-davinci/Makefile              |   3 +-
 arch/arm/mach-davinci/devices-da8xx.c       |   1 -
 arch/arm/mach-davinci/devices.c             |  19 -
 arch/arm/mach-davinci/dm365.c               |  22 +-
 arch/arm/mach-davinci/include/mach/common.h |  17 -
 arch/arm/mach-davinci/include/mach/time.h   |  33 --
 arch/arm/mach-davinci/time.c                | 400 --------------------
 drivers/clocksource/timer-davinci.c         |   8 +-
 8 files changed, 20 insertions(+), 483 deletions(-)
 delete mode 100644 arch/arm/mach-davinci/include/mach/time.h
 delete mode 100644 arch/arm/mach-davinci/time.c
Signature · 1 line
2.23.0