rtc: s5m: set range
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 4 Aug 2021 10:41:32 +0000 (12:41 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 6 Aug 2021 08:31:59 +0000 (10:31 +0200)
commitfffd603ae9f6ee1da47fa4ae4c70c324323bc201
treee06dcb2c360aeee9e80887920323379d63ac6f1f
parent308247d20464a684f335001f2f835240e67f9126
rtc: s5m: set range

The S5M8763X type seems to handles dates from year 0000 to 9999, there is
no info on leap year handling after 2099. The other models handles dates
from 2000 to 2099.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210804104133.5158-4-alexandre.belloni@bootlin.com
drivers/rtc/rtc-s5m.c