blob: 35b6ed4d7c726c5df0620c21e5a066929fcc660d [file] [log] [blame]
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +09001#
2# RTC drivers configuration
3#
4
5menu "Real Time Clock"
6
Simon Glassd9050b52015-04-20 12:37:23 -06007config DM_RTC
8 bool "Enable Driver Model for RTC drivers"
9 depends on DM
AKASHI Takahiro51ba5222019-11-13 09:44:49 +090010 select LIB_DATE
Simon Glassd9050b52015-04-20 12:37:23 -060011 help
12 Enable drver model for real-time-clock drivers. The RTC uclass
13 then provides the rtc_get()/rtc_set() interface, delegating to
14 drivers to perform the actual functions. See rtc.h for a
15 description of the API.
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +090016
Simon Glass39c94222018-10-01 12:22:15 -060017config SPL_DM_RTC
18 bool "Enable Driver Model for RTC drivers in SPL"
19 depends on SPL_DM
20 help
21 Enable drver model for real-time-clock drivers. The RTC uclass
22 then provides the rtc_get()/rtc_set() interface, delegating to
23 drivers to perform the actual functions. See rtc.h for a
24 description of the API.
25
26config TPL_DM_RTC
27 bool "Enable Driver Model for RTC drivers in TPL"
28 depends on TPL_DM
29 help
30 Enable drver model for real-time-clock drivers. The RTC uclass
31 then provides the rtc_get()/rtc_set() interface, delegating to
32 drivers to perform the actual functions. See rtc.h for a
33 description of the API.
34
Simon Glasse7ca7da2022-04-30 00:56:53 -060035config VPL_DM_RTC
36 bool "Enable Driver Model for RTC drivers in VPL"
37 depends on VPL_DM
38 help
39 Enable drver model for real-time-clock drivers. The RTC uclass
40 then provides the rtc_get()/rtc_set() interface, delegating to
41 drivers to perform the actual functions. See rtc.h for a
42 description of the API.
43
Chuanhua Han4f97aac2019-07-26 19:24:00 +080044config RTC_ENABLE_32KHZ_OUTPUT
45 bool "Enable RTC 32Khz output"
46 help
47 Some real-time clocks support the output of 32kHz square waves (such as ds3231),
48 the config symbol choose Real Time Clock device 32Khz output feature.
49
Marek BehĂșn311d9de2021-02-26 10:30:19 +010050config RTC_ARMADA38X
51 bool "Enable Armada 38x Marvell SoC RTC"
52 depends on DM_RTC && ARCH_MVEBU
53 help
54 This adds support for the in-chip RTC that can be found in the
55 Armada 38x Marvell's SoC devices.
56
Meng Yi188417c2016-11-30 15:47:31 +080057config RTC_PCF2127
58 bool "Enable PCF2127 driver"
59 depends on DM_RTC
60 help
Meng Yie21f5c22017-01-09 11:24:51 -070061 The PCF2127 is a CMOS Real Time Clock (RTC) and calendar with an integrated
62 Temperature Compensated Crystal (Xtal) Oscillator (TCXO) and a 32.768 kHz quartz
63 crystal optimized for very high accuracy and very low power consumption. The PCF2127
64 has a selectable I2C-bus or SPI-bus, a backup battery switch-over circuit, a
65 programmable watchdog function, a timestamp function, and many other features.
Meng Yi188417c2016-11-30 15:47:31 +080066
Chris Packham97a3e912017-04-29 15:20:29 +120067config RTC_DS1307
68 bool "Enable DS1307 driver"
69 depends on DM_RTC
70 help
Tom Rinif27b7962022-11-19 18:45:31 -050071 Support for Dallas Semiconductor (now Maxim) DS1307 and DS1339 and
Chris Packham97a3e912017-04-29 15:20:29 +120072 compatible Real Time Clock devices.
73
Tom Rinif27b7962022-11-19 18:45:31 -050074config RTC_DS1337
75 bool "Enable DS1337 driver"
76 help
77 Support for Dallas Semiconductor (now Maxim) DS1337/8/9 compatible
78 Real Time Clock devices.
79
80config RTC_DS1337_NOOSC
81 bool "Enable support for no oscillator output in DS1337 driver"
82 depends on RTC_DS1337
83
84config RTC_DS1338
85 bool "Enable DS1338 driver"
86 help
87 Support for Dallas Semiconductor (now Maxim) DS1338 and compatible
88 Real Time Clock devices.
89
90config RTC_DS1374
91 bool "Enable DS1374 driver"
92 depends on !DM_RTC
93 help
94 Support for Dallas Semiconductor (now Maxim) DS1374 and compatible
95 Real Time Clock devices.
96
97config RTC_DS3231
98 bool "Enable DS3231 driver"
99 help
100 Support for Dallas Semiconductor (now Maxim) DS3231 compatible
101 Real Time Clock devices.
102
Han Nandor9c5fc932019-11-12 08:39:38 +0000103config RTC_DS3232
104 bool "Enable DS3232 driver"
105 depends on DM_RTC
106 depends on DM_I2C
107 help
108 Support for Dallas Semiconductor (now Maxim) DS3232 compatible
109 Real Time Clock devices.
110
Heinrich Schuchardt04ded002020-10-22 23:52:14 +0200111config RTC_EMULATION
112 bool "Enable emulated RTC"
113 depends on DM_RTC
114 help
115 On a board without hardware clock this software real time clock can be
Heinrich Schuchardta41437e2020-10-30 03:27:22 +0100116 used. The initial time may be provided via the environment variable
117 'rtc_emul_epoch' as a decimal string indicating seconds since
118 1970-01-01. If the environment variable is missing, the build time is
119 used to initialize the RTC. The time can be adjusted manually via the
120 'date' command or the 'sntp' command can be used to update the RTC
121 with the time from a network time server. See CONFIG_CMD_SNTP and
122 CONFIG_BOOTP_NTPSERVER. The RTC time is advanced according to CPU
123 ticks.
Heinrich Schuchardt04ded002020-10-22 23:52:14 +0200124
Klaus Goger2f6bb762018-03-19 20:32:05 +0100125config RTC_ISL1208
126 bool "Enable ISL1208 driver"
127 depends on DM_RTC
128 help
129 The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and
130 calendar with automatic leap year correction, 2-byte battery backed SRAM,
131 automatic power switch-over, alarm function and 15 selectable frequency
132 outputs.
133
134 This driver supports reading and writing the RTC/calendar and detects
135 total power failures.
136
Heiko Schocherb1f9d2c2020-10-16 10:41:46 +0200137config RTC_PCF8563
138 tristate "Philips PCF8563"
139 help
140 If you say yes here you get support for the Philips PCF8563 RTC
141 and compatible chips.
142
Tom Rinif27b7962022-11-19 18:45:31 -0500143config RTC_PT7C4338
144 bool "Enable Pericom Technology PT7C4338 RTC driver"
145
Heiko Schochereac52242021-03-10 08:15:00 +0100146config RTC_RV3028
147 bool "Enable RV3028 driver"
148 depends on DM_RTC
149 help
150 The MicroCrystal RV3028 is a I2C Real Time Clock (RTC)
151
Philipp Tomsich3d0e1ad2018-11-27 22:53:57 +0100152config RTC_RV3029
153 bool "Enable RV3029 driver"
154 depends on DM_RTC
155 help
156 The MicroCrystal RV3029 is a I2C Real Time Clock (RTC) with 8-byte
157 battery-backed SRAM.
158
159 This driver supports reading and writing the RTC/calendar and the
160 battery-baced SRAM section.
161
Michael Walle2febcea2019-05-29 01:29:58 +0200162config RTC_RV8803
163 bool "Enable RV8803 driver"
164 depends on DM_RTC
165 help
166 The Micro Crystal RV8803 is a high accuracy, ultra-low power I2C
167 Real Time Clock (RTC) with temperature compensation.
168
169 This driver supports reading and writing the RTC/calendar and
170 detects total power failures.
171
Nandor Han20de5b02018-01-10 20:31:27 +0100172config RTC_RX8010SJ
173 bool "Enable RX8010SJ driver"
174 depends on DM_RTC
175 help
176 Support for Epson RX8010SJ Real Time Clock devices.
177
Heiko Schocher1ac5f6c2019-07-16 05:31:33 +0200178config RTC_RX8025
179 bool "Enable RX8025 driver"
Mathew McBride25026cb2021-09-17 06:46:01 +0000180 depends on DM_RTC
Heiko Schocher1ac5f6c2019-07-16 05:31:33 +0200181 help
182 Support for Epson RX8025 Real Time Clock devices.
183
Heinrich Schuchardt1bf05d02018-06-29 00:34:16 +0200184config RTC_PL031
185 bool "Enable ARM AMBA PL031 RTC driver"
186 help
187 The ARM PrimeCell Real Time Clock (PL031) is an optional SoC
188 peripheral based on the Advanced Microcontroller Bus Architecture
189 (AMBA). It is emulated in QEMU virtual ARM machines.
190
Chris Packhamf654d652018-05-28 23:39:58 +1200191config RTC_MV
192 bool "Enable Marvell RTC driver"
193 depends on DM_RTC
194 help
195 Enable Marvell RTC driver. This driver supports the rtc that is present
196 on some Marvell SoCs.
197
Nandor Hand5ea84a2017-11-08 15:35:14 +0000198config RTC_S35392A
199 bool "Enable S35392A driver"
200 select BITREVERSE
201 help
202 Enable s35392a driver which provides rtc get and set function.
203
Tom Rinif27b7962022-11-19 18:45:31 -0500204config RTC_MC13XXX
205 bool "Enable MC13XXX RTC driver"
206 depends on !DM_RTC
207
Simon Glass9be963e2018-10-01 12:22:14 -0600208config RTC_MC146818
209 bool "Enable MC146818 driver"
210 help
211 This is a widely used real-time clock chip originally by Motorola
212 and now available from NXP. It includes a battery-backed real-time
213 clock with a wide array of features and 50 bytes of general-purpose,
214 battery-backed RAM. The driver supports access to the clock and RAM.
215
Tom Rini91d48f22022-03-23 17:19:51 -0400216config MCFRTC
217 bool "Use common CF RTC driver"
218 depends on M68K
219
220config SYS_MCFRTC_BASE
221 hex "Base address for RTC in immap.h"
222 depends on MCFRTC
223
Tom Rinif27b7962022-11-19 18:45:31 -0500224config RTC_MXS
225 bool "Enable i.MXS RTC driver"
226 depends on ARCH_MX23 || ARCH_MX28
227
Lukasz Majewskic17ec482018-11-22 14:54:31 +0100228config RTC_M41T62
229 bool "Enable M41T62 driver"
230 help
231 Enable driver for ST's M41T62 compatible RTC devices (like RV-4162).
232 It is a serial (I2C) real-time clock (RTC) with alarm.
233
Patrick Delaunayfeee9af2019-07-22 11:02:34 +0200234config RTC_STM32
235 bool "Enable STM32 RTC driver"
236 depends on DM_RTC
237 help
238 Enable STM32 RTC driver. This driver supports the rtc that is present
239 on some STM32 SoCs.
Ying-Chun Liu (PaulLiu)f9b87302021-01-15 13:53:02 +0800240
241config RTC_ABX80X
242 bool "Enable Abracon ABx80x RTC driver"
243 depends on DM_RTC
244 help
245 If you say yes here you get support for Abracon AB080X and AB180X
246 families of ultra-low-power battery- and capacitor-backed real-time
247 clock chips.
248
Dario Binacchi0cbde1c2021-06-02 22:37:58 +0200249config RTC_DAVINCI
250 bool "Enable TI OMAP RTC driver"
251 depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
252 help
253 Say "yes" here to support the on chip real time clock
254 present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
255
Michal Simekeddd5f32021-07-29 10:39:08 +0200256config RTC_ZYNQMP
257 bool "Enable ZynqMP RTC driver"
258 depends on ARCH_ZYNQMP
259 help
260 Say "yes" here to support the on chip real time clock
261 present on Xilinx ZynqMP SoC.
262
Sergei Antonov34d09ef2022-12-09 19:15:30 +0300263config RTC_HT1380
264 bool "Enable Holtek HT1380/HT1381 RTC driver"
265 depends on DM_RTC && DM_GPIO
266 help
267 Say "yes" here to get support for Holtek HT1380/HT1381
268 Serial Timekeeper IC which provides seconds, minutes, hours,
269 day of the week, date, month and year information. It is to be
270 connected via 3 GPIO pins which work as reset, clock, and data.
271
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +0900272endmenu