rtc: rc5t619: Add Ricoh RC5T619 RTC driver
authorAndreas Kemnade <andreas@kemnade.info>
Fri, 20 Mar 2020 08:11:03 +0000 (09:11 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 27 Mar 2020 09:42:30 +0000 (09:42 +0000)
commit540d1e15393d92288d133fca2ea245d8d38227e6
tree6593e58765f2343fa574ef4bb9ebb6be7913e439
parentbc61676617d3d8da0eec3979a4922e7371ce48af
rtc: rc5t619: Add Ricoh RC5T619 RTC driver

Add an RTC driver for the RTC device on Ricoh MFD RC5T619,
which is implemented as a variant of RN5T618.

rtc-range output:
Testing 2000-02-28 23:59:59.
OK

Testing 2038-01-19 03:14:07.
OK

Testing 2069-12-31 23:59:59.
OK

Testing 2099-12-31 23:59:59.
KO RTC_RD_TIME returned 22 (line 138)

Testing 2100-02-28 23:59:59.
KO RTC_SET_TIME returned 34 (line 122)

Testing 2106-02-07 06:28:15.
KO RTC_SET_TIME returned 34 (line 122)

Testing 2262-04-11 23:47:16.
KO RTC_SET_TIME returned 34 (line 122)

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/rtc-rc5t619.c [new file with mode: 0644]