Page MenuHomeFreeBSD

Add reset capability to mv_rtc driver
ClosedPublic

Authored by mw_semihalf.com on May 25 2017, 3:03 PM.
Tags
Referenced Files
Unknown Object (File)
Sat, Jul 11, 7:38 PM
Unknown Object (File)
Mon, Jul 6, 5:14 AM
Unknown Object (File)
Sat, Jul 4, 11:49 PM
Unknown Object (File)
Sat, Jul 4, 12:32 AM
Unknown Object (File)
Mon, Jun 29, 12:50 AM
Unknown Object (File)
Thu, Jun 25, 4:20 PM
Unknown Object (File)
Jun 20 2026, 6:43 PM
Unknown Object (File)
May 17 2026, 3:16 PM
Subscribers

Details

Summary

This commit enables optional reset of the RTC, in case
its registers' contents did not sustain the reboot or power-off/on
sequence. Without it, further usage of RTC is impossible (e.g.
writing values to RTC_TIME register will not succeed).

The reset is performed only if Clock Correction register
does not comprise RTC_NOMINAL_TIMING, what helps to
distinguish, whether the software configured RTC before or it comprises
the default value.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was automatically updated to reflect the committed changes.