drivers: rtc: add RTC functions and millisecond fieldAdd a millisecond field in the optee_rtc_time structure.Add different APIs to manipulate optee_rtc_time structures:rtc_is_a_leap_year(): Dete
drivers: rtc: add RTC functions and millisecond fieldAdd a millisecond field in the optee_rtc_time structure.Add different APIs to manipulate optee_rtc_time structures:rtc_is_a_leap_year(): Detects if the given year is a leap yearrtc_get_month_days(): Returns the number of day in the given monthrtc_timecmp(): Compare two time capturesrtc_diff_calendar_ms(): Returns the difference in milliseconds betweentwo time capturesrtc_diff_calendar_tick(): Returns the difference in number of ticksbetween two time capturesSigned-off-by: Clément Le Goffic <clement.legoffic@foss.st.com>Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
drivers: rtc: add RTC APIThis API allows to interact with a RTC registered as the system RTC.Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>Acked-by: Jens Wiklander <jens.wiklander@l
drivers: rtc: add RTC APIThis API allows to interact with a RTC registered as the system RTC.Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>Acked-by: Jens Wiklander <jens.wiklander@linaro.org>Signed-off-by: Clément Léger <clement.leger@bootlin.com>