Skip to content

ARM: OMAP2+: System timer updates

Jon Hunter linux-arm-kernel linux-omap 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 0 repliesNew
  2. v2 posting 2/20 of 7 patches 0 repliesSuperseded
  3. v2 posting 1/27 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch0 repliesSuperseded

Changes in v3 from the cover letter

- Post the intended patches this time!
- Use PTR_ERR() to return the error code if clk_get() fails (thanks Russell!)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ARM: OMAP2+: Display correct system timer namearch/arm/mach-omap2/timer.c+13 -110 replies
2/7ARM: OMAP2+: Remove hard-coded test on timer IDarch/arm/mach-omap2/timer.c+14 -130 replies
3/7ARM: OMAP2+: Simplify system timer clock definitionsarch/arm/mach-omap2/timer.c+14 -230 replies
4/7ARM: OMAP2+: Simplify system timers definitionsarch/arm/mach-omap2/board-cm-t3517.c arch/arm/mach-omap2/board-generic.c arch/arm/mach-omap2/common.h +1 more+11 -130 replies
5/7ARM: OMAP3: Update clocksource timer selectionarch/arm/mach-omap2/timer.c+21 -121 reply
5/7ARM: OMAP3: Update clocksource timer selectionarch/arm/mach-omap2/timer.c+21 -121 reply
6/7ARM: OMAP2+: Store ID of system timers in timer structurearch/arm/mach-omap2/timer.c+6 -50 replies
7/7ARM: OMAP4+: Fix sparse warning in system timersarch/arm/mach-omap2/timer.c+2 -20 replies

Reviews trailers per patch

6 of 8 patches have a Reviewed-by or Acked-by.

PatchSantosh ShilimkarIgor Grinberg
1/7A-b
2/7A-b
3/7A-b
4/7A-b A-b
5/7A-b A-b
5/7A-b A-b
6/7
7/7

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/7] ARM: OMAP2+: System timer updates

This series consists mainly of clean-ups for clockevents and clocksource timers on OMAP2+ devices. The most significant change in functionality comes from the 5th patch which is changing the selection of the clocksource timer for OMAP3 and AM335x devices when gptimers are used for clocksource. This change came about from Vaibhav Bedia's series for AM335x [1]. See patch for more details on the exact nature of the change.

Boot tested with and without device-tree on OMAP2420 H4, OMAP3430 SDP, OMAP3430 Beagle Board, OMAP4430 SDP and AM335x EVM (AM335x only supports device-tree boot). Also boot tested boards with kernel boot parameter "clocksource=gp_timer".

This series is based upon ARM-SoC next branch.

V3 changes:
- Post the intended patches this time!
- Use PTR_ERR() to return the error code if clk_get() fails (thanks Russell!)

V2 changes:
- Fixed bug in patch that updates clocksource and clockevents timer names to use the hwmod timer names (thanks Vaibhav Bedia!)
- Updated patch that removes the hard-coded ID test to return an error as soon as clk_set_parent fails instead of waiting for the end of the function.
- Fixed bug in patches that "simplify system timer clock definitions" and "simplify system timer definitions" that was prevent omap4/5 boards from booting with kernel boot parameter "clocksource=gp_timer".
- Updated changelog for patch "simplify system timer definitions" per feedback received from Igor.
- Added new patch to store the timer ID in the omap_dm_timer structure to clean-up the code.
- Added new patch to fix a sparse warning seen in ARM-SOC next.

[1] https://patchwork.kernel.org/patch/1921421/

Jon Hunter (7):
ARM: OMAP2+: Display correct system timer name
ARM: OMAP2+: Remove hard-coded test on timer ID
ARM: OMAP2+: Simplify system timer clock definitions
ARM: OMAP2+: Simplify system timers definitions
ARM: OMAP3: Update clocksource timer selection
ARM: OMAP2+: Store ID of system timers in timer structure
ARM: OMAP4+: Fix sparse warning in system timers

 arch/arm/mach-omap2/board-cm-t3517.c |    2 +-
 arch/arm/mach-omap2/board-generic.c  |    2 +-
 arch/arm/mach-omap2/common.h         |    3 +-
 arch/arm/mach-omap2/timer.c          |  121 +++++++++++++++++-----------------
 4 files changed, 65 insertions(+), 63 deletions(-)
Signature · 1 line
1.7.10.4