]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc/ab8500: add calibration attribute to AB8500 RTC
authorMark Godfrey <mark.godfrey@stericsson.com>
Thu, 8 Dec 2011 04:42:31 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Dec 2011 04:19:09 +0000 (15:19 +1100)
commitb4ff00af9470020ea06ff97b86b343ebc223ebba
tree3bcaf68312745ba503ec7d665aa7689175b637a1
parent62734ef0962741026f6b6d1c8dae7f79e6f03eac
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>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.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