Re: [PATCH v2 1/1] rtc: ds3232: get SRAM access using NVMEM Framework

2019-04-12 Thread Alexandre Belloni
Hi, On 08/04/2019 08:52:39+, Han Nandor wrote: > static int ds3232_probe(struct device *dev, struct regmap *regmap, int irq, > const char *name) > { > struct ds3232 *ds3232; > int ret; > + struct nvmem_config nvmem_cfg; > > ds3232 = devm_kzalloc(

[PATCH v2 1/1] rtc: ds3232: get SRAM access using NVMEM Framework

2019-04-08 Thread Han Nandor
DS3232 RTC has 236 bytes of persistent memory. Add RTC SRAM read and write access using the NVMEM Framework. Signed-off-by: Nandor Han --- Description --- Provides DS3232 RTC SRAM access using NVMEM framework. Testing --- The test was done on a custom board which contains a DS3232