Skip to content

clocksource: Consolidate SH and ARM mach-shmobile Kconfig bits

Magnus Damm linux-sh lkml 4 versions – In review

Get series with b4
b4 am 20131217101212.17491.56898.sendpatchset@w520

Versions newest first · linked by author and title

  1. v5 Latest3 patches 2 repliesIn review
  2. v42 of 3 patches 5 repliesSuperseded
  3. v32 of 3 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v23 patches17 repliesSuperseded

Changes in v5 from the cover letter

- Use SYS_SUPPORTS_SH/EM to avoid name space pollution, thanks Olof!
- Remove old SH entries for SYS_SUPPORTS_xxx, use above SH prefix instead

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3clocksource: Add Kconfig entries for CMT, MTU2, TMU and STIdrivers/clocksource/Kconfig+44 -00 replies
2/3ARM: shmobile: Remove CMT, TMU and STI Kconfig entriesarch/arm/mach-shmobile/Kconfig+17 -180 replies
3/3sh: Remove Kconfig entries for TMU, CMT and MTU2arch/sh/Kconfig+23 -530 replies

Reviews trailers per patch

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

PatchJohn Stultz
1/3
2/3A-b
3/3A-b

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

Read the v5 thread

Cover letter [PATCH v5 00/03] clocksource: Consolidate SH and ARM mach-shmobile Kconfig bits

clocksource: Consolidate SH and ARM mach-shmobile Kconfig bits (v5)

[PATCH v5 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI [PATCH v5 02/03] ARM: shmobile: Remove CMT, TMU and STI Kconfig entries [PATCH v5 03/03] sh: Remove Kconfig entries for TMU, CMT and MTU2

This is V5 of the SH and ARM mach-shmobile clocksource Kconfig consolidation series.

By sharing Kconfig entires in drivers/clocksource/Kconfig we can get rid of duplicated bits that do not belong under arch/.

With this series applied it is possible to build the timer drivers for CMT, MTU2, TMU and STI in case of SH or ARM. The timer drivers are automatically selected by default. It is also possible to select and/or deselect freely when COMPILE_TEST has been selected.

Many thanks to Olof, John, Daniel and Arnd for feedback!

Changes since V4:
- Use SYS_SUPPORTS_SH/EM to avoid name space pollution, thanks Olof!
- Remove old SH entries for SYS_SUPPORTS_xxx, use above SH prefix instead

Changes since V3:
- Updated patch 1/3 with more detailed help texts
- Updated patch 2/3 to fit latest renesas-devel tag, see below
- Included acks from John Stultz for patch 2/3 and 3/3

---

Written against renesas.git tag renesas-devel-v3.13-rc3-20131214v2

 arch/arm/mach-shmobile/Kconfig |   35 ++++++++----------
 arch/sh/Kconfig                |   76 ++++++++++++----------------------------
 drivers/clocksource/Kconfig    |   44 +++++++++++++++++++++++
 3 files changed, 84 insertions(+), 71 deletions(-)