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