diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-05-05 23:13:06 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-05-11 17:04:35 +0300 |
commit | 734e5e4e268f792d514ec2313792f30ec5f6c94f (patch) | |
tree | ed939cbccf1dc5f569597ee88cc6b2c863ab692b /include/uapi/linux/rtc.h | |
parent | 9f210ec65acc525db49de3223b935f9dd4c2f5b5 (diff) | |
download | linux-734e5e4e268f792d514ec2313792f30ec5f6c94f.tar.xz |
rtc: add new VL flag for backup switchover
A new flag RTC_VL_BACKUP_SWITCH means that a backup switchover happened
since last flag clear.
Link: https://lore.kernel.org/r/20200505201310.255145-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include/uapi/linux/rtc.h')
-rw-r--r-- | include/uapi/linux/rtc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/rtc.h b/include/uapi/linux/rtc.h index 83bba58d47f4..fa9aff91cbf2 100644 --- a/include/uapi/linux/rtc.h +++ b/include/uapi/linux/rtc.h @@ -99,6 +99,7 @@ struct rtc_pll_info { #define RTC_VL_BACKUP_LOW _BITUL(1) /* Backup voltage is low */ #define RTC_VL_BACKUP_EMPTY _BITUL(2) /* Backup empty or not present */ #define RTC_VL_ACCURACY_LOW _BITUL(3) /* Voltage is low, RTC accuracy is reduced */ +#define RTC_VL_BACKUP_SWITCH _BITUL(4) /* Backup switchover happened */ #define RTC_VL_READ _IOR('p', 0x13, unsigned int) /* Voltage low detection */ #define RTC_VL_CLR _IO('p', 0x14) /* Clear voltage low information */ |