[PATCH V7 0/3] clocksource: Consolidate SH and ARM mach-shmobile Kconfig bits

From: Wolfram Sang
Date: Thu Feb 20 2014 - 06:55:46 EST


This is V7 of the SH and ARM mach-shmobile clocksource Kconfig consolidation
series. It is a rebased version of V5 on top of timers/core. This series is not
just an optimization, it also makes it possible to enable the clocksource for
the r7s72100 platform. I successfully tested the patches on r7s72100 and
r8a7791 platforms. The branch can be found here:

git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/rework-clock-config-for-daniel

Changes since V6:

- rebased on top timers/core

Changes since V5:

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

Signed-off-by: Wolfram Sang <wsa@xxxxxxxxxxxxxxxxxxxx>


=== 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 <damm@xxxxxxxxxxxxx>


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 | 36 ++++++++++----------
arch/sh/Kconfig | 76 +++++++++++++-----------------------------
drivers/clocksource/Kconfig | 44 ++++++++++++++++++++++++
3 files changed, 85 insertions(+), 71 deletions(-)

--
1.8.5.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/