Re: [PATCH 6/7] powerpc: Hook up rtc-generic, and kill rtc-ppc

2009-03-10 Thread Benjamin Herrenschmidt
e if ppc_md.get_rtc_time is set, > > - Kill rtc-ppc, as rtc-generic offers the same functionality in a more > > generic way, and supports autoloading through udev. > > > > Signed-off-by: Geert Uytterhoeven > >

Re: [PATCH 6/7] powerpc: Hook up rtc-generic, and kill rtc-ppc

2009-03-09 Thread David Woodhouse
On Mon, 2009-03-09 at 14:26 +0100, Geert Uytterhoeven wrote: > PowerPC has been a long time user of the generic RTC abstraction, so hook up > rtc-generic: > - Create the "rtc-generic" platform device if ppc_md.get_rtc_time is set, > - Kill rtc-ppc, as rtc-generic offers

[PATCH 6/7] powerpc: Hook up rtc-generic, and kill rtc-ppc

2009-03-09 Thread Geert Uytterhoeven
PowerPC has been a long time user of the generic RTC abstraction, so hook up rtc-generic: - Create the "rtc-generic" platform device if ppc_md.get_rtc_time is set, - Kill rtc-ppc, as rtc-generic offers the same functionality in a more generic way, and supports autoloading th

[PATCH/RFC 4/5] powerpc: Enable rtc-generic, and kill rtc-ppc

2009-02-20 Thread Geert Uytterhoeven
Create the "rtc-generic" platform device if ppc_md.get_rtc_time is set. Kill rtc-ppc, as rtc-generic offers the same functionality in a more generic way. Signed-off-by: Geert Uytterhoeven --- arch/powerpc/Kconfig |4 ++ arch/powerpc/kernel/time.c | 22 ++ d

Re: [rtc-linux] Re: rtc-ppc

2008-11-05 Thread Alessandro Zummo
On Thu, 6 Nov 2008 10:08:25 +1100 David Gibson <[EMAIL PROTECTED]> wrote: > > I think we're waiting until the RTC class works with NTP before we can > > contemplate that, though. > > Yeah, I tried writing some ppc_md hooks which backended onto the rtc > class drivers as an interim measure, but

Re: rtc-ppc

2008-11-05 Thread David Gibson
On Wed, Nov 05, 2008 at 11:18:46PM +0100, David Woodhouse wrote: > On Wed, 2008-11-05 at 02:19 +0100, Alessandro Zummo wrote: > > I was checking a few drivers for compliance and noticed that > > the rtc-ppc driver registers a platform device instead of > &g

Re: rtc-ppc

2008-11-05 Thread Alessandro Zummo
On Wed, 05 Nov 2008 23:18:46 +0100 David Woodhouse <[EMAIL PROTECTED]> wrote: > It would be possible, yes -- but it would be better to have the various > PPC platforms just register RTC-class devices _directly_, and ditch the > RTC bits from ppc_md altogether. That would be real fine :) > I thi

Re: rtc-ppc

2008-11-05 Thread David Woodhouse
On Wed, 2008-11-05 at 02:19 +0100, Alessandro Zummo wrote: > I was checking a few drivers for compliance and noticed that > the rtc-ppc driver registers a platform device instead of > a platform driver. > > Wouldn't be possible to have the ppc arch doing the device >