]> 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)
commit335b83798431172d9e9e538ce2f7b6e9b9d29204
tree3500686c35f6c7af6bf10ca2e139af409b05c7b6
parent0723900f538b7cfa6f99364bbd0c5028f4bf49fa
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