Re: [PATCH 2/4] rtc: s3c: Add time range

From: Krzysztof Kozlowski
Date: Tue Oct 19 2021 - 12:17:31 EST


On 19/10/2021 15:17, Sam Protsenko wrote:
> This RTC driver only accepts dates from 2000 to 2099 year. It starts
> counting from 2000 to avoid Y2K problem,

1. Where is the minimum (2000) year set in the RTC driver?

> and S3C RTC only supports 100

On some of the devices 100, on some 1000, therefore, no. This does not
look correct.

> years range. Provide this info to RTC framework.
>
> Signed-off-by: Sam Protsenko <semen.protsenko@xxxxxxxxxx>
> ---
> drivers/rtc/rtc-s3c.c | 2 ++
> 1 file changed, 2 insertions(+)
>

Best regards,
Krzysztof