On 29/09/2017 at 11:23:36 +0100, Russell King wrote: > Add support for reading and writing the RTC offset register, converting > it to the corresponding parts-per-billion value. > > When setting the drift, the PCF8523 has two modes: one applies the > adjustment every two hours, the other applies the adjustment every > minute. We select between these two modes according to which ever > gives the closest PPB value to the one requested. > > Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxx> > --- > drivers/rtc/rtc-pcf8523.c | 40 ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 40 insertions(+) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com