mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-26 21:13:48 +00:00
d425d6056e
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>
33 lines
1 KiB
Text
33 lines
1 KiB
Text
#
|
|
# RTC drivers configuration
|
|
#
|
|
|
|
menu "Real Time Clock"
|
|
|
|
config DM_RTC
|
|
bool "Enable Driver Model for RTC drivers"
|
|
depends on DM
|
|
help
|
|
Enable drver model for real-time-clock drivers. The RTC uclass
|
|
then provides the rtc_get()/rtc_set() interface, delegating to
|
|
drivers to perform the actual functions. See rtc.h for a
|
|
description of the API.
|
|
|
|
config RTC_PCF2127
|
|
bool "Enable PCF2127 driver"
|
|
depends on DM_RTC
|
|
help
|
|
The PCF2127 is a CMOS Real Time Clock (RTC) and calendar with an integrated
|
|
Temperature Compensated Crystal (Xtal) Oscillator (TCXO) and a 32.768 kHz quartz
|
|
crystal optimized for very high accuracy and very low power consumption. The 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
|