[lkml]   [2014]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH V6 0/3] clocksource: Consolidate SH and ARM mach-shmobile Kconfig bits
This is V6 of the SH and ARM mach-shmobile clocksource Kconfig consolidation
series. It is a rebased version of V5 (which did not get any comments) on top
of the latest renesas/devel tag. This series is not just an optimization, it
also makes it possible to enable the clocksource for the r7s72100 platform.
Without it, the current kernel is hardly usable for these devices at the moment
(broken userland). So, it would be nice to have the series in 3.15. For more
details, I quote the cover-letter from Magnus for V5 at the end. I successfully
tested the patches on r7s72100 and r8a7791 platforms. The branch can be found

git:// renesas/rework-clock-configs

Changes since V5:

- rebased on top of renesas-devel-v3.14-rc3-20140217

Signed-off-by: Wolfram Sang <>

=== original cover letter

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

Signed-off-by: Magnus Damm <>

Magnus Damm (3):
clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI
ARM: shmobile: Remove CMT, TMU and STI Kconfig entries
sh: Remove Kconfig entries for TMU, CMT and MTU2

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


 \ /
  Last update: 2014-02-17 22:41    [W:0.111 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site