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