• Alexandre Belloni's avatar
    rtc: add generic nvmem support · 697e5a47
    Alexandre Belloni authored
    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: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
    697e5a47
Makefile 7.15 KB