]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pcf85063: Add support for the PCF85063A device
authorChris DeBruin <cdeb5783@gmail.com>
Tue, 12 Jul 2016 21:15:46 +0000 (17:15 -0400)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 19 Jul 2016 17:11:54 +0000 (19:11 +0200)
commit3e634eb13a1787ceda1438c2273617888098676b
treebed7e6237c532f778446d7117c34f58d40ba4293
parent1376e31499adcf9166b0d35eb9176cd70d185729
rtc: pcf85063: Add support for the PCF85063A device

The current rtc-pcf85063 driver only supports the PCF85063TP device.
Using the existing driver on a PCF85063A will result in the time being
set correctly into the RTC, but the RTC is held in the stopped state.
Therefore, the time will no longer advance and no error is indicated.

The PCF85063A device has a bigger memory map than the PCF85063TP.
The existing driver make use of an address rollover condition,
but the rollover point is different in the two devices.

Signed-off-by: Chris DeBruin <cdeb5783@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-pcf85063.c