diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2019-08-13 01:28:50 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-08-22 23:08:32 +0200 |
commit | 6ef35398e827dcf321a012c8f7a4d8d739674db6 (patch) | |
tree | 909abba1d080bff56d0f0a76d291eeee0cd6c5e9 /drivers/dax/kmem.c | |
parent | dt-bindings: rtc: new binding for Amlogic VRTC (diff) | |
download | linux-6ef35398e827dcf321a012c8f7a4d8d739674db6.tar.xz linux-6ef35398e827dcf321a012c8f7a4d8d739674db6.zip |
rtc: Add Amlogic Virtual Wake RTC
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@baylibre.com>
[khilman: rebase to v5.3-rc, rework and modernization]
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20190812232850.8016-3-khilman@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/dax/kmem.c')
0 files changed, 0 insertions, 0 deletions