]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc/ab8500: add calibration attribute to AB8500 RTC
authorMark Godfrey <mark.godfrey@stericsson.com>
Fri, 16 Dec 2011 04:50:26 +0000 (15:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 19 Dec 2011 07:19:45 +0000 (18:19 +1100)
commit228de63503bb026897f3a74c6c683ae72b3d2e11
tree413a843c5b5b41f7ca57a4c730affbc09732d471
parent9e534909af0801985f5c29bd74a08b1817b7a41c
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