]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: armada38x: add support for trimming the RTC
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 29 Sep 2017 10:23:31 +0000 (11:23 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 25 Oct 2017 21:05:52 +0000 (23:05 +0200)
commita991039dad6cff735f6e8676eeca87675190c448
treec08988bffbc74cba5423149863fdf4d0b76f1793
parent8090df8a2f378a4b280fc4d75a860fe61267dcc1
rtc: armada38x: add support for trimming the RTC

Add support for trimming the RTC using the offset mechanism.  This RTC
supports two modes: low update mode and high update mode.  Low update
mode has finer precision than high update mode, so we use the low mode
where possible.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-armada38x.c