rtc: rx8581: Add support for Epson rx8571 RTC
authorBiju Das <biju.das@bp.renesas.com>
Thu, 21 Feb 2019 09:40:45 +0000 (09:40 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 2 Mar 2019 21:20:58 +0000 (22:20 +0100)
commit51f896ffd1a5aacbda82ed82552c4077e3cc3b68
tree10c065ab41eb874930cc261a25f6387d87796e21
parent57e883b576dc056f59a5612713b679432db36bfa
rtc: rx8581: Add support for Epson rx8571 RTC

Add support for Epson rx8571 real-time clock. rx8571 rtc is compatible
with rx8581,except that rx8571 has additional 16 bytes of RAM.

16 bytes of nvmem is supported and exposed in sysfs (# is the instance
number,starting with 0): /sys/bus/nvmem/devices/rx8571-#/nvmem

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig
drivers/rtc/rtc-rx8581.c