]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc/ab8500: Add calibration attribute to AB8500 RTC
authorMark Godfrey <mark.godfrey@stericsson.com>
Wed, 30 Nov 2011 04:11:46 +0000 (15:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Nov 2011 04:13:58 +0000 (15:13 +1100)
commit9d83ec3c2bb2d7d9a4ef38ccfa778c0e59e4ce2e
treeb0bf7cef6c8f978aaccf0cf19b322d9641795211
parentcb57ad947f1da7a90a94330f1d3b2493eb252577
rtc/ab8500: Add calibration attribute to AB8500 RTC

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.

Signed-off-by: Mark Godfrey <mark.godfrey@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/ABI/testing/sysfs-class-rtc-rtc0-device-rtc_calibration [new file with mode: 0644]
drivers/rtc/rtc-ab8500.c