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)
commit0d981f81e0fded15827a8224234b3733e9c0038d
treebed7e6237c532f778446d7117c34f58d40ba4293
parentc421ce7265ce0280453811f4447ede754ebe7e66
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