linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Helge Deller <deller@gmx.de>
To: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>,
	Richard Zidlicky <rz@linux-m68k.org>,
	rtc-linux@googlegroups.com, linux-parisc@vger.kernel.org,
	linux-kernel@vger.kernel.org, Kyle McMartin <kyle@mcmartin.ca>,
	linuxppc-dev@ozlabs.org, linux-m68k@lists.linux-m68k.org,
	David Woodhouse <dwmw2@infradead.org>,
	dann frazier <dannf@dannf.org>
Subject: Re: [PATCH/RFC 0/5] Generic RTC class driver
Date: Tue, 24 Feb 2009 19:46:07 +0100	[thread overview]
Message-ID: <49A4406F.2010407@gmx.de> (raw)
In-Reply-To: <1235144809-32468-1-git-send-email-Geert.Uytterhoeven@sonycom.com>

Geert Uytterhoeven wrote:
> I've been looking into problems with auto-loading the RTC driver on PPC (more
> specifically on PS3):
>   - The recent "rtc-ppc" RTC class driver is not autoloaded by udev because
>     it's an old style platform driver that contains its own platform device.
>   - The alternative old "genrtc" driver is autoloaded on non-udev systems only
>     because it contains the module alias char-major-10-135. However, it's not
>     a new-style RTC class driver.
> 
> Fortunately there already exists a generic RTC class driver: "rtc-parisc".
> Despite it's name, it's platform-independent, as it's build on top of the RTC
> abstraction used by "genrtc".
> 
> This patch series
>   - adds a missing module alias to rtc-parisc,
>   - renames rtc-parisc to rtc-generic,
>   - converts the architectures that currently have CONFIG_GEN_RTC enabled in
>     their defconfig (m68k, parisc, powerpc) to rtc-generic,
>   - removes the obsolete rtc-ppc driver,
>   - removes the old genrtc driver.
>   
> Note that genrtc may be used on other archictectures as well: at least alpha
> has the required infrastructure ([gs]et_rtc_time()). The Kconfig rules allow
> genrtc to be enabled on several others (cris, h8300, mn10300, um, x86, xtensa).
> 
> Furthermore genrtc and rtc-generic are not 100% userspace compatible:
>   - /dev/rtc provided by genrtc uses a misc character device (10:135),
>   - /dev/rtc provided by rtc-generic uses a dynamic character device.
>   
> So perhaps we don't want to kill gen-rtc yet?
> 
> Any comments are welcomed!

Hi Geert,
FYI, I didn't followed any discussions or changes around the RTC drivers for parisc,
but Dann Frazier did some work on the parisc RTC driver as well.
His patches were merged (not upstream yet!) in Kyle's "rtc-parisc" branch at:
http://git.kernel.org/?p=linux/kernel/git/kyle/parisc-2.6.git;a=shortlog;h=rtc-parisc

Not sure if they conflict (or are in sync) with your patches...

Helge

  parent reply	other threads:[~2009-02-24 18:46 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-20 15:46 [PATCH/RFC 0/5] Generic RTC class driver Geert Uytterhoeven
2009-02-20 15:46 ` [PATCH/RFC 1/5] rtc-parisc: Add missing module alias Geert Uytterhoeven
2009-02-20 15:46   ` [PATCH/RFC 2/5] pa-risc: Rename rtc-parisc to rtc-generic Geert Uytterhoeven
2009-02-20 15:46     ` [PATCH/RFC 3/5] m68k: Enable rtc-generic Geert Uytterhoeven
2009-02-20 15:46       ` [PATCH/RFC 4/5] powerpc: Enable rtc-generic, and kill rtc-ppc Geert Uytterhoeven
2009-02-20 15:46         ` [PATCH/RFC 5/5] rtc: Kill genrtc, as all its users have been converted to rtc-generic Geert Uytterhoeven
2009-02-20 16:04 ` [rtc-linux] [PATCH/RFC 0/5] Generic RTC class driver Alessandro Zummo
2009-02-23 12:34   ` Geert Uytterhoeven
2009-02-23 15:05     ` [rtc-linux] " Alessandro Zummo
2009-02-24 17:56       ` Geert Uytterhoeven
2009-02-24 18:37         ` Alessandro Zummo
2009-02-25  1:14           ` Brad Boyer
2009-02-25  9:58             ` Geert Uytterhoeven
2009-02-24 21:35     ` [rtc-linux] " David Woodhouse
2009-02-24 22:11       ` Alessandro Zummo
2009-02-24 22:32         ` David Woodhouse
2009-02-25 10:00           ` Geert Uytterhoeven
2009-02-25 10:18             ` [rtc-linux] " Alessandro Zummo
2009-02-27 17:17               ` Maciej W. Rozycki
2009-02-27 17:19                 ` Alessandro Zummo
2009-02-27 18:55               ` Richard Zidlicky
2009-03-02  9:54                 ` Geert Uytterhoeven
2009-03-02 10:03                   ` Alessandro Zummo
2009-03-02 10:28                     ` Geert Uytterhoeven
2009-03-02 11:09                       ` Alessandro Zummo
2009-03-03 10:41                         ` Geert Uytterhoeven
2009-03-03 13:53                           ` Alessandro Zummo
2009-03-03 19:06                           ` Paul Mundt
2009-03-04  8:26                             ` Geert Uytterhoeven
2009-03-04 12:47                               ` Alessandro Zummo
2009-03-04 12:51                                 ` Geert Uytterhoeven
2009-02-25  9:54       ` [rtc-linux] " Geert Uytterhoeven
2009-02-24 18:46 ` Helge Deller [this message]
2009-02-25  9:54   ` Geert Uytterhoeven

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=49A4406F.2010407@gmx.de \
    --to=deller@gmx.de \
    --cc=Geert.Uytterhoeven@sonycom.com \
    --cc=a.zummo@towertech.it \
    --cc=dannf@dannf.org \
    --cc=dwmw2@infradead.org \
    --cc=kyle@mcmartin.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=linux-parisc@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=rtc-linux@googlegroups.com \
    --cc=rz@linux-m68k.org \
    /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;
as well as URLs for NNTP newsgroup(s).