Neil Armstrong 6ef35398e8 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>
2019-08-22 23:08:32 +02:00
..
2019-08-22 23:08:32 +02:00
2019-08-22 23:08:32 +02:00
2019-05-09 14:46:33 -07:00
2019-07-17 10:03:50 -07:00
2019-07-17 10:03:50 -07:00
2019-07-17 10:03:50 -07:00
2019-04-16 18:06:54 +02:00
2019-04-04 10:06:54 +02:00
2019-05-16 09:19:14 -07:00
2019-07-17 10:03:50 -07:00
2019-04-04 10:07:10 +02:00
2017-09-05 09:55:02 +02:00
2019-07-17 10:03:50 -07:00
2019-07-17 10:03:50 -07:00
2019-05-09 14:46:33 -07:00
2019-07-17 10:03:50 -07:00
2019-05-23 17:44:52 +02:00
2019-04-29 15:53:43 +02:00
2019-05-08 22:14:36 +02:00