From: Alexandre Belloni Date: Mon, 18 Oct 2021 15:19:27 +0000 (+0200) Subject: rtc: add alarm related features X-Git-Tag: v6.1-rc5~2649^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=917425f71f36ce6f61841497040e10d0166106d8;p=platform%2Fkernel%2Flinux-starfive.git rtc: add alarm related features Add more alarm related features to be declared by drivers. Signed-off-by: Alexandre Belloni Link: https://lore.kernel.org/r/20211018151933.76865-2-alexandre.belloni@bootlin.com --- diff --git a/include/uapi/linux/rtc.h b/include/uapi/linux/rtc.h index f950bff..f4037c5 100644 --- a/include/uapi/linux/rtc.h +++ b/include/uapi/linux/rtc.h @@ -114,7 +114,9 @@ struct rtc_pll_info { #define RTC_FEATURE_ALARM 0 #define RTC_FEATURE_ALARM_RES_MINUTE 1 #define RTC_FEATURE_NEED_WEEK_DAY 2 -#define RTC_FEATURE_CNT 3 +#define RTC_FEATURE_ALARM_RES_2S 3 +#define RTC_FEATURE_UPDATE_INTERRUPT 4 +#define RTC_FEATURE_CNT 5 #define RTC_MAX_FREQ 8192