Searched hist:327653 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/dev/iicbus/
H A Dds3231.cdiff 327653 Sat Jan 06 23:05:22 MST 2018 ian MFC r326750:

Do not give up if writing to the chip's control and status registers fails
during startup. When a brand new chip leaves the factory, it is in a
special power-saving mode that disables most functions on the chip to
save battery power. The chip is stuck in this mode until the first write
to the time registers, which automatically clears the special power-saving
mode and starts the oscillator.

Also, the day-of-week register in this chip counts 1-7, not 0-6, so write
the values accordingly.

These changes are based on the patch submitted by Brian Scott, but I
elimated warnings since this condition is expected, and added some comments,
and so in general blame me for any mistakes.

PR: 223642

Completed in 180 milliseconds