* Re: rtc-ppc [not found] <20081105021901.49dffc3e@i1501.lan.towertech.it> @ 2008-11-05 22:18 ` David Woodhouse 2008-11-05 22:59 ` rtc-ppc Alessandro Zummo 2008-11-05 23:08 ` rtc-ppc David Gibson 0 siblings, 2 replies; 4+ messages in thread From: David Woodhouse @ 2008-11-05 22:18 UTC (permalink / raw) To: Alessandro Zummo; +Cc: linuxppc-dev, rtc-linux 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 > thing and cleanup the driver? 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. I think we're waiting until the RTC class works with NTP before we can contemplate that, though. -- David Woodhouse Open Source Technology Centre David.Woodhouse@intel.com Intel Corporation ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rtc-ppc 2008-11-05 22:18 ` rtc-ppc David Woodhouse @ 2008-11-05 22:59 ` Alessandro Zummo 2008-11-05 23:08 ` rtc-ppc David Gibson 1 sibling, 0 replies; 4+ messages in thread From: Alessandro Zummo @ 2008-11-05 22:59 UTC (permalink / raw) To: David Woodhouse; +Cc: linuxppc-dev, rtc-linux On Wed, 05 Nov 2008 23:18:46 +0100 David Woodhouse <dwmw2@infradead.org> 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 think we're waiting until the RTC class works with NTP before we can > contemplate that, though. That will be a long wait, I don't think anyone volunteered for the ntp code. I've been told some platforms are already using the class. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rtc-ppc 2008-11-05 22:18 ` rtc-ppc David Woodhouse 2008-11-05 22:59 ` rtc-ppc Alessandro Zummo @ 2008-11-05 23:08 ` David Gibson 2008-11-05 23:14 ` [rtc-linux] rtc-ppc Alessandro Zummo 1 sibling, 1 reply; 4+ messages in thread From: David Gibson @ 2008-11-05 23:08 UTC (permalink / raw) To: David Woodhouse; +Cc: linuxppc-dev, Alessandro Zummo, rtc-linux 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 > > a platform driver. > > > > Wouldn't be possible to have the ppc arch doing the device > > thing and cleanup the driver? > > 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. > > 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 the hooks are called from places the rtc class stuff can't safely be called (too early, IIRC, but it's a while since I checked). -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [rtc-linux] Re: rtc-ppc 2008-11-05 23:08 ` rtc-ppc David Gibson @ 2008-11-05 23:14 ` Alessandro Zummo 0 siblings, 0 replies; 4+ messages in thread From: Alessandro Zummo @ 2008-11-05 23:14 UTC (permalink / raw) To: rtc-linux; +Cc: linuxppc-dev, David Woodhouse, david On Thu, 6 Nov 2008 10:08:25 +1100 David Gibson <david@gibson.dropbear.id.au> 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 the hooks are called from > places the rtc class stuff can't safely be called (too early, IIRC, > but it's a while since I checked). I think the rtc drivers are too heterogeneous to have a valid ntp strategy. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-05 23:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20081105021901.49dffc3e@i1501.lan.towertech.it>
2008-11-05 22:18 ` rtc-ppc David Woodhouse
2008-11-05 22:59 ` rtc-ppc Alessandro Zummo
2008-11-05 23:08 ` rtc-ppc David Gibson
2008-11-05 23:14 ` [rtc-linux] rtc-ppc Alessandro Zummo
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).