Re: [rtc-linux] Re: [PATCH/RFC 0/5] Generic RTC class driver

Alessandro Zummo
2009-02-24T18:37:32Z

On Tue, 24 Feb 2009 18:56:03 +0100 (CET)
Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> wrote:

>
> On Mon, 23
> >
> > I'd start writing a working driver and then see how we should eventually
> > adapt the rtc subsystem to cope with your needs.
>
> OK, so here's a first example: rtc-ps3.
>
> Note that this single patch adds 100+ lines of code, while my previous patch
> series removed 500+ lines of code, while solving the autoloading problem for
> several ppc and m68k platforms.

This patch has a much cleaner approach, imho.

> Converting all (ca. 20?) ppc and m68k RTC support code into individual RTC
> class drivers would add ca. 100+ lines of code for each individual driver.

How different are all of those boards? It's simply a matter
of parameters and offsets? can we group them somehow?

--

Best regards,

Alessandro Zummo,
Tower Technologies - Torino, Italy