xref: /openbmc/u-boot/drivers/rtc/Kconfig (revision 70c56c138f3776b68f24acb09a9bc3ba67855d0a)
1 #
2 # RTC drivers configuration
3 #
4 
5 menu "Real Time Clock"
6 
7 config 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 
16 config 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 
26 config 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 
33 config RTC_S35392A
34 	bool "Enable S35392A driver"
35 	select BITREVERSE
36 	help
37 	  Enable s35392a driver which provides rtc get and set function.
38 
39 endmenu
40