]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ab8500: let the core handle range
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 24 Sep 2018 14:49:01 +0000 (16:49 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 28 Sep 2018 12:36:47 +0000 (14:36 +0200)
commit1789039c055b5d2e78e67ab9d971079b09828740
tree9a44dd1f86636a890e13b346dd3dfa93271b6a09
parente573905db42d8c2484813db73077d7f21bb0e9ad
rtc: ab8500: let the core handle range

Let the core handle offsetting and windowing the RTC range.
The RTC has a 24 bit counter for minutes plus a seconds counter.
Keep the epoch at the beginning of 2000.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ab8500.c