Re: [PATCH v2] rtc: ds1307: Handle oscillator-stop bit correctly

2021-10-13 Thread Tom Rini
On Tue, Sep 28, 2021 at 10:10:42AM +1300, Mark Tomlinson wrote: > The DS1307 driver was originally based on the DS1337 driver. However, > the functionality of the clock set/get functions has diverged. In the > original DS1337 driver, the set/get functions did the following: > 1) Setting the cloc

[PATCH v2] rtc: ds1307: Handle oscillator-stop bit correctly

2021-09-27 Thread Mark Tomlinson
The DS1307 driver was originally based on the DS1337 driver. However, the functionality of the clock set/get functions has diverged. In the original DS1337 driver, the set/get functions did the following: 1) Setting the clock ensured the oscillator was enabled. 2) Getting the clock checked and