]> 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)
commitd72aa5140335082318886a5cbde3626577852f4c
tree2dab7b0db4b2358701943ea3a8bfcfaf812001a3
parentb0d2ba8ce2bbdeaadd7072765a6a7cdd574bde1b
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