rtc: ds3232: get SRAM access using NVMEM Framework
authorHan Nandor <nandor.han@vaisala.com>
Tue, 16 Apr 2019 10:57:54 +0000 (10:57 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 19 Apr 2019 20:36:55 +0000 (22:36 +0200)
commit9eec31f310e0f37a25eda4efdfb5b9df32f635d6
tree2dab7b0db4b2358701943ea3a8bfcfaf812001a3
parent9fc0fd5077badc3de5c40895beecee4f57d02423
rtc: ds3232: get SRAM access using NVMEM Framework

DS3232 RTC has 236 bytes of persistent memory.

Add RTC SRAM read and write access using
the NVMEM Framework.

Signed-off-by: Han Nandor <nandor.han@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ds3232.c