From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
To: Alessandro Zummo <alessandro.zummo@towertech.it>,
Kyle McMartin <kyle@mcmartin.ca>
Cc: rtc-linux@googlegroups.com, linux-parisc@vger.kernel.org,
linuxppc-dev@ozlabs.org, linux-m68k@vger.kernel.org,
linux-kernel@vger.kernel.org, Paul Mundt <lethal@linux-sh.org>,
Dann Frazier <dannf@dannf.org>
Subject: [PATCH 0/7] Generic RTC class driver
Date: Mon, 9 Mar 2009 14:26:16 +0100 [thread overview]
Message-ID: <1236605183-22718-1-git-send-email-Geert.Uytterhoeven@sonycom.com> (raw)
Hi Alessandro et al,
This patch series:
1. Adds the missing module alias to rtc-parisc (which is a bugfix), and
performs a few cleanups,
2. Moves the platform device creation out of rtc-ppc and into arch-specific
code (which is also a bugfix),
3. Consolidates rtc-parisc and rtc-ppc into rtc-generic (which is a cleanup),
4. Hooks up rtc-generic on m68k (it's been using [sg]et_rtc_time() since
ages),
5. Makes rtc-generic dependent on PARISC, PPC, and M68K (the existing
[sg]et_rtc_time() users):
a. without introducing ARCH_HAS_GENERIC_RTC,
b. with a big fat warning in the Kconfig comment discouraging people
from relaxing the dependencies.
6. Converts the PS3 RTC support into a separate driver, called rtc-ps3
(as a bonus ;-)
To reduce code churn, the order and number of the actual patches slightly
differs:
[1] parisc: rtc: get_rtc_time() returns unsigned int
[2] parisc: rtc: platform_driver_probe() fixups
[3] parisc: rtc: Add missing module alias
[4] parisc: rtc: Rename rtc-parisc to rtc-generic
[5] m68k: Hook up rtc-generic
[6] powerpc: Hook up rtc-generic, and kill rtc-ppc
[7] powerpc/ps3: Add rtc-ps3
a/drivers/rtc/rtc-parisc.c | 85 -------------------------
b/arch/m68k/include/asm/rtc.h | 7 +-
b/arch/m68k/kernel/time.c | 18 +++++
b/arch/parisc/Kconfig | 2
b/arch/parisc/kernel/time.c | 6 -
b/arch/powerpc/include/asm/ps3.h | 3
b/arch/powerpc/kernel/time.c | 16 ++++
b/arch/powerpc/platforms/ps3/os-area.c | 2
b/arch/powerpc/platforms/ps3/platform.h | 2
b/arch/powerpc/platforms/ps3/setup.c | 2
b/arch/powerpc/platforms/ps3/time.c | 26 +++----
b/drivers/rtc/Kconfig | 10 +--
b/drivers/rtc/Makefile | 2
b/drivers/rtc/rtc-generic.c | 84 +++++++++++++++++++++++++
b/drivers/rtc/rtc-parisc.c | 5 -
b/drivers/rtc/rtc-ps3.c | 106 +++++++++++++++++++++++++++++++-
drivers/rtc/Kconfig | 22 +++---
drivers/rtc/Makefile | 2
drivers/rtc/rtc-parisc.c | 6 -
drivers/rtc/rtc-ppc.c | 70 ---------------------
20 files changed, 271 insertions(+), 205 deletions(-)
These patches are relative to the "rtc-parisc" branch of Kyle's PA-RISC git
repository, which already contains some cleanups for the rtc-parisc driver by
Dann, which already have been ack'ed by Alessandro:
http://git.kernel.org/?p=linux/kernel/git/kyle/parisc-2.6.git;a=shortlog;h=rtc-parisc
Paul: Feel free to add your SuperH support.
I suppose the easiest way for this to go in is through Kyle's PA-RISC tree, as
he already has the preceding patches? Can I have your acks, please?
Thanks!
With kind regards,
Geert Uytterhoeven
Software Architect
Sony Techsoft Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium
Phone: +32 (0)2 700 8453
Fax: +32 (0)2 700 8622
E-mail: Geert.Uytterhoeven@sonycom.com
Internet: http://www.sony-europe.com/
A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010
next reply other threads:[~2009-03-09 13:26 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-09 13:26 Geert Uytterhoeven [this message]
2009-03-09 13:26 ` [PATCH 1/7] parisc: rtc: get_rtc_time() returns unsigned int Geert Uytterhoeven
2009-03-09 13:26 ` [PATCH 2/7] parisc: rtc: platform_driver_probe() fixups Geert Uytterhoeven
2009-03-09 13:26 ` [PATCH 3/7] parisc: rtc: Add missing module alias Geert Uytterhoeven
2009-03-09 13:26 ` [PATCH 4/7] parisc: rtc: Rename rtc-parisc to rtc-generic Geert Uytterhoeven
2009-03-09 13:26 ` [PATCH 5/7] m68k: Hook up rtc-generic Geert Uytterhoeven
2009-03-09 13:26 ` [PATCH 6/7] powerpc: Hook up rtc-generic, and kill rtc-ppc Geert Uytterhoeven
2009-03-09 13:26 ` [PATCH 7/7] powerpc/ps3: Add rtc-ps3 Geert Uytterhoeven
2009-03-09 14:12 ` [rtc-linux] " Alessandro Zummo
2009-03-09 15:24 ` Geert Uytterhoeven
2009-03-09 18:04 ` Geoff Levand
2009-03-09 18:43 ` [rtc-linux] " Alessandro Zummo
2009-03-09 19:06 ` Geoff Levand
2009-03-09 19:18 ` Joe Perches
2009-03-09 18:35 ` Geoff Levand
2009-03-10 9:21 ` Geert Uytterhoeven
2009-03-10 9:39 ` [rtc-linux] " Alessandro Zummo
2009-03-10 16:18 ` Geoff Levand
2009-03-09 13:59 ` [PATCH 6/7] powerpc: Hook up rtc-generic, and kill rtc-ppc David Woodhouse
2009-03-11 4:15 ` Benjamin Herrenschmidt
2009-03-16 13:09 ` [PATCH 4/7] parisc: rtc: Rename rtc-parisc to rtc-generic Christoph Hellwig
2009-03-09 14:14 ` [rtc-linux] [PATCH 0/7] Generic RTC class driver Alessandro Zummo
2009-03-09 15:46 ` Paul Mundt
2009-03-11 10:36 ` Geert Uytterhoeven
2009-03-11 15:45 ` Kyle McMartin
2009-03-11 17:26 ` Geert Uytterhoeven
2009-03-13 4:25 ` Kyle McMartin
2009-04-02 9:42 ` Geert Uytterhoeven
2009-04-02 13:56 ` Kyle McMartin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1236605183-22718-1-git-send-email-Geert.Uytterhoeven@sonycom.com \
--to=geert.uytterhoeven@sonycom.com \
--cc=alessandro.zummo@towertech.it \
--cc=dannf@dannf.org \
--cc=kyle@mcmartin.ca \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@vger.kernel.org \
--cc=linux-parisc@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=rtc-linux@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®