rtc: ds1307: add support for m41t11
authorHeiko Schocher <hs@denx.de>
Mon, 27 May 2019 06:13:41 +0000 (08:13 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 13 Jul 2019 15:11:26 +0000 (11:11 -0400)
commit8dd6803dedeada63749f93111e6501b50b180419
tree7fa58a8f56c0fd12ca3f4130b9434b032ba592b5
parentd66fb5b1f6662a8aa5f78994696994c2594dbb22
rtc: ds1307: add support for m41t11

add m41t11 support in ds1307 driver. changes:

- add compatible string for m41t11
- check if RTC clock is running, if not
  enable the clock

Signed-off-by: Heiko Schocher <hs@denx.de>
drivers/rtc/ds1307.c