[lkml]   [2007]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC+PATCH] RTC calibration
Mark Gross <> writes:
> Is it necessary to change the rtc interface? Can't you detect within
> your m48t59 driver that you are getting consistent time adjustments up
> or down from whats in the rtc and infer it needs speeding up or slowing
> down?

[I didn't notice this when I first replied]

Because of the RTC's low resolution and of how the calibration is
implemented in the chip, you need to sample the clock at intervals of
several hours in order to determine the direction of the required
adjustment. Repeatedly setting the RTC to the correct time will
actually prevent correct calibration.

Dag-Erling Smørgrav
Senior Software Developer
Linpro AS -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-09-11 18:31    [W:0.059 / U:1.648 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site