[PATCH] Generic RTC class support for ppc_md.[gs]et_rtc_time
David Woodhouse
dwmw2 at infradead.org
Tue Dec 4 09:44:22 EST 2007
On Tue, 2007-12-04 at 09:36 +1100, Benjamin Herrenschmidt wrote:
> Worst one is time_init :-) Way too early to do any i2c babbling. Then
> there used to be something with the NTP writeback, dunno if it's
> changed.
Setting the system time seems to be done in the new RTC class by a
late_initcall() in drivers/rtc/hctosys.c. In fact, it could even be done
in userspace.
NTP uses update_persistent_clock() and doesn't seem to have been
'solved' yet for the new RTC class. I don't think there's any particular
reason for it to do i2c stuff in that context though.
--
dwmw2
More information about the Linuxppc-dev
mailing list