xref: /openbmc/u-boot/drivers/rtc/Kconfig (revision cf7c6f533331ff032d8949663ab2abe618da9cb4)
10b11dbf7SMasahiro Yamada#
20b11dbf7SMasahiro Yamada# RTC drivers configuration
30b11dbf7SMasahiro Yamada#
40b11dbf7SMasahiro Yamada
50b11dbf7SMasahiro Yamadamenu "Real Time Clock"
60b11dbf7SMasahiro Yamada
7dbeda5b2SSimon Glassconfig DM_RTC
8dbeda5b2SSimon Glass	bool "Enable Driver Model for RTC drivers"
9dbeda5b2SSimon Glass	depends on DM
10dbeda5b2SSimon Glass	help
11dbeda5b2SSimon Glass	  Enable drver model for real-time-clock drivers. The RTC uclass
12dbeda5b2SSimon Glass	  then provides the rtc_get()/rtc_set() interface, delegating to
13dbeda5b2SSimon Glass	  drivers to perform the actual functions. See rtc.h for a
14dbeda5b2SSimon Glass	  description of the API.
150b11dbf7SMasahiro Yamada
16380d4f78SSimon Glassconfig SPL_DM_RTC
17380d4f78SSimon Glass	bool "Enable Driver Model for RTC drivers in SPL"
18380d4f78SSimon Glass	depends on SPL_DM
19380d4f78SSimon Glass	help
20380d4f78SSimon Glass	  Enable drver model for real-time-clock drivers. The RTC uclass
21380d4f78SSimon Glass	  then provides the rtc_get()/rtc_set() interface, delegating to
22380d4f78SSimon Glass	  drivers to perform the actual functions. See rtc.h for a
23380d4f78SSimon Glass	  description of the API.
24380d4f78SSimon Glass
25380d4f78SSimon Glassconfig TPL_DM_RTC
26380d4f78SSimon Glass	bool "Enable Driver Model for RTC drivers in TPL"
27380d4f78SSimon Glass	depends on TPL_DM
28380d4f78SSimon Glass	help
29380d4f78SSimon Glass	  Enable drver model for real-time-clock drivers. The RTC uclass
30380d4f78SSimon Glass	  then provides the rtc_get()/rtc_set() interface, delegating to
31380d4f78SSimon Glass	  drivers to perform the actual functions. See rtc.h for a
32380d4f78SSimon Glass	  description of the API.
33380d4f78SSimon Glass
348f3a8428SMeng Yiconfig RTC_PCF2127
358f3a8428SMeng Yi	bool "Enable PCF2127 driver"
368f3a8428SMeng Yi	depends on DM_RTC
378f3a8428SMeng Yi	help
3845a0194bSMeng Yi	  The PCF2127 is a CMOS Real Time Clock (RTC) and calendar with an integrated
3945a0194bSMeng Yi	  Temperature Compensated Crystal (Xtal) Oscillator (TCXO) and a 32.768 kHz quartz
4045a0194bSMeng Yi	  crystal optimized for very high accuracy and very low power consumption. The PCF2127
4145a0194bSMeng Yi	  has a selectable I2C-bus or SPI-bus, a backup battery switch-over circuit, a
4245a0194bSMeng Yi	  programmable watchdog function, a timestamp function, and many other features.
438f3a8428SMeng Yi
44d425d605SChris Packhamconfig RTC_DS1307
45d425d605SChris Packham	bool "Enable DS1307 driver"
46d425d605SChris Packham	depends on DM_RTC
47d425d605SChris Packham	help
48d425d605SChris Packham	  Support for Dallas Semiconductor (now Maxim) DS1307 and DS1338/9 and
49d425d605SChris Packham	  compatible Real Time Clock devices.
50d425d605SChris Packham
5152280315SKlaus Gogerconfig RTC_ISL1208
5252280315SKlaus Goger	bool "Enable ISL1208 driver"
5352280315SKlaus Goger	depends on DM_RTC
5452280315SKlaus Goger	help
5552280315SKlaus Goger	  The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and
5652280315SKlaus Goger	  calendar with automatic leap year correction, 2-byte battery backed SRAM,
5752280315SKlaus Goger	  automatic power switch-over, alarm function and 15 selectable frequency
5852280315SKlaus Goger	  outputs.
5952280315SKlaus Goger
6052280315SKlaus Goger	  This driver supports reading and writing the RTC/calendar and detects
6152280315SKlaus Goger	  total power failures.
6252280315SKlaus Goger
63a3716b5fSPhilipp Tomsichconfig RTC_RV3029
64a3716b5fSPhilipp Tomsich	bool "Enable RV3029 driver"
65a3716b5fSPhilipp Tomsich	depends on DM_RTC
66a3716b5fSPhilipp Tomsich	help
67a3716b5fSPhilipp Tomsich	  The MicroCrystal RV3029 is a I2C Real Time Clock (RTC) with 8-byte
68a3716b5fSPhilipp Tomsich	  battery-backed SRAM.
69a3716b5fSPhilipp Tomsich
70a3716b5fSPhilipp Tomsich	  This driver supports reading and writing the RTC/calendar and the
71a3716b5fSPhilipp Tomsich	  battery-baced SRAM section.
72a3716b5fSPhilipp Tomsich
73958a2106SNandor Hanconfig RTC_RX8010SJ
74958a2106SNandor Han	bool "Enable RX8010SJ driver"
75958a2106SNandor Han	depends on DM_RTC
76958a2106SNandor Han	help
77958a2106SNandor Han	  Support for Epson RX8010SJ Real Time Clock devices.
78958a2106SNandor Han
79b19886b9SHeinrich Schuchardtconfig RTC_PL031
80b19886b9SHeinrich Schuchardt	bool "Enable ARM AMBA PL031 RTC driver"
81b19886b9SHeinrich Schuchardt	help
82b19886b9SHeinrich Schuchardt	  The ARM PrimeCell Real Time Clock (PL031) is an optional SoC
83b19886b9SHeinrich Schuchardt	  peripheral based on the Advanced Microcontroller Bus Architecture
84b19886b9SHeinrich Schuchardt	  (AMBA). It is emulated in QEMU virtual ARM machines.
85b19886b9SHeinrich Schuchardt
86d3671dfcSChris Packhamconfig RTC_MV
87d3671dfcSChris Packham	bool "Enable Marvell RTC driver"
88d3671dfcSChris Packham	depends on DM_RTC
89d3671dfcSChris Packham	help
90d3671dfcSChris Packham	  Enable Marvell RTC driver. This driver supports the rtc that is present
91d3671dfcSChris Packham	  on some Marvell SoCs.
92d3671dfcSChris Packham
93da5337a6SNandor Hanconfig RTC_S35392A
94da5337a6SNandor Han	bool "Enable S35392A driver"
95da5337a6SNandor Han	select BITREVERSE
96da5337a6SNandor Han	help
97da5337a6SNandor Han	  Enable s35392a driver which provides rtc get and set function.
98da5337a6SNandor Han
9910761077SSimon Glassconfig RTC_MC146818
10010761077SSimon Glass	bool "Enable MC146818 driver"
10110761077SSimon Glass	help
10210761077SSimon Glass	  This is a widely used real-time clock chip originally by Motorola
10310761077SSimon Glass	  and now available from NXP. It includes a battery-backed real-time
10410761077SSimon Glass	  clock with a wide array of features and 50 bytes of general-purpose,
10510761077SSimon Glass	  battery-backed RAM. The driver supports access to the clock and RAM.
10610761077SSimon Glass
107*d27db67eSLukasz Majewskiconfig RTC_M41T62
108*d27db67eSLukasz Majewski	bool "Enable M41T62 driver"
109*d27db67eSLukasz Majewski	help
110*d27db67eSLukasz Majewski	  Enable driver for ST's M41T62 compatible RTC devices (like RV-4162).
111*d27db67eSLukasz Majewski	  It is a serial (I2C) real-time clock (RTC) with alarm.
112*d27db67eSLukasz Majewski
1130b11dbf7SMasahiro Yamadaendmenu
114