diff options
author | Chris Packham <judge.packham@gmail.com> | 2017-04-29 03:20:29 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-08 15:57:28 (GMT) |
commit | d425d6056e0159ee26cb7f7037ff0b72ffd93658 (patch) | |
tree | b79fbdced2fad5632dc02996e82c85dc246add48 /drivers/rtc/Kconfig | |
parent | 2e0c6f38f3893a247c23de180999b2618ed01c8a (diff) | |
download | u-boot-d425d6056e0159ee26cb7f7037ff0b72ffd93658.tar.xz |
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/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index cb79a01..d06130c7 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 |