drivers/rtc/rtc-s3c: use of_match_ptr() macro
[linux-2.6-block.git] / drivers / rtc / Kconfig
CommitLineData
7be2c7c9 1#
c58411e9
AZ
2# RTC class/drivers configuration
3#
4
5config RTC_LIB
b4d246b1 6 bool
0c86edc0 7
bb35fb20 8menuconfig RTC_CLASS
b4d246b1 9 bool "Real Time Clock"
0c86edc0 10 default n
3369465e 11 depends on !S390 && !UML
0c86edc0
AZ
12 select RTC_LIB
13 help
14 Generic RTC class support. If you say yes here, you will
15 be allowed to plug one or more RTCs to your system. You will
27ae4104 16 probably want to enable one or more of the interfaces below.
0c86edc0 17
bb35fb20
JE
18if RTC_CLASS
19
0c86edc0 20config RTC_HCTOSYS
7ca1d488 21 bool "Set system time from RTC on startup and resume"
0c86edc0
AZ
22 default y
23 help
7ca1d488
DB
24 If you say yes here, the system time (wall clock) will be set using
25 the value read from a specified RTC device. This is useful to avoid
26 unnecessary fsck runs at boot time, and to network better.
0c86edc0
AZ
27
28config RTC_HCTOSYS_DEVICE
7ca1d488 29 string "RTC used to set the system time"
0c86edc0
AZ
30 depends on RTC_HCTOSYS = y
31 default "rtc0"
32 help
7ca1d488 33 The RTC device that will be used to (re)initialize the system
ae64d169
AZ
34 clock, usually rtc0. Initialization is done when the system
35 starts up, and when it resumes from a low power state. This
779d2089
DB
36 device should record time in UTC, since the kernel won't do
37 timezone correction.
7ca1d488 38
55ff1aba
DB
39 The driver for this RTC device must be loaded before late_initcall
40 functions run, so it must usually be statically linked.
41
7ca1d488 42 This clock should be battery-backed, so that it reads the correct
ae64d169 43 time when the system boots from a power-off state. Otherwise, your
7ca1d488
DB
44 system will need an external clock source (like an NTP server).
45
46 If the clock you specify here is not battery backed, it may still
47 be useful to reinitialize system time when resuming from system
09b6bdb3 48 sleep states. Do not specify an RTC here unless it stays powered
7ca1d488 49 during all this system's supported sleep states.
0c86edc0 50
9e86ecb6
DB
51config RTC_DEBUG
52 bool "RTC debug support"
9e86ecb6
DB
53 help
54 Say yes here to enable debugging support in the RTC framework
55 and individual RTC drivers.
56
0c86edc0 57comment "RTC interfaces"
0c86edc0 58
c5c3e192 59config RTC_INTF_SYSFS
e40659c5 60 boolean "/sys/class/rtc/rtcN (sysfs)"
bb35fb20 61 depends on SYSFS
8dc08395 62 default RTC_CLASS
c5c3e192 63 help
9e86ecb6
DB
64 Say yes here if you want to use your RTCs using sysfs interfaces,
65 /sys/class/rtc/rtc0 through /sys/.../rtcN.
c5c3e192 66
ae64d169 67 If unsure, say Y.
c5c3e192 68
728a2947 69config RTC_INTF_PROC
92589c98 70 boolean "/proc/driver/rtc (procfs for rtcN)"
bb35fb20 71 depends on PROC_FS
8dc08395 72 default RTC_CLASS
728a2947 73 help
92589c98
KM
74 Say yes here if you want to use your system clock RTC through
75 the proc interface, /proc/driver/rtc.
76 Other RTCs will not be available through that API.
77 If there is no RTC for the system clock, then the first RTC(rtc0)
78 is used by default.
728a2947 79
ae64d169 80 If unsure, say Y.
728a2947 81
e824290e 82config RTC_INTF_DEV
e40659c5 83 boolean "/dev/rtcN (character devices)"
8dc08395 84 default RTC_CLASS
e824290e 85 help
9e86ecb6
DB
86 Say yes here if you want to use your RTCs using the /dev
87 interfaces, which "udev" sets up as /dev/rtc0 through
ae64d169 88 /dev/rtcN.
e824290e 89
ae64d169
AZ
90 You may want to set up a symbolic link so one of these
91 can be accessed as /dev/rtc, which is a name
92 expected by "hwclock" and some other programs. Recent
93 versions of "udev" are known to set up the symlink for you.
94
95 If unsure, say Y.
e824290e 96
6e57b1d6
JS
97config RTC_INTF_DEV_UIE_EMUL
98 bool "RTC UIE emulation on dev interface"
99 depends on RTC_INTF_DEV
100 help
101 Provides an emulation for RTC_UIE if the underlying rtc chip
102 driver does not expose RTC_UIE ioctls. Those requests generate
103 once-per-second update interrupts, used for synchronization.
104
105 The emulation code will read the time from the hardware
106 clock several times per second, please enable this option
107 only if you know that you really need it.
108
09a21e56
AZ
109config RTC_DRV_TEST
110 tristate "Test driver/device"
1fec7c66
AZ
111 help
112 If you say yes here you get support for the
09a21e56
AZ
113 RTC test driver. It's a software RTC which can be
114 used to test the RTC subsystem APIs. It gets
115 the time from the system clock.
116 You want this driver only if you are doing development
117 on the RTC subsystem. Please read the source code
118 for further details.
1fec7c66
AZ
119
120 This driver can also be built as a module. If so, the module
09a21e56
AZ
121 will be called rtc-test.
122
123comment "I2C RTC drivers"
bb35fb20
JE
124 depends on I2C
125
126if I2C
1fec7c66 127
008b3040
HZ
128config RTC_DRV_88PM860X
129 tristate "Marvell 88PM860x"
6b8029fa 130 depends on I2C && MFD_88PM860X
008b3040
HZ
131 help
132 If you say yes here you get support for RTC function in Marvell
133 88PM860x chips.
134
135 This driver can also be built as a module. If so, the module
136 will be called rtc-88pm860x.
137
2985c29c
QZ
138config RTC_DRV_88PM80X
139 tristate "Marvell 88PM80x"
6b8029fa 140 depends on I2C && MFD_88PM800
2985c29c
QZ
141 help
142 If you say yes here you get support for RTC function in Marvell
143 88PM80x chips.
144
145 This driver can also be built as a module. If so, the module
146 will be called rtc-88pm80x.
147
1abb0dc9 148config RTC_DRV_DS1307
a2166858 149 tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00, EPSON RX-8025"
1abb0dc9
DB
150 help
151 If you say yes here you get support for various compatible RTC
ae64d169 152 chips (often with battery backup) connected with I2C. This driver
1abb0dc9 153 should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
a2166858
MF
154 EPSON RX-8025 and probably other chips. In some cases the RTC
155 must already have been initialized (by manufacturing or a
156 bootloader).
1abb0dc9
DB
157
158 The first seven registers on these chips hold an RTC, and other
159 registers may add features such as NVRAM, a trickle charger for
ae64d169 160 the RTC/NVRAM backup power, and alarms. NVRAM is visible in
682d73f6 161 sysfs, but other chip features may not be available.
1abb0dc9
DB
162
163 This driver can also be built as a module. If so, the module
164 will be called rtc-ds1307.
165
bf4994d7 166config RTC_DRV_DS1374
09b6bdb3 167 tristate "Dallas/Maxim DS1374"
6b8029fa 168 depends on I2C
bf4994d7
SW
169 help
170 If you say yes here you get support for Dallas Semiconductor
ae64d169 171 DS1374 real-time clock chips. If an interrupt is associated
bf4994d7
SW
172 with the device, the alarm functionality is supported.
173
ae64d169 174 This driver can also be built as a module. If so, the module
bf4994d7
SW
175 will be called rtc-ds1374.
176
09a21e56
AZ
177config RTC_DRV_DS1672
178 tristate "Dallas/Maxim DS1672"
9bf5b4f5
AN
179 help
180 If you say yes here you get support for the
09a21e56 181 Dallas/Maxim DS1672 timekeeping chip.
9bf5b4f5
AN
182
183 This driver can also be built as a module. If so, the module
09a21e56 184 will be called rtc-ds1672.
9bf5b4f5 185
c03675f0
RZ
186config RTC_DRV_DS3232
187 tristate "Dallas/Maxim DS3232"
6b8029fa 188 depends on I2C
c03675f0
RZ
189 help
190 If you say yes here you get support for Dallas Semiconductor
f46418c5
LCB
191 DS3232 real-time clock chips. If an interrupt is associated
192 with the device, the alarm functionality is supported.
c03675f0
RZ
193
194 This driver can also be built as a module. If so, the module
195 will be called rtc-ds3232.
196
09a21e56 197config RTC_DRV_MAX6900
09b6bdb3 198 tristate "Maxim MAX6900"
7e56a7dc 199 help
09a21e56
AZ
200 If you say yes here you will get support for the
201 Maxim MAX6900 I2C RTC chip.
7e56a7dc
HVR
202
203 This driver can also be built as a module. If so, the module
09a21e56 204 will be called rtc-max6900.
7e56a7dc 205
94c01ab6
SW
206config RTC_DRV_MAX8907
207 tristate "Maxim MAX8907"
208 depends on MFD_MAX8907
209 help
210 If you say yes here you will get support for the
211 RTC of Maxim MAX8907 PMIC.
212
213 This driver can also be built as a module. If so, the module
214 will be called rtc-max8907.
215
a39069f6
HZ
216config RTC_DRV_MAX8925
217 tristate "Maxim MAX8925"
218 depends on MFD_MAX8925
219 help
220 If you say yes here you will get support for the
221 RTC of Maxim MAX8925 PMIC.
222
223 This driver can also be built as a module. If so, the module
224 will be called rtc-max8925.
225
9b16c0a4
JS
226config RTC_DRV_MAX8998
227 tristate "Maxim MAX8998"
228 depends on MFD_MAX8998
229 help
230 If you say yes here you will get support for the
231 RTC of Maxim MAX8998 PMIC.
232
233 This driver can also be built as a module. If so, the module
234 will be called rtc-max8998.
235
09a21e56 236config RTC_DRV_RS5C372
5d4529be 237 tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
edf1aaa3
AZ
238 help
239 If you say yes here you get support for the
5d4529be 240 Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
edf1aaa3
AZ
241
242 This driver can also be built as a module. If so, the module
09a21e56 243 will be called rtc-rs5c372.
edf1aaa3 244
09a21e56 245config RTC_DRV_ISL1208
09b6bdb3 246 tristate "Intersil ISL1208"
5ec3e4b7
AN
247 help
248 If you say yes here you get support for the
09b6bdb3 249 Intersil ISL1208 RTC chip.
5ec3e4b7
AN
250
251 This driver can also be built as a module. If so, the module
09a21e56 252 will be called rtc-isl1208.
5ec3e4b7 253
d6c7428f
RF
254config RTC_DRV_ISL12022
255 tristate "Intersil ISL12022"
256 help
257 If you say yes here you get support for the
258 Intersil ISL12022 RTC chip.
259
260 This driver can also be built as a module. If so, the module
261 will be called rtc-isl12022.
262
09a21e56
AZ
263config RTC_DRV_X1205
264 tristate "Xicor/Intersil X1205"
db68b189 265 help
09a21e56
AZ
266 If you say yes here you get support for the
267 Xicor/Intersil X1205 RTC chip.
268
269 This driver can also be built as a module. If so, the module
270 will be called rtc-x1205.
db68b189 271
f803f0d0
TR
272config RTC_DRV_PCF8523
273 tristate "NXP PCF8523"
274 help
275 If you say yes here you get support for the NXP PCF8523 RTC
276 chips.
277
278 This driver can also be built as a module. If so, the module
279 will be called rtc-pcf8523.
280
b5a82d62
AZ
281config RTC_DRV_PCF8563
282 tristate "Philips PCF8563/Epson RTC8564"
b5a82d62
AZ
283 help
284 If you say yes here you get support for the
285 Philips PCF8563 RTC chip. The Epson RTC8564
286 should work as well.
287
288 This driver can also be built as a module. If so, the module
289 will be called rtc-pcf8563.
290
9c0c5705
L
291config RTC_DRV_PCF8583
292 tristate "Philips PCF8583"
9c0c5705 293 help
bb71f99f 294 If you say yes here you get support for the Philips PCF8583
09a21e56 295 RTC chip found on Acorn RiscPCs. This driver supports the
bb71f99f 296 platform specific method of retrieving the current year from
09a21e56
AZ
297 the RTC's SRAM. It will work on other platforms with the same
298 chip, but the year will probably have to be tweaked.
9c0c5705
L
299
300 This driver can also be built as a module. If so, the module
301 will be called rtc-pcf8583.
302
caaff562 303config RTC_DRV_M41T80
f30281f4 304 tristate "ST M41T62/65/M41T80/81/82/83/84/85/87"
caaff562 305 help
d3a126fc
SF
306 If you say Y here you will get support for the ST M41T60
307 and M41T80 RTC chips series. Currently, the following chips are
f30281f4 308 supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
d3a126fc 309 M41ST85, and M41ST87.
caaff562
AN
310
311 This driver can also be built as a module. If so, the module
312 will be called rtc-m41t80.
313
617780d2 314config RTC_DRV_M41T80_WDT
d3a126fc 315 bool "ST M41T65/M41T80 series RTC watchdog timer"
617780d2
AN
316 depends on RTC_DRV_M41T80
317 help
318 If you say Y here you will get support for the
d3a126fc 319 watchdog timer in the ST M41T60 and M41T80 RTC chips series.
617780d2 320
1ce7c83f
PZ
321config RTC_DRV_BQ32K
322 tristate "TI BQ32000"
323 help
324 If you say Y here you will get support for the TI
325 BQ32000 I2C RTC chip.
326
327 This driver can also be built as a module. If so, the module
328 will be called rtc-bq32k.
329
afd8d0f9
DB
330config RTC_DRV_DM355EVM
331 tristate "TI DaVinci DM355 EVM RTC"
332 depends on MFD_DM355EVM_MSP
333 help
334 Supports the RTC firmware in the MSP430 on the DM355 EVM.
335
0c4a59fe
TL
336config RTC_DRV_TWL92330
337 boolean "TI TWL92330/Menelaus"
bb35fb20 338 depends on MENELAUS
0c4a59fe
TL
339 help
340 If you say yes here you get support for the RTC on the
01dd2fbf 341 TWL92330 "Menelaus" power management chip, used with OMAP2
ae64d169 342 platforms. The support is integrated with the rest of
0c4a59fe
TL
343 the Menelaus driver; it's not separate module.
344
f96411ab 345config RTC_DRV_TWL4030
a6b49ffd 346 tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
6b8029fa 347 depends on TWL4030_CORE
f96411ab
DB
348 help
349 If you say yes here you get support for the RTC on the
a6b49ffd 350 TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
f96411ab
DB
351
352 This driver can also be built as a module. If so, the module
a6b49ffd 353 will be called rtc-twl.
f96411ab 354
0e783980
VB
355config RTC_DRV_TPS65910
356 tristate "TI TPS65910 RTC driver"
357 depends on RTC_CLASS && MFD_TPS65910
358 help
359 If you say yes here you get support for the RTC on the
360 TPS65910 chips.
361
362 This driver can also be built as a module. If so, the module
363 will be called rtc-tps65910.
364
90829c08
VB
365config RTC_DRV_RC5T583
366 tristate "RICOH 5T583 RTC driver"
367 depends on MFD_RC5T583
368 help
369 If you say yes here you get support for the RTC on the
370 RICOH 5T583 chips.
371
372 This driver can also be built as a module. If so, the module
373 will be called rtc-rc5t583.
374
c46288b0
BB
375config RTC_DRV_S35390A
376 tristate "Seiko Instruments S-35390A"
d479540d 377 select BITREVERSE
c46288b0
BB
378 help
379 If you say yes here you will get support for the Seiko
380 Instruments S-35390A.
381
382 This driver can also be built as a module. If so the module
383 will be called rtc-s35390a.
384
c6d8f400
SL
385config RTC_DRV_FM3130
386 tristate "Ramtron FM3130"
387 help
388 If you say Y here you will get support for the
389 Ramtron FM3130 RTC chips.
390 Ramtron FM3130 is a chip with two separate devices inside,
391 RTC clock and FRAM. This driver provides only RTC functionality.
392
393 This driver can also be built as a module. If so the module
394 will be called rtc-fm3130.
395
a7fa9851
MW
396config RTC_DRV_RX8581
397 tristate "Epson RX-8581"
398 help
399 If you say yes here you will get support for the Epson RX-8581.
400
401 This driver can also be built as a module. If so the module
402 will be called rtc-rx8581.
403
3c2b9075
WG
404config RTC_DRV_RX8025
405 tristate "Epson RX-8025SA/NB"
406 help
407 If you say yes here you get support for the Epson
408 RX-8025SA/NB RTC chips.
409
410 This driver can also be built as a module. If so, the module
411 will be called rtc-rx8025.
412
ae3551f9
MR
413config RTC_DRV_EM3027
414 tristate "EM Microelectronic EM3027"
415 help
416 If you say yes here you get support for the EM
417 Microelectronic EM3027 RTC chips.
418
419 This driver can also be built as a module. If so, the module
420 will be called rtc-em3027.
421
52365230
HS
422config RTC_DRV_RV3029C2
423 tristate "Micro Crystal RTC"
424 help
425 If you say yes here you get support for the Micro Crystal
426 RV3029-C2 RTC chips.
427
428 This driver can also be built as a module. If so, the module
429 will be called rtc-rv3029c2.
430
bb35fb20
JE
431endif # I2C
432
09a21e56 433comment "SPI RTC drivers"
bb35fb20
JE
434
435if SPI_MASTER
09a21e56 436
74d34d4b
VN
437config RTC_DRV_M41T93
438 tristate "ST M41T93"
439 help
440 If you say yes here you will get support for the
441 ST M41T93 SPI RTC chip.
442
443 This driver can also be built as a module. If so, the module
444 will be called rtc-m41t93.
445
8fc2c767
KH
446config RTC_DRV_M41T94
447 tristate "ST M41T94"
448 help
449 If you say yes here you will get support for the
450 ST M41T94 SPI RTC chip.
451
452 This driver can also be built as a module. If so, the module
453 will be called rtc-m41t94.
454
53e84b67
DB
455config RTC_DRV_DS1305
456 tristate "Dallas/Maxim DS1305/DS1306"
457 help
458 Select this driver to get support for the Dallas/Maxim DS1305
ae64d169 459 and DS1306 real time clock chips. These support a trickle
53e84b67
DB
460 charger, alarms, and NVRAM in addition to the clock.
461
462 This driver can also be built as a module. If so, the module
463 will be called rtc-ds1305.
464
06de1808
MJ
465config RTC_DRV_DS1390
466 tristate "Dallas/Maxim DS1390/93/94"
467 help
7b9b2ef1
AZ
468 If you say yes here you get support for the
469 Dallas/Maxim DS1390/93/94 chips.
06de1808
MJ
470
471 This driver only supports the RTC feature, and not other chip
472 features such as alarms and trickle charging.
473
474 This driver can also be built as a module. If so, the module
475 will be called rtc-ds1390.
476
09b6bdb3
AZ
477config RTC_DRV_MAX6902
478 tristate "Maxim MAX6902"
479 help
480 If you say yes here you will get support for the
481 Maxim MAX6902 SPI RTC chip.
482
483 This driver can also be built as a module. If so, the module
484 will be called rtc-max6902.
485
2805b969
MD
486config RTC_DRV_R9701
487 tristate "Epson RTC-9701JE"
488 help
489 If you say yes here you will get support for the
490 Epson RTC-9701JE SPI RTC chip.
491
492 This driver can also be built as a module. If so, the module
493 will be called rtc-r9701.
494
e0ac4761
AN
495config RTC_DRV_RS5C348
496 tristate "Ricoh RS5C348A/B"
e0ac4761
AN
497 help
498 If you say yes here you get support for the
499 Ricoh RS5C348A and RS5C348B RTC chips.
500
501 This driver can also be built as a module. If so, the module
502 will be called rtc-rs5c348.
503
2f9b75e0
DA
504config RTC_DRV_DS3234
505 tristate "Maxim/Dallas DS3234"
506 help
507 If you say yes here you get support for the
508 Maxim/Dallas DS3234 SPI RTC chip.
509
510 This driver can also be built as a module. If so, the module
511 will be called rtc-ds3234.
512
7f3923a1
CV
513config RTC_DRV_PCF2123
514 tristate "NXP PCF2123"
515 help
516 If you say yes here you get support for the NXP PCF2123
517 RTC chip.
518
519 This driver can also be built as a module. If so, the module
520 will be called rtc-pcf2123.
521
bb35fb20
JE
522endif # SPI_MASTER
523
09a21e56 524comment "Platform RTC drivers"
09a21e56
AZ
525
526# this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h>
527# requires <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
528# global rtc_lock ... it's not yet just another platform_device.
529
530config RTC_DRV_CMOS
531 tristate "PC-style 'CMOS'"
5ec87708 532 depends on X86 || ALPHA || ARM || M32R || ATARI || PPC || MIPS || SPARC64
c7500900 533 default y if X86
09a21e56
AZ
534 help
535 Say "yes" here to get direct support for the real time clock
536 found in every PC or ACPI-based system, and some other boards.
537 Specifically the original MC146818, compatibles like those in
538 PC south bridges, the DS12887 or M48T86, some multifunction
539 or LPC bus chips, and so on.
540
541 Your system will need to define the platform device used by
ae64d169 542 this driver, otherwise it won't be accessible. This means
09a21e56
AZ
543 you can safely enable this driver if you don't know whether
544 or not your board has this kind of hardware.
545
546 This driver can also be built as a module. If so, the module
547 will be called rtc-cmos.
548
0146f261 549config RTC_DRV_VRTC
933b9463
AC
550 tristate "Virtual RTC for Intel MID platforms"
551 depends on X86_INTEL_MID
552 default y if X86_INTEL_MID
0146f261
FT
553
554 help
555 Say "yes" here to get direct support for the real time clock
556 found on Moorestown platforms. The VRTC is a emulated RTC that
557 derives its clock source from a real RTC in the PMIC. The MC146818
558 style programming interface is mostly conserved, but any
559 updates are done via IPC calls to the system controller FW.
560
537739de
TB
561config RTC_DRV_DS1216
562 tristate "Dallas DS1216"
bb35fb20 563 depends on SNI_RM
537739de
TB
564 help
565 If you say yes here you get support for the Dallas DS1216 RTC chips.
566
5f119f29
TB
567config RTC_DRV_DS1286
568 tristate "Dallas DS1286"
569 help
570 If you say yes here you get support for the Dallas DS1286 RTC chips.
571
739d340d
PM
572config RTC_DRV_DS1302
573 tristate "Dallas DS1302"
574 depends on SH_SECUREEDGE5410
575 help
576 If you say yes here you get support for the Dallas DS1302 RTC chips.
577
8f26795a
AS
578config RTC_DRV_DS1511
579 tristate "Dallas DS1511"
8f26795a
AS
580 help
581 If you say yes here you get support for the
582 Dallas DS1511 timekeeping/watchdog chip.
583
584 This driver can also be built as a module. If so, the module
585 will be called rtc-ds1511.
586
09a21e56 587config RTC_DRV_DS1553
09b6bdb3 588 tristate "Maxim/Dallas DS1553"
7520b94d
AZ
589 help
590 If you say yes here you get support for the
09b6bdb3 591 Maxim/Dallas DS1553 timekeeping chip.
7520b94d
AZ
592
593 This driver can also be built as a module. If so, the module
09a21e56
AZ
594 will be called rtc-ds1553.
595
09b6bdb3
AZ
596config RTC_DRV_DS1742
597 tristate "Maxim/Dallas DS1742/1743"
02964115
TH
598 help
599 If you say yes here you get support for the
09b6bdb3 600 Maxim/Dallas DS1742/1743 timekeeping chip.
02964115
TH
601
602 This driver can also be built as a module. If so, the module
09b6bdb3 603 will be called rtc-ds1742.
02964115 604
fef931ff
AJ
605config RTC_DRV_DA9052
606 tristate "Dialog DA9052/DA9053 RTC"
607 depends on PMIC_DA9052
608 help
609 Say y here to support the RTC driver for Dialog Semiconductor
610 DA9052-BC and DA9053-AA/Bx PMICs.
611
5e3fd9e5 612config RTC_DRV_EFI
613 tristate "EFI RTC"
614 depends on IA64
615 help
616 If you say yes here you will get support for the EFI
617 Real Time Clock.
618
619 This driver can also be built as a module. If so, the module
620 will be called rtc-efi.
621
09b6bdb3
AZ
622config RTC_DRV_STK17TA8
623 tristate "Simtek STK17TA8"
09a21e56
AZ
624 help
625 If you say yes here you get support for the
09b6bdb3 626 Simtek STK17TA8 timekeeping chip.
09a21e56
AZ
627
628 This driver can also be built as a module. If so, the module
09b6bdb3 629 will be called rtc-stk17ta8.
09a21e56
AZ
630
631config RTC_DRV_M48T86
632 tristate "ST M48T86/Dallas DS12887"
09a21e56
AZ
633 help
634 If you say Y here you will get support for the
635 ST M48T86 and Dallas DS12887 RTC chips.
636
637 This driver can also be built as a module. If so, the module
638 will be called rtc-m48t86.
639
d1dbd82e
TB
640config RTC_DRV_M48T35
641 tristate "ST M48T35"
642 help
643 If you say Y here you will get support for the
644 ST M48T35 RTC chip.
645
646 This driver can also be built as a module, if so, the module
647 will be called "rtc-m48t35".
648
2e774c7c 649config RTC_DRV_M48T59
94fe7424 650 tristate "ST M48T59/M48T08/M48T02"
2e774c7c
MZ
651 help
652 If you say Y here you will get support for the
94fe7424
KH
653 ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
654
655 These chips are usually found in Sun SPARC and UltraSPARC
656 workstations.
2e774c7c
MZ
657
658 This driver can also be built as a module, if so, the module
659 will be called "rtc-m48t59".
660
4f9b9bba
GU
661config RTC_DRV_MSM6242
662 tristate "Oki MSM6242"
663 help
664 If you say yes here you get support for the Oki MSM6242
665 timekeeping chip. It is used in some Amiga models (e.g. A2000).
666
667 This driver can also be built as a module. If so, the module
668 will be called rtc-msm6242.
669
cca4c231
DM
670config RTC_DRV_BQ4802
671 tristate "TI BQ4802"
672 help
673 If you say Y here you will get support for the TI
674 BQ4802 RTC chip.
675
676 This driver can also be built as a module. If so, the module
677 will be called rtc-bq4802.
678
4f672ce2
GU
679config RTC_DRV_RP5C01
680 tristate "Ricoh RP5C01"
681 help
682 If you say yes here you get support for the Ricoh RP5C01
683 timekeeping chip. It is used in some Amiga models (e.g. A3000
684 and A4000).
685
686 This driver can also be built as a module. If so, the module
687 will be called rtc-rp5c01.
688
09a21e56
AZ
689config RTC_DRV_V3020
690 tristate "EM Microelectronic V3020"
09a21e56
AZ
691 help
692 If you say yes here you will get support for the
693 EM Microelectronic v3020 RTC chip.
694
695 This driver can also be built as a module. If so, the module
696 will be called rtc-v3020.
697
7418a119
SS
698config RTC_DRV_DS2404
699 tristate "Dallas DS2404"
700 help
701 If you say yes here you get support for the
702 Dallas DS2404 RTC chip.
703
704 This driver can also be built as a module. If so, the module
705 will be called rtc-ds2404.
706
35c86bf6
MB
707config RTC_DRV_WM831X
708 tristate "Wolfson Microelectronics WM831x RTC"
709 depends on MFD_WM831X
710 help
711 If you say yes here you will get support for the RTC subsystem
712 of the Wolfson Microelectronics WM831X series PMICs.
713
714 This driver can also be built as a module. If so, the module
715 will be called "rtc-wm831x".
716
077eaf5b
MB
717config RTC_DRV_WM8350
718 tristate "Wolfson Microelectronics WM8350 RTC"
719 depends on MFD_WM8350
720 help
721 If you say yes here you will get support for the RTC subsystem
722 of the Wolfson Microelectronics WM8350.
723
724 This driver can also be built as a module. If so, the module
725 will be called "rtc-wm8350".
726
0942a71e
RK
727config RTC_DRV_SPEAR
728 tristate "SPEAR ST RTC"
729 depends on PLAT_SPEAR
730 default y
731 help
732 If you say Y here you will get support for the RTC found on
733 spear
734
eae854b2
BR
735config RTC_DRV_PCF50633
736 depends on MFD_PCF50633
737 tristate "NXP PCF50633 RTC"
738 help
739 If you say yes here you get support for the RTC subsystem of the
740 NXP PCF50633 used in embedded systems.
741
bd207cfb
LW
742config RTC_DRV_AB3100
743 tristate "ST-Ericsson AB3100 RTC"
744 depends on AB3100_CORE
745 default y if AB3100_CORE
746 help
747 Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
748 support. This chip contains a battery- and capacitor-backed RTC.
749
0af62f4d
VS
750config RTC_DRV_AB8500
751 tristate "ST-Ericsson AB8500 RTC"
752 depends on AB8500_CORE
651fb480 753 select RTC_INTF_DEV
dc43d4a2 754 select RTC_INTF_DEV_UIE_EMUL
0af62f4d
VS
755 help
756 Select this to enable the ST-Ericsson AB8500 power management IC RTC
757 support. This chip contains a battery- and capacitor-backed RTC.
758
afd49a7e
WZ
759config RTC_DRV_NUC900
760 tristate "NUC910/NUC920 RTC driver"
6b8029fa 761 depends on ARCH_W90X900
afd49a7e
WZ
762 help
763 If you say yes here you get support for the RTC subsystem of the
764 NUC910/NUC920 used in embedded systems.
bd207cfb 765
09a21e56 766comment "on-CPU RTC drivers"
09a21e56 767
8ecf6c54
MA
768config RTC_DRV_DAVINCI
769 tristate "TI DaVinci RTC"
770 depends on ARCH_DAVINCI_DM365
771 help
772 If you say yes here you get support for the RTC on the
773 DaVinci platforms (DM365).
774
775 This driver can also be built as a module. If so, the module
776 will be called rtc-davinci.
777
b224b9ac
FE
778config RTC_DRV_IMXDI
779 tristate "Freescale IMX DryIce Real Time Clock"
ef216ad0 780 depends on ARCH_MXC
b224b9ac
FE
781 help
782 Support for Freescale IMX DryIce RTC
783
784 This driver can also be built as a module, if so, the module
785 will be called "rtc-imxdi".
786
09a21e56
AZ
787config RTC_DRV_OMAP
788 tristate "TI OMAP1"
427af9a6 789 depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730 || ARCH_DAVINCI_DA8XX || SOC_AM33XX
09a21e56 790 help
427af9a6
AM
791 Say "yes" here to support the on chip real time clock
792 present on TI OMAP1, AM33xx and DA8xx/OMAP-L13x.
793
794 This driver can also be built as a module, if so, module
795 will be called rtc-omap.
7520b94d 796
16f4efe7
AD
797config HAVE_S3C_RTC
798 bool
799 help
800 This will include RTC support for Samsung SoCs. If
801 you want to include RTC support for any machine, kindly
802 select this in the respective mach-XXXX/Kconfig file.
803
1add6781
BD
804config RTC_DRV_S3C
805 tristate "Samsung S3C series SoC RTC"
b130d5c2 806 depends on ARCH_S3C64XX || HAVE_S3C_RTC
1add6781
BD
807 help
808 RTC (Realtime Clock) driver for the clock inbuilt into the
809 Samsung S3C24XX series of SoCs. This can provide periodic
810 interrupt rates from 1Hz to 64Hz for user programs, and
811 wakeup from Alarm.
812
813 The driver currently supports the common features on all the
814 S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
815 and S3C2442.
816
817 This driver can also be build as a module. If so, the module
818 will be called rtc-s3c.
819
fd507e2f
AZ
820config RTC_DRV_EP93XX
821 tristate "Cirrus Logic EP93XX"
bb35fb20 822 depends on ARCH_EP93XX
fd507e2f
AZ
823 help
824 If you say yes here you get support for the
825 RTC embedded in the Cirrus Logic EP93XX processors.
826
827 This driver can also be built as a module. If so, the module
828 will be called rtc-ep93xx.
829
e842f1c8 830config RTC_DRV_SA1100
3888c090
HZ
831 tristate "SA11x0/PXA2xx/PXA910"
832 depends on ARCH_SA1100 || ARCH_PXA || ARCH_MMP
e842f1c8
RP
833 help
834 If you say Y here you will get access to the real time clock
835 built into your SA11x0 or PXA2xx CPU.
836
837 To compile this driver as a module, choose M here: the
838 module will be called rtc-sa1100.
fd507e2f 839
317a6104
PM
840config RTC_DRV_SH
841 tristate "SuperH On-Chip RTC"
6b8029fa 842 depends on SUPERH && HAVE_CLK
317a6104
PM
843 help
844 Say Y here to enable support for the on-chip RTC found in
845 most SuperH processors.
846
847 To compile this driver as a module, choose M here: the
848 module will be called rtc-sh.
849
8417eb7a 850config RTC_DRV_VR41XX
3e16f6af 851 tristate "NEC VR41XX"
bb35fb20 852 depends on CPU_VR41XX
3e16f6af
AZ
853 help
854 If you say Y here you will get access to the real time clock
855 built into your NEC VR41XX CPU.
856
857 To compile this driver as a module, choose M here: the
858 module will be called rtc-vr41xx.
8417eb7a 859
a190901c
RK
860config RTC_DRV_PL030
861 tristate "ARM AMBA PL030 RTC"
862 depends on ARM_AMBA
863 help
864 If you say Y here you will get access to ARM AMBA
865 PrimeCell PL030 RTC found on certain ARM SOCs.
866
867 To compile this driver as a module, choose M here: the
868 module will be called rtc-pl030.
869
8ae6e163
DS
870config RTC_DRV_PL031
871 tristate "ARM AMBA PL031 RTC"
bb35fb20 872 depends on ARM_AMBA
8ae6e163
DS
873 help
874 If you say Y here you will get access to ARM AMBA
09a21e56 875 PrimeCell PL031 RTC found on certain ARM SOCs.
8ae6e163
DS
876
877 To compile this driver as a module, choose M here: the
878 module will be called rtc-pl031.
879
fa04e78b
HCE
880config RTC_DRV_AT32AP700X
881 tristate "AT32AP700X series RTC"
bb35fb20 882 depends on PLATFORM_AT32AP
fa04e78b
HCE
883 help
884 Driver for the internal RTC (Realtime Clock) on Atmel AVR32
885 AT32AP700x family processors.
886
7fc39f6d 887config RTC_DRV_AT91RM9200
24cecc1b 888 tristate "AT91RM9200 or some AT91SAM9 RTC"
938f970e 889 depends on ARCH_AT91
4cdf854f
DB
890 help
891 Driver for the internal RTC (Realtime Clock) module found on
24cecc1b 892 Atmel AT91RM9200's and some AT91SAM9 chips. On AT91SAM9 chips
4cdf854f
DB
893 this is powered by the backup power supply.
894
895config RTC_DRV_AT91SAM9
24cecc1b 896 tristate "AT91SAM9x/AT91CAP9 RTT as RTC"
4cdf854f
DB
897 depends on ARCH_AT91 && !(ARCH_AT91RM9200 || ARCH_AT91X40)
898 help
6b71dbf6
SP
899 RTC driver for the Atmel AT91SAM9x and AT91CAP9 internal RTT
900 (Real Time Timer). These timers are powered by the backup power
901 supply (such as a small coin cell battery), but do not need to
902 be used as RTCs.
4cdf854f 903
24cecc1b
NF
904 (On AT91SAM9rl and AT91SAM9G45 chips you probably want to use the
905 dedicated RTC module and leave the RTT available for other uses.)
4cdf854f
DB
906
907config RTC_DRV_AT91SAM9_RTT
908 int
909 range 0 1
910 default 0
911 prompt "RTT module Number" if ARCH_AT91SAM9263
912 depends on RTC_DRV_AT91SAM9
913 help
ae64d169
AZ
914 More than one RTT module is available. You can choose which
915 one will be used as an RTC. The default of zero is normally
4cdf854f
DB
916 OK to use, though some systems use that for non-RTC purposes.
917
918config RTC_DRV_AT91SAM9_GPBR
919 int
920 range 0 3 if !ARCH_AT91SAM9263
921 range 0 15 if ARCH_AT91SAM9263
922 default 0
923 prompt "Backup Register Number"
924 depends on RTC_DRV_AT91SAM9
925 help
926 The RTC driver needs to use one of the General Purpose Backup
ae64d169
AZ
927 Registers (GPBRs) as well as the RTT. You can choose which one
928 will be used. The default of zero is normally OK to use, but
4cdf854f 929 on some systems other software needs to use that register.
788b1fc6 930
45fd8a0c
ML
931config RTC_DRV_AU1XXX
932 tristate "Au1xxx Counter0 RTC support"
42a4f17d 933 depends on MIPS_ALCHEMY
45fd8a0c
ML
934 help
935 This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
936 counter) to be used as a RTC.
937
938 This driver can also be built as a module. If so, the module
939 will be called rtc-au1xxx.
940
8cc75c9a
WB
941config RTC_DRV_BFIN
942 tristate "Blackfin On-Chip RTC"
7f604599 943 depends on BLACKFIN && !BF561
8cc75c9a
WB
944 help
945 If you say yes here you will get support for the
946 Blackfin On-Chip Real Time Clock.
947
948 This driver can also be built as a module. If so, the module
949 will be called rtc-bfin.
950
e9f2bd81
NI
951config RTC_DRV_RS5C313
952 tristate "Ricoh RS5C313"
bb35fb20 953 depends on SH_LANDISK
e9f2bd81
NI
954 help
955 If you say yes here you get support for the Ricoh RS5C313 RTC chips.
956
3afe6d04
GU
957config RTC_DRV_GENERIC
958 tristate "Generic RTC support"
959 # Please consider writing a new RTC driver instead of using the generic
960 # RTC abstraction
47c8a08b 961 depends on PARISC || M68K || PPC || SUPERH32
9eb16864 962 help
3afe6d04
GU
963 Say Y or M here to enable RTC support on systems using the generic
964 RTC abstraction. If you do not know what you are doing, you should
9eb16864
KM
965 just say Y.
966
dc944368
RJ
967config RTC_DRV_PXA
968 tristate "PXA27x/PXA3xx"
969 depends on ARCH_PXA
970 help
971 If you say Y here you will get access to the real time clock
972 built into your PXA27x or PXA3xx CPU.
973
974 This RTC driver uses PXA RTC registers available since pxa27x
975 series (RDxR, RYxR) instead of legacy RCNR, RTAR.
976
f77fbdf9
AC
977config RTC_DRV_VT8500
978 tristate "VIA/WonderMedia 85xx SoC RTC"
979 depends on ARCH_VT8500
980 help
981 If you say Y here you will get access to the real time clock
982 built into your VIA VT8500 SoC or its relatives.
983
dc944368 984
7a138ede
DM
985config RTC_DRV_SUN4V
986 bool "SUN4V Hypervisor RTC"
987 depends on SPARC64
988 help
989 If you say Y here you will get support for the Hypervisor
990 based RTC on SUN4V systems.
991
de2cf332
DM
992config RTC_DRV_STARFIRE
993 bool "Starfire RTC"
994 depends on SPARC64
995 help
996 If you say Y here you will get support for the RTC found on
997 Starfire systems.
998
0e149233
AN
999config RTC_DRV_TX4939
1000 tristate "TX4939 SoC"
1001 depends on SOC_TX4939
1002 help
1003 Driver for the internal RTC (Realtime Clock) module found on
1004 Toshiba TX4939 SoC.
1005
defb4514
SB
1006config RTC_DRV_MV
1007 tristate "Marvell SoC RTC"
da43243e 1008 depends on ARCH_KIRKWOOD || ARCH_DOVE
defb4514
SB
1009 help
1010 If you say yes here you will get support for the in-chip RTC
1011 that can be found in some of Marvell's SoC devices, such as
1012 the Kirkwood 88F6281 and 88F6192.
1013
1014 This driver can also be built as a module. If so, the module
1015 will be called rtc-mv.
1016
0b5f037a
GU
1017config RTC_DRV_PS3
1018 tristate "PS3 RTC"
1019 depends on PPC_PS3
1020 help
1021 If you say yes here you will get support for the RTC on PS3.
1022
1023 This driver can also be built as a module. If so, the module
1024 will be called rtc-ps3.
1025
aa958f57
LW
1026config RTC_DRV_COH901331
1027 tristate "ST-Ericsson COH 901 331 RTC"
1028 depends on ARCH_U300
1029 help
1030 If you say Y here you will get access to ST-Ericsson
1031 COH 901 331 RTC clock found in some ST-Ericsson Mobile
1032 Platforms.
1033
1034 This driver can also be built as a module. If so, the module
1035 will be called "rtc-coh901331".
1036
1037
df17f631 1038config RTC_DRV_STMP
46b21218
WS
1039 tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
1040 depends on ARCH_MXS
df17f631 1041 help
1042 If you say yes here you will get support for the onboard
46b21218 1043 STMP3xxx/i.MX23/i.MX28 RTC.
df17f631 1044
1045 This driver can also be built as a module. If so, the module
1046 will be called rtc-stmp3xxx.
1047
d3c7a3f7
DR
1048config RTC_DRV_PCAP
1049 tristate "PCAP RTC"
1050 depends on EZX_PCAP
1051 help
1052 If you say Y here you will get support for the RTC found on
1053 the PCAP2 ASIC used on some Motorola phones.
1054
1c97872b
UKK
1055config RTC_DRV_MC13XXX
1056 depends on MFD_MC13XXX
1057 tristate "Freescale MC13xxx RTC"
43299f28 1058 help
1c97872b
UKK
1059 This enables support for the RTCs found on Freescale's PMICs
1060 MC13783 and MC13892.
43299f28 1061
50aae724
AG
1062config RTC_DRV_MPC5121
1063 tristate "Freescale MPC5121 built-in RTC"
955dbea3 1064 depends on PPC_MPC512x || PPC_MPC52xx
50aae724
AG
1065 help
1066 If you say yes here you will get support for the
955dbea3 1067 built-in RTC on MPC5121 or on MPC5200.
50aae724
AG
1068
1069 This driver can also be built as a module. If so, the module
1070 will be called rtc-mpc5121.
1071
3bf0eea8
LPC
1072config RTC_DRV_JZ4740
1073 tristate "Ingenic JZ4740 SoC"
3bf0eea8
LPC
1074 depends on MACH_JZ4740
1075 help
1076 If you say yes here you get support for the Ingenic JZ4740 SoC RTC
1077 controller.
1078
1079 This driver can also be buillt as a module. If so, the module
1080 will be called rtc-jz4740.
1081
9aa449be
KW
1082config RTC_DRV_LPC32XX
1083 depends on ARCH_LPC32XX
1084 tristate "NXP LPC32XX RTC"
1085 help
1086 This enables support for the NXP RTC in the LPC32XX
1087
1088 This driver can also be buillt as a module. If so, the module
1089 will be called rtc-lpc32xx.
1090
9a9a54ad
AG
1091config RTC_DRV_PM8XXX
1092 tristate "Qualcomm PMIC8XXX RTC"
1093 depends on MFD_PM8XXX
1094 help
1095 If you say yes here you get support for the
1096 Qualcomm PMIC8XXX RTC.
1097
1098 To compile this driver as a module, choose M here: the
1099 module will be called rtc-pm8xxx.
1100
ff859ba6
AC
1101config RTC_DRV_TEGRA
1102 tristate "NVIDIA Tegra Internal RTC driver"
6b8029fa 1103 depends on ARCH_TEGRA
ff859ba6
AC
1104 help
1105 If you say yes here you get support for the
1106 Tegra 200 series internal RTC module.
1107
1108 This drive can also be built as a module. If so, the module
1109 will be called rtc-tegra.
1110
dd196a2b
CM
1111config RTC_DRV_TILE
1112 tristate "Tilera hypervisor RTC support"
1113 depends on TILE
1114 help
1115 Enable support for the Linux driver side of the Tilera
1116 hypervisor's real-time clock interface.
1117
2809e80b
GX
1118config RTC_DRV_PUV3
1119 tristate "PKUnity v3 RTC support"
1120 depends on ARCH_PUV3
1121 help
1122 This enables support for the RTC in the PKUnity-v3 SoCs.
1123
1124 This drive can also be built as a module. If so, the module
1125 will be called rtc-puv3.
1126
b4f0b880 1127config RTC_DRV_LOONGSON1
1128 tristate "loongson1 RTC support"
1129 depends on MACH_LOONGSON1
1130 help
1131 This is a driver for the loongson1 on-chip Counter0 (Time-Of-Year
1132 counter) to be used as a RTC.
1133
1134 This driver can also be built as a module. If so, the module
1135 will be called rtc-ls1x.
1136
79811595 1137config RTC_DRV_MXC
b224b9ac
FE
1138 tristate "Freescale MXC Real Time Clock"
1139 depends on ARCH_MXC
b224b9ac
FE
1140 help
1141 If you say yes here you get support for the Freescale MXC
1142 RTC module.
1143
1144 This driver can also be built as a module, if so, the module
1145 will be called "rtc-mxc".
1146
179a502f
SG
1147config RTC_DRV_SNVS
1148 tristate "Freescale SNVS RTC support"
1149 depends on HAS_IOMEM
1150 depends on OF
1151 help
1152 If you say yes here you get support for the Freescale SNVS
1153 Low Power (LP) RTC module.
1154
1155 This driver can also be built as a module, if so, the module
1156 will be called "rtc-snvs".
1157
bb35fb20 1158endif # RTC_CLASS