rtc: ds1307: support m41t11 variant
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Wed, 16 May 2018 21:08:40 +0000 (23:08 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 16 Jul 2018 21:36:24 +0000 (23:36 +0200)
commit7e580769b79f1df2ac67cf935ee95ac1d42b8144
tree077a4c7a490596e56a58830eec7a6a7d7d5b1784
parent146a552c67b1adae50065d2c8f00169302f26c44
rtc: ds1307: support m41t11 variant

The m41t11 variant is very similar to the already supported m41t00 and
m41t0, but it has also 56 bytes of NVRAM.

Add it to driver taking into account NVRAM section.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Documentation/devicetree/bindings/rtc/rtc-ds1307.txt
drivers/rtc/rtc-ds1307.c