summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/nvmem.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtc: add generic nvmem supportAlexandre Belloni2017-07-071-0/+113
Many RTCs have an on board non volatile storage. It can be battery backed RAM or an EEPROM. Use the nvmem subsystem to export it to both userspace and in-kernel consumers. This stays compatible with the previous (non documented) ABI that was using /sys/class/rtc/rtcx/device/nvram to export that memory. But will warn about the deprecation. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>