summaryrefslogtreecommitdiff
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2017-04-29 15:20:29 +1200
committerTom Rini <trini@konsulko.com>2017-05-08 11:57:28 -0400
commitd425d6056e0159ee26cb7f7037ff0b72ffd93658 (patch)
treeb79fbdced2fad5632dc02996e82c85dc246add48 /drivers/rtc/Kconfig
parent2e0c6f38f3893a247c23de180999b2618ed01c8a (diff)
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>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index cb79a01631..d06130c7a2 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -23,4 +23,11 @@ config RTC_PCF2127
has a selectable I2C-bus or SPI-bus, a backup battery switch-over circuit, a
programmable watchdog function, a timestamp function, and many other features.
+config RTC_DS1307
+ bool "Enable DS1307 driver"
+ depends on DM_RTC
+ help
+ Support for Dallas Semiconductor (now Maxim) DS1307 and DS1338/9 and
+ compatible Real Time Clock devices.
+
endmenu