xref: /openbmc/u-boot/drivers/rtc/Kconfig (revision eb5ba3ae)
1#
2# RTC drivers configuration
3#
4
5menu "Real Time Clock"
6
7config DM_RTC
8	bool "Enable Driver Model for RTC drivers"
9	depends on DM
10	help
11	  Enable drver model for real-time-clock drivers. The RTC uclass
12	  then provides the rtc_get()/rtc_set() interface, delegating to
13	  drivers to perform the actual functions. See rtc.h for a
14	  description of the API.
15
16config RTC_PCF2127
17	bool "Enable PCF2127 driver"
18	depends on DM_RTC
19	help
20	  The PCF2127 is a CMOS Real Time Clock (RTC) and calendar with an integrated
21	  Temperature Compensated Crystal (Xtal) Oscillator (TCXO) and a 32.768 kHz quartz
22	  crystal optimized for very high accuracy and very low power consumption. The PCF2127
23	  has a selectable I2C-bus or SPI-bus, a backup battery switch-over circuit, a
24	  programmable watchdog function, a timestamp function, and many other features.
25
26config RTC_DS1307
27	bool "Enable DS1307 driver"
28	depends on DM_RTC
29	help
30	  Support for Dallas Semiconductor (now Maxim) DS1307 and DS1338/9 and
31	  compatible Real Time Clock devices.
32
33endmenu
34