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
F151330891: D10900.diff
Tue, Apr 7, 3:56 PM
F151325122: D10900.id29337.diff
Tue, Apr 7, 3:00 PM
Unknown Object (File)
Sat, Mar 28, 12:56 AM
Unknown Object (File)
Thu, Mar 19, 6:28 AM
Unknown Object (File)
Wed, Mar 18, 2:26 AM
Unknown Object (File)
Wed, Mar 18, 2:18 AM
Unknown Object (File)
Mon, Mar 16, 6:52 AM
Unknown Object (File)
Sun, Mar 15, 12:08 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.