Skip to content
Commit 71db049e authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: Add RTC range



Add a way for drivers to inform the core of the supported date/time range.
The core can then check whether the date/time or alarm is in the range
before calling ->set_time, ->set_mmss or ->set_alarm. It returns -ERANGE
when the time is out of range.

Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 236b7187
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment