Re: [RFC+PATCH] RTC calibration

2007-09-12 Thread Dag-Erling Smørgrav
Arne Georg Gleditsch <[EMAIL PROTECTED]> writes: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > + case RTC_SPEED_UP: > > + err = rtc_speed_up(rtc); > > + break; > > + > > + case RTC_SLOW_DOWN: > > + err

Re: [RFC+PATCH] RTC calibration

2007-09-11 Thread Dag-Erling Smørgrav
orrect time will actually prevent correct calibration. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger

Re: [RFC+PATCH] RTC calibration

2007-09-11 Thread Dag-Erling Smørgrav
Clemens Koller <[EMAIL PROTECTED]> writes: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > Without knowing exacly which chip is present, there is no way for the > > userland calibration tool to know how big a difference a calibration > > step makes. > I

Re: [RFC+PATCH] RTC calibration

2007-09-11 Thread Dag-Erling Smørgrav
he remote clock serving as frequency reference. What I need to do, however, is calibrate a low-resolution hardware clock using a trusted reference (which could very well be a software clock maintained by NTP). DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no - To un

Re: [RFC+PATCH] RTC calibration

2007-09-11 Thread Dag-Erling Smørgrav
ed above, except that above the initial delta is 0) DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.k

[RFC+PATCH] RTC calibration

2007-09-11 Thread Dag-Erling Smørgrav
r RTC chips that may also support calibration, and that both design and code are of sufficiently quality to make it into the mainline at some point. Patch follows my sig. Comments of all kinds are welcome. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no diff --gi