mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
The rtc_calibration attribute allows user-space to get and set the AB8500's RtcCalibration register. The AB8500 will then use the value in this register to compensate for RTC drift every 60 seconds. [[email protected]: coding-style fixes] Signed-off-by: Mark Godfrey <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]> Cc: Alessandro Zummo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
13 lines
717 B
Plaintext
13 lines
717 B
Plaintext
What: Attribute for calibrating ST-Ericsson AB8500 Real Time Clock
|
|
Date: Oct 2011
|
|
KernelVersion: 3.0
|
|
Contact: Mark Godfrey <[email protected]>
|
|
Description: The rtc_calibration attribute allows the userspace to
|
|
calibrate the AB8500.s 32KHz Real Time Clock.
|
|
Every 60 seconds the AB8500 will correct the RTC's value
|
|
by adding to it the value of this attribute.
|
|
The range of the attribute is -127 to +127 in units of
|
|
30.5 micro-seconds (half-parts-per-million of the 32KHz clock)
|
|
Users: The /vendor/st-ericsson/base_utilities/core/rtc_calibration
|
|
daemon uses this interface.
|