]>
Commit | Line | Data |
---|---|---|
0b11dbf7 MY |
1 | # |
2 | # RTC drivers configuration | |
3 | # | |
4 | ||
5 | menu "Real Time Clock" | |
6 | ||
dbeda5b2 SG |
7 | config DM_RTC |
8 | bool "Enable Driver Model for RTC drivers" | |
9 | depends on DM | |
05429b6c | 10 | select LIB_DATE |
dbeda5b2 SG |
11 | 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. | |
0b11dbf7 | 16 | |
380d4f78 SG |
17 | config 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 | ||
26 | config 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 | ||
747093dd SG |
35 | config 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 | ||
db07c447 CH |
44 | config 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 | ||
aefbc2c2 MB |
50 | config 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 | ||
8f3a8428 MY |
57 | config RTC_PCF2127 |
58 | bool "Enable PCF2127 driver" | |
59 | depends on DM_RTC | |
60 | help | |
45a0194b MY |
61 | 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. | |
8f3a8428 | 66 | |
d425d605 CP |
67 | config RTC_DS1307 |
68 | bool "Enable DS1307 driver" | |
69 | depends on DM_RTC | |
70 | help | |
ea467ea1 | 71 | Support for Dallas Semiconductor (now Maxim) DS1307 and DS1339 and |
d425d605 CP |
72 | compatible Real Time Clock devices. |
73 | ||
ea467ea1 TR |
74 | config 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 | ||
80 | config RTC_DS1337_NOOSC | |
81 | bool "Enable support for no oscillator output in DS1337 driver" | |
82 | depends on RTC_DS1337 | |
83 | ||
84 | config 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 | ||
90 | config 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 | ||
97 | config RTC_DS3231 | |
98 | bool "Enable DS3231 driver" | |
99 | help | |
100 | Support for Dallas Semiconductor (now Maxim) DS3231 compatible | |
101 | Real Time Clock devices. | |
102 | ||
0b326fc2 HN |
103 | config 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 | ||
87e9963d HS |
111 | config 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 | |
fb71c3f4 HS |
116 | 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. | |
87e9963d | 124 | |
2d6dc19f HS |
125 | config RTC_GOLDFISH |
126 | bool "Enable Goldfish driver" | |
127 | depends on DM_RTC | |
128 | help | |
129 | The Goldfish RTC is a virtual device which may be supplied by QEMU. | |
130 | It is enabled by default on QEMU's RISC-V virt machine. | |
131 | ||
52280315 KG |
132 | config RTC_ISL1208 |
133 | bool "Enable ISL1208 driver" | |
134 | depends on DM_RTC | |
135 | help | |
136 | The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and | |
137 | calendar with automatic leap year correction, 2-byte battery backed SRAM, | |
138 | automatic power switch-over, alarm function and 15 selectable frequency | |
139 | outputs. | |
140 | ||
141 | This driver supports reading and writing the RTC/calendar and detects | |
142 | total power failures. | |
143 | ||
0798a1ce CP |
144 | config RTC_MAX313XX |
145 | bool "Analog Devices MAX313XX RTC driver" | |
146 | depends on DM_RTC | |
147 | depends on DM_I2C | |
148 | help | |
149 | If you say yes here you will get support for the | |
150 | Analog Devices MAX313XX series RTC family. | |
151 | ||
152 | Chip features not currently supported: | |
153 | - Timestamp registers as SRAM | |
154 | - Temperature sensor | |
155 | - CLKOUT generation | |
156 | ||
dddfde54 HS |
157 | config RTC_PCF8563 |
158 | tristate "Philips PCF8563" | |
159 | help | |
160 | If you say yes here you get support for the Philips PCF8563 RTC | |
161 | and compatible chips. | |
162 | ||
ea467ea1 TR |
163 | config RTC_PT7C4338 |
164 | bool "Enable Pericom Technology PT7C4338 RTC driver" | |
165 | ||
05a0776e HS |
166 | config RTC_RV3028 |
167 | bool "Enable RV3028 driver" | |
168 | depends on DM_RTC | |
169 | help | |
170 | The MicroCrystal RV3028 is a I2C Real Time Clock (RTC) | |
171 | ||
a3716b5f PT |
172 | config RTC_RV3029 |
173 | bool "Enable RV3029 driver" | |
174 | depends on DM_RTC | |
175 | help | |
176 | The MicroCrystal RV3029 is a I2C Real Time Clock (RTC) with 8-byte | |
177 | battery-backed SRAM. | |
178 | ||
179 | This driver supports reading and writing the RTC/calendar and the | |
180 | battery-baced SRAM section. | |
181 | ||
fb9a1ffe MW |
182 | config RTC_RV8803 |
183 | bool "Enable RV8803 driver" | |
184 | depends on DM_RTC | |
185 | help | |
186 | The Micro Crystal RV8803 is a high accuracy, ultra-low power I2C | |
187 | Real Time Clock (RTC) with temperature compensation. | |
188 | ||
189 | This driver supports reading and writing the RTC/calendar and | |
190 | detects total power failures. | |
191 | ||
958a2106 NH |
192 | config RTC_RX8010SJ |
193 | bool "Enable RX8010SJ driver" | |
194 | depends on DM_RTC | |
195 | help | |
196 | Support for Epson RX8010SJ Real Time Clock devices. | |
197 | ||
a7e6d0c4 HS |
198 | config RTC_RX8025 |
199 | bool "Enable RX8025 driver" | |
152ef916 | 200 | depends on DM_RTC |
a7e6d0c4 HS |
201 | help |
202 | Support for Epson RX8025 Real Time Clock devices. | |
203 | ||
b19886b9 HS |
204 | config RTC_PL031 |
205 | bool "Enable ARM AMBA PL031 RTC driver" | |
206 | help | |
207 | The ARM PrimeCell Real Time Clock (PL031) is an optional SoC | |
208 | peripheral based on the Advanced Microcontroller Bus Architecture | |
209 | (AMBA). It is emulated in QEMU virtual ARM machines. | |
210 | ||
d3671dfc CP |
211 | config RTC_MV |
212 | bool "Enable Marvell RTC driver" | |
213 | depends on DM_RTC | |
214 | help | |
215 | Enable Marvell RTC driver. This driver supports the rtc that is present | |
216 | on some Marvell SoCs. | |
217 | ||
da5337a6 NH |
218 | config RTC_S35392A |
219 | bool "Enable S35392A driver" | |
220 | select BITREVERSE | |
221 | help | |
222 | Enable s35392a driver which provides rtc get and set function. | |
223 | ||
ea467ea1 TR |
224 | config RTC_MC13XXX |
225 | bool "Enable MC13XXX RTC driver" | |
226 | depends on !DM_RTC | |
227 | ||
10761077 SG |
228 | config RTC_MC146818 |
229 | bool "Enable MC146818 driver" | |
230 | help | |
231 | This is a widely used real-time clock chip originally by Motorola | |
232 | and now available from NXP. It includes a battery-backed real-time | |
233 | clock with a wide array of features and 50 bytes of general-purpose, | |
234 | battery-backed RAM. The driver supports access to the clock and RAM. | |
235 | ||
3c205a6e TR |
236 | config MCFRTC |
237 | bool "Use common CF RTC driver" | |
238 | depends on M68K | |
239 | ||
240 | config SYS_MCFRTC_BASE | |
241 | hex "Base address for RTC in immap.h" | |
242 | depends on MCFRTC | |
243 | ||
ea467ea1 TR |
244 | config RTC_MXS |
245 | bool "Enable i.MXS RTC driver" | |
246 | depends on ARCH_MX23 || ARCH_MX28 | |
247 | ||
d27db67e LM |
248 | config RTC_M41T62 |
249 | bool "Enable M41T62 driver" | |
250 | help | |
251 | Enable driver for ST's M41T62 compatible RTC devices (like RV-4162). | |
252 | It is a serial (I2C) real-time clock (RTC) with alarm. | |
253 | ||
dd8a2904 SG |
254 | config RTC_SANDBOX |
255 | bool "Enable sandbox RTC driver" | |
256 | depends on SANDBOX && DM_RTC | |
257 | default y | |
258 | help | |
259 | Enable the sandbox RTC driver. This driver connects to the RTC | |
260 | emulator and is used to test the RTC uclasses and associated code, | |
261 | as well as the I2C subsystem. | |
262 | ||
263 | config SPL_RTC_SANDBOX | |
264 | bool "Enable sandbox RTC driver (SPL)" | |
265 | depends on SANDBOX && SPL_DM_RTC | |
266 | default y | |
267 | help | |
268 | Enable the sandbox RTC driver. This driver connects to the RTC | |
269 | emulator and is used to test the RTC uclasses and associated code, | |
270 | as well as the I2C subsystem. | |
271 | ||
1f99eaff PD |
272 | config RTC_STM32 |
273 | bool "Enable STM32 RTC driver" | |
274 | depends on DM_RTC | |
275 | help | |
276 | Enable STM32 RTC driver. This driver supports the rtc that is present | |
277 | on some STM32 SoCs. | |
8d612ccd YCLP |
278 | |
279 | config RTC_ABX80X | |
280 | bool "Enable Abracon ABx80x RTC driver" | |
281 | depends on DM_RTC | |
282 | help | |
283 | If you say yes here you get support for Abracon AB080X and AB180X | |
284 | families of ultra-low-power battery- and capacitor-backed real-time | |
285 | clock chips. | |
286 | ||
73c3d8eb DB |
287 | config RTC_DAVINCI |
288 | bool "Enable TI OMAP RTC driver" | |
289 | depends on ARCH_DAVINCI || ARCH_OMAP2PLUS | |
290 | help | |
291 | Say "yes" here to support the on chip real time clock | |
292 | present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx. | |
293 | ||
1f065e8f MS |
294 | config RTC_ZYNQMP |
295 | bool "Enable ZynqMP RTC driver" | |
296 | depends on ARCH_ZYNQMP | |
297 | help | |
298 | Say "yes" here to support the on chip real time clock | |
299 | present on Xilinx ZynqMP SoC. | |
300 | ||
fcb624be SA |
301 | config RTC_HT1380 |
302 | bool "Enable Holtek HT1380/HT1381 RTC driver" | |
303 | depends on DM_RTC && DM_GPIO | |
304 | help | |
305 | Say "yes" here to get support for Holtek HT1380/HT1381 | |
306 | Serial Timekeeper IC which provides seconds, minutes, hours, | |
307 | day of the week, date, month and year information. It is to be | |
308 | connected via 3 GPIO pins which work as reset, clock, and data. | |
309 | ||
0b11dbf7 | 310 | endmenu |