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