]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit577fb9366c4b5e445cb8717b36c381d05b2d56fc
tree2dab7b0db4b2358701943ea3a8bfcfaf812001a3
parent0df09001832c0cadcb47f2fbce08a84acdc3684f
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