[PATCH 1/1] rtc: mediatek: Add mt6685 RTC driver
Alexandre Belloni
alexandre.belloni at bootlin.com
Thu Oct 31 10:24:55 PDT 2024
On 31/10/2024 21:58:02+0800, shunxi zhang wrote:
> +/* we map HW YEA 0 (2000) to 1968 not 1970 because 2000 is the leap year */
> +#define RTC_MIN_YEAR 1968
> +#define RTC_BASE_YEAR 1900
> +#define RTC_NUM_YEARS 128
> +#define RTC_MIN_YEAR_OFFSET (RTC_MIN_YEAR - RTC_BASE_YEAR)
I will not take another driver with this. mt6397 needs to be fixed
first.
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the Linux-mediatek
mailing list