A new flag RTC_VL_BACKUP_SWITCH means that a backup switchover happened since last flag clear.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -99,6 +99,7 @@ struct rtc_pll_info { · 98 unmodified lines | ||
| 99 | 99 | #define RTC_VL_BACKUP_LOW _BITUL(1) /* Backup voltage is low */ |
| 100 | 100 | #define RTC_VL_BACKUP_EMPTY _BITUL(2) /* Backup empty or not present */ |
| 101 | 101 | #define RTC_VL_ACCURACY_LOW _BITUL(3) /* Voltage is low, RTC accuracy is reduced */ |
| 102 | +#define RTC_VL_BACKUP_SWITCH _BITUL(4) /* Backup switchover happened */ | |
| 102 | 103 | |
| 103 | 104 | #define RTC_VL_READ _IOR('p', 0x13, unsigned int) /* Voltage low detection */ |
| 104 | 105 | #define RTC_VL_CLR _IO('p', 0x14) /* Clear voltage low information */ |