History

rtc: da9063: set range

The DA9062 and DA9063 have a year register that can go up to 0x3F.

Alexandre Belloni committed 7 years ago

Commit 5ff404d1 parent 64bef022 files · +7 −3Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/rtc.h+1−0
@@ -164,6 +164,7 @@ struct rtc_device { · 163 unmodified lines
164164 /* useful timestamps */
165165 #define RTC_TIMESTAMP_BEGIN_1900 -2208989361LL /* 1900-01-01 00:00:00 */
166166 #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 */
167168 #define RTC_TIMESTAMP_END_2099 4102444799LL /* 2099-12-31 23:59:59 */
168169 #define RTC_TIMESTAMP_END_9999 253402300799LL /* 9999-12-31 23:59:59 */
169170

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t