[PATCH 00/16] rtc: rv3029: cleanup and features

From: Alexandre Belloni
Date: Sat Dec 14 2019 - 17:10:29 EST


Hi,

This series cleans up the rv3029 driver and adds a few features:
RTC_VL_READ and RTC_VL_CLR support, correct rtc range enforcement, NVRAM
support.

This series depends on the previously sent RTC_VL_READ unification.

Alexandre Belloni (16):
rtc: rv3029: use proper name for the driver
rtc: rv3029: let regmap validate the register ranges
rtc: rv3029: remove open coded regmap_update_bits
rtc: rv3029: remove race condition when update STATUS
rtc: rv3029: avoid reading the status register uselessly
rtc: rv3029: get rid of rv3029_get_sr
rtc: rv3029: simplify rv3029_alarm_irq_enable
rtc: rv3029: simplify rv3029_set_alarm
rtc: rv3029: drop rv3029_read_regs and rv3029_write_regs
rtc: rv3029: add RTC_VL_READ and RTC_VL_CLEAR support
rtc: rv3029: correctly handle PON and VLOW2
rtc: rv3029: convert to devm_rtc_allocate_device
rtc: rv3029: let the core handle rtc range
rtc: rv3029: remove useless error messages
rtc: rv3029: annotate init and exit functions
rtc: rv3029: add nvram support

drivers/rtc/rtc-rv3029c2.c | 444 +++++++++++++++----------------------
include/linux/rtc.h | 1 +
2 files changed, 185 insertions(+), 260 deletions(-)

--
2.23.0