]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rv3029: let the core handle rtc range
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 14 Dec 2019 22:10:19 +0000 (23:10 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 18 Dec 2019 09:38:07 +0000 (10:38 +0100)
commite1a2fd3a459909149c3a761355833e5e4946b3f2
tree3500686c35f6c7af6bf10ca2e139af409b05c7b6
parenta4c768e0d34a6a8c1e2b144e64e87d6adccfff20
rtc: rv3029: let the core handle rtc range

Despite the comment, the RV3029 uses a 7bit BCD register for the year,
making 2079 the last supported year.

Link: https://lore.kernel.org/r/20191214221022.622482-14-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-rv3029c2.c
include/linux/rtc.h