xref: /openbmc/u-boot/drivers/rtc/Kconfig (revision 10761077)
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
33config RTC_ISL1208
34	bool "Enable ISL1208 driver"
35	depends on DM_RTC
36	help
37	  The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and
38	  calendar with automatic leap year correction, 2-byte battery backed SRAM,
39	  automatic power switch-over, alarm function and 15 selectable frequency
40	  outputs.
41
42	  This driver supports reading and writing the RTC/calendar and detects
43	  total power failures.
44
45config RTC_RX8010SJ
46	bool "Enable RX8010SJ driver"
47	depends on DM_RTC
48	help
49	  Support for Epson RX8010SJ Real Time Clock devices.
50
51config RTC_PL031
52	bool "Enable ARM AMBA PL031 RTC driver"
53	help
54	  The ARM PrimeCell Real Time Clock (PL031) is an optional SoC
55	  peripheral based on the Advanced Microcontroller Bus Architecture
56	  (AMBA). It is emulated in QEMU virtual ARM machines.
57
58config RTC_MV
59	bool "Enable Marvell RTC driver"
60	depends on DM_RTC
61	help
62	  Enable Marvell RTC driver. This driver supports the rtc that is present
63	  on some Marvell SoCs.
64
65config RTC_S35392A
66	bool "Enable S35392A driver"
67	select BITREVERSE
68	help
69	  Enable s35392a driver which provides rtc get and set function.
70
71config RTC_MC146818
72	bool "Enable MC146818 driver"
73	help
74	  This is a widely used real-time clock chip originally by Motorola
75	  and now available from NXP. It includes a battery-backed real-time
76	  clock with a wide array of features and 50 bytes of general-purpose,
77	  battery-backed RAM. The driver supports access to the clock and RAM.
78
79endmenu
80