aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/interface.c
diff options
context:
space:
mode:
authorAlexandre Belloni <[email protected]>2019-04-01 16:08:15 +0000
committerAlexandre Belloni <[email protected]>2019-04-04 08:07:11 +0000
commit85370d3dd0d10a1ae5731c76409d7196ad9f5786 (patch)
tree75280353079ba11d4d1979c726456d626142410f /drivers/rtc/interface.c
parentrtc: pcf85063: add nvram support (diff)
downloadkernel-85370d3dd0d10a1ae5731c76409d7196ad9f5786.tar.gz
kernel-85370d3dd0d10a1ae5731c76409d7196ad9f5786.zip
rtc: pcf85063: add offset correction support
The PCF850363 has an offset correction with two modes: With mode 0, the correction is triggered once every two hours and then correction pulses are applied once per minute until the programmed correction values have been implemented. This gives a step of 4.34 ppm. With mode 1, the correction is triggered once every four minutes and then correction pulses are applied once per second up to a maximum of 60 pulses. When correction values greater than 60 pulses are used, additional correction pulses are made in the 59 th second. This gives a step of 4.069 ppm. Use the correction closest to the requested value. Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'drivers/rtc/interface.c')
0 files changed, 0 insertions, 0 deletions