From 6ef35398e827dcf321a012c8f7a4d8d739674db6 Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Mon, 12 Aug 2019 16:28:50 -0700 Subject: 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 [khilman: rebase to v5.3-rc, rework and modernization] Signed-off-by: Kevin Hilman Link: https://lore.kernel.org/r/20190812232850.8016-3-khilman@kernel.org Signed-off-by: Alexandre Belloni --- drivers/rtc/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/rtc/Makefile') diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile index 9fe0e938272c..bd87a004b346 100644 --- a/drivers/rtc/Makefile +++ b/drivers/rtc/Makefile @@ -102,6 +102,7 @@ obj-$(CONFIG_RTC_DRV_MAX8907) += rtc-max8907.o obj-$(CONFIG_RTC_DRV_MAX8925) += rtc-max8925.o obj-$(CONFIG_RTC_DRV_MAX8997) += rtc-max8997.o obj-$(CONFIG_RTC_DRV_MAX8998) += rtc-max8998.o +obj-$(CONFIG_RTC_DRV_MESON_VRTC)+= rtc-meson-vrtc.o obj-$(CONFIG_RTC_DRV_MC13XXX) += rtc-mc13xxx.o obj-$(CONFIG_RTC_DRV_MCP795) += rtc-mcp795.o obj-$(CONFIG_RTC_DRV_MESON) += rtc-meson.o -- cgit