RTC for 6.3

Subsystem:
 - allow rtc_read_alarm without read_alarm callback

New driver:
 - NXP BBNSM module RTC

Drivers:
 - use IRQ flags from fwnode when available
 - abx80x: nvmem support
 - brcmstb-waketimer: add non-wake alarm support
 - ingenic: provide CLK32K clock
 - isl12022: cleanups
 - moxart: switch to using gpiod API
 - pcf85363: allow setting quartz load
 - pm8xxx: cleanups and support for setting time
 - rv3028, rv3032: add ACPI support
rtc: pm8xxx: add support for nvmem offset

On many Qualcomm platforms the PMIC RTC control and time registers are
read-only so that the RTC time can not be updated. Instead an offset
needs be stored in some machine-specific non-volatile memory, which the
driver can take into account.

Add support for storing a 32-bit offset from the Epoch in an nvmem cell
so that the RTC time can be set on such platforms.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20230202155448.6715-18-johan+linaro@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 file changed