On 12/08/2019 16:28:50-0700, Kevin Hilman wrote: > From: Neil Armstrong <narmstrong@xxxxxxxxxxxx> > > The Amlogic Meson GX SoCs uses a special register to store the > time in seconds to wakeup after a system suspend. > > In order to be able to reuse the RTC wakealarm feature, this > driver implements a fake RTC device which uses the system time > to deduce a suspend delay. > > Signed-off-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx> > [khilman: rebase to v5.3-rc, rework and modernization] > Signed-off-by: Kevin Hilman <khilman@xxxxxxxxxxxx> > --- > MAINTAINERS | 1 + > drivers/rtc/Kconfig | 11 +++ > drivers/rtc/Makefile | 1 + > drivers/rtc/rtc-meson-vrtc.c | 156 +++++++++++++++++++++++++++++++++++ > 4 files changed, 169 insertions(+) > create mode 100644 drivers/rtc/rtc-meson-vrtc.c > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com