rtc: ds1307: Ensure oscillator is enabled for DS1388
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Sun, 16 Aug 2020 23:57:31 +0000 (11:57 +1200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 20 Aug 2020 22:19:04 +0000 (00:19 +0200)
commit59ed0127155201863db49f3dc5fb41316433340a
tree203e2df09579763a919714ac4c0bd6a2c799b2b4
parent163a512cd929d6db712a3021720362749653998b
rtc: ds1307: Ensure oscillator is enabled for DS1388

Similar to the other variants the DS1388 has a bit to stop the
oscillator to reduce the power consumption from VBAT. Ensure that the
oscillator is enabled when the system is up.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200816235731.21071-1-chris.packham@alliedtelesis.co.nz
drivers/rtc/rtc-ds1307.c