]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0c44ca9c50c69276706fe5ea7e79852f42af059
tree203e2df09579763a919714ac4c0bd6a2c799b2b4
parente8b03e112b352593c1ed8093016232930ee59bc9
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