The DA9062 and DA9063 have a year register that can go up to 0x3F.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -164,6 +164,7 @@ struct rtc_device { · 163 unmodified lines | ||
| 164 | 164 | /* useful timestamps */ |
| 165 | 165 | #define RTC_TIMESTAMP_BEGIN_1900 -2208989361LL /* 1900-01-01 00:00:00 */ |
| 166 | 166 | #define RTC_TIMESTAMP_BEGIN_2000 946684800LL /* 2000-01-01 00:00:00 */ |
| 167 | +#define RTC_TIMESTAMP_END_2063 2966371199LL /* 2063-12-31 23:59:59 */ | |
| 167 | 168 | #define RTC_TIMESTAMP_END_2099 4102444799LL /* 2099-12-31 23:59:59 */ |
| 168 | 169 | #define RTC_TIMESTAMP_END_9999 253402300799LL /* 9999-12-31 23:59:59 */ |
| 169 | 170 | |