Commit 57ad9e69 authored by Alexandre Belloni's avatar Alexandre Belloni

rtc: tps65910: add range

The tps65910 RTC can support dates from 01/01/2000 to 31/12/2099.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent ee366c7a
......@@ -426,6 +426,8 @@ static int tps65910_rtc_probe(struct platform_device *pdev)
device_set_wakeup_capable(&pdev->dev, 1);
tps_rtc->rtc->ops = &tps65910_rtc_ops;
tps_rtc->rtc->range_min = RTC_TIMESTAMP_BEGIN_2000;
tps_rtc->rtc->range_max = RTC_TIMESTAMP_END_2099;
ret = rtc_register_device(tps_rtc->rtc);
if (ret) {
......
Markdown is supported
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