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)
commit147dae76dbb9b20ba48385911c6fc04bf038a64a
treebfe8cfddcfccf99a49acc85e922e5bde4ae3f786
parent860c45b56d9367f220f6ff786588ccd2d6c44065
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