[i2c] [PATCH] DS1339: oscillator code added.
David Brownell
david-b at pacbell.net
Tue Jun 26 11:22:51 CEST 2007
On Tuesday 26 June 2007, Rodolfo Giometti wrote:
> On Mon, Jun 25, 2007 at 10:40:31AM -0700, David Brownell wrote:
>
> > Bugfixes; provide corresponding update for DS1338. Use a common
> > warning message ("SET TIME!") whenever the clock needs to be set
> > after oscillator fault (or enable, if that's not separate status).
>
> The warning message could be useful but I think we should add some
> flag for the userland programs to know this fact. Maybe something into
> sysfs/procfs?
Not just for this driver; and not through procfs.
The natural way to do this is to get the NTP clock
synchronization code working with the RTC framework. ;)
Failing that, sysfs already exposes the time, so
that any tool that *could* sanity check the time
against some external source (NTP etc) can already
do so.
- Dave
More information about the i2c
mailing list