rtc: Add DM support to ds1307
authorChris Packham <judge.packham@gmail.com>
Sat, 29 Apr 2017 03:20:29 +0000 (15:20 +1200)
committerTom Rini <trini@konsulko.com>
Mon, 8 May 2017 15:57:28 +0000 (11:57 -0400)
commitd425d6056e0159ee26cb7f7037ff0b72ffd93658
treeb79fbdced2fad5632dc02996e82c85dc246add48
parent2e0c6f38f3893a247c23de180999b2618ed01c8a
rtc: Add DM support to ds1307

Add an implementation of the ds1307 driver that uses the driver model
i2c APIs.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/rtc/Kconfig
drivers/rtc/ds1307.c