Some RTCs have an IRQ pin that is not connected to a CPU interrupt but rather directly to a PMIC or power supply. In that case, it is still useful to be able to set alarms but we shouldn't expect interrupts.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -133,7 +133,8 @@ struct rtc_param { · 132 unmodified lines | ||
| 133 | 133 | #define RTC_FEATURE_UPDATE_INTERRUPT 4 |
| 134 | 134 | #define RTC_FEATURE_CORRECTION 5 |
| 135 | 135 | #define RTC_FEATURE_BACKUP_SWITCH_MODE 6 |
| 136 | −#define RTC_FEATURE_CNT 7 | |
| 136 | +#define RTC_FEATURE_ALARM_WAKEUP_ONLY 7 | |
| 137 | +#define RTC_FEATURE_CNT 8 | |
| 137 | 138 | |
| 138 | 139 | /* parameter list */ |
| 139 | 140 | #define RTC_PARAM_FEATURES 0 |