]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ds1347: handle century register
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 7 Oct 2019 13:47:24 +0000 (15:47 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 7 Oct 2019 13:49:38 +0000 (15:49 +0200)
commit47dd9e34189592d2be5eec1001e33d28a664719d
treebfe8cfddcfccf99a49acc85e922e5bde4ae3f786
parent4ac8c9ed9f099fedf371fbf4fe678414cc5a4e4f
rtc: ds1347: handle century register

The DS1347 can handle years from 0 to 9999, add century register support.

Link: https://lore.kernel.org/r/20191007134724.15505-10-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ds1347.c