2cf87f7244fd7f0d81319baacb45ef582e0d1e8c
[cascardo/linux.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         default y
23         help
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.
27
28 config RTC_HCTOSYS_DEVICE
29         string "RTC used to set the system time"
30         depends on RTC_HCTOSYS
31         default "rtc0"
32         help
33           The RTC device that will be used to (re)initialize the system
34           clock, usually rtc0. Initialization is done when the system
35           starts up, and when it resumes from a low power state. This
36           device should record time in UTC, since the kernel won't do
37           timezone correction.
38
39           The driver for this RTC device must be loaded before late_initcall
40           functions run, so it must usually be statically linked.
41
42           This clock should be battery-backed, so that it reads the correct
43           time when the system boots from a power-off state. Otherwise, your
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
48           sleep states. Do not specify an RTC here unless it stays powered
49           during all this system's supported sleep states.
50
51 config RTC_SYSTOHC
52         bool "Set the RTC time based on NTP synchronization"
53         default y
54         help
55           If you say yes here, the system time (wall clock) will be stored
56           in the RTC specified by RTC_HCTOSYS_DEVICE approximately every 11
57           minutes if userspace reports synchronized NTP status.
58
59 config RTC_SYSTOHC_DEVICE
60         string "RTC used to synchronize NTP adjustment"
61         depends on RTC_SYSTOHC
62         default RTC_HCTOSYS_DEVICE if RTC_HCTOSYS
63         default "rtc0"
64         help
65           The RTC device used for NTP synchronization. The main difference
66           between RTC_HCTOSYS_DEVICE and RTC_SYSTOHC_DEVICE is that this
67           one can sleep when setting time, because it runs in the workqueue
68           context.
69
70 config RTC_DEBUG
71         bool "RTC debug support"
72         help
73           Say yes here to enable debugging support in the RTC framework
74           and individual RTC drivers.
75
76 comment "RTC interfaces"
77
78 config RTC_INTF_SYSFS
79         bool "/sys/class/rtc/rtcN (sysfs)"
80         depends on SYSFS
81         default RTC_CLASS
82         help
83           Say yes here if you want to use your RTCs using sysfs interfaces,
84           /sys/class/rtc/rtc0 through /sys/.../rtcN.
85
86           If unsure, say Y.
87
88 config RTC_INTF_PROC
89         bool "/proc/driver/rtc (procfs for rtcN)"
90         depends on PROC_FS
91         default RTC_CLASS
92         help
93           Say yes here if you want to use your system clock RTC through
94           the proc interface, /proc/driver/rtc.
95           Other RTCs will not be available through that API.
96           If there is no RTC for the system clock, then the first RTC(rtc0)
97           is used by default.
98
99           If unsure, say Y.
100
101 config RTC_INTF_DEV
102         bool "/dev/rtcN (character devices)"
103         default RTC_CLASS
104         help
105           Say yes here if you want to use your RTCs using the /dev
106           interfaces, which "udev" sets up as /dev/rtc0 through
107           /dev/rtcN.
108
109           You may want to set up a symbolic link so one of these
110           can be accessed as /dev/rtc, which is a name
111           expected by "hwclock" and some other programs. Recent
112           versions of "udev" are known to set up the symlink for you.
113
114           If unsure, say Y.
115
116 config RTC_INTF_DEV_UIE_EMUL
117         bool "RTC UIE emulation on dev interface"
118         depends on RTC_INTF_DEV
119         help
120           Provides an emulation for RTC_UIE if the underlying rtc chip
121           driver does not expose RTC_UIE ioctls. Those requests generate
122           once-per-second update interrupts, used for synchronization.
123
124           The emulation code will read the time from the hardware
125           clock several times per second, please enable this option
126           only if you know that you really need it.
127
128 config RTC_DRV_TEST
129         tristate "Test driver/device"
130         help
131           If you say yes here you get support for the
132           RTC test driver. It's a software RTC which can be
133           used to test the RTC subsystem APIs. It gets
134           the time from the system clock.
135           You want this driver only if you are doing development
136           on the RTC subsystem. Please read the source code
137           for further details.
138
139           This driver can also be built as a module. If so, the module
140           will be called rtc-test.
141
142 comment "I2C RTC drivers"
143         depends on I2C
144
145 if I2C
146
147 config RTC_DRV_88PM860X
148         tristate "Marvell 88PM860x"
149         depends on MFD_88PM860X
150         help
151           If you say yes here you get support for RTC function in Marvell
152           88PM860x chips.
153
154           This driver can also be built as a module. If so, the module
155           will be called rtc-88pm860x.
156
157 config RTC_DRV_88PM80X
158         tristate "Marvell 88PM80x"
159         depends on MFD_88PM800
160         help
161           If you say yes here you get support for RTC function in Marvell
162           88PM80x chips.
163
164           This driver can also be built as a module. If so, the module
165           will be called rtc-88pm80x.
166
167 config RTC_DRV_ABB5ZES3
168         select REGMAP_I2C
169         tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
170         help
171           If you say yes here you get support for the Abracon
172           AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip.
173
174           This driver can also be built as a module. If so, the module
175           will be called rtc-ab-b5ze-s3.
176
177 config RTC_DRV_ABX80X
178         tristate "Abracon ABx80x"
179         help
180           If you say yes here you get support for Abracon AB080X and AB180X
181           families of ultra-low-power  battery- and capacitor-backed real-time
182           clock chips.
183
184           This driver can also be built as a module. If so, the module
185           will be called rtc-abx80x.
186
187 config RTC_DRV_AS3722
188         tristate "ams AS3722 RTC driver"
189         depends on MFD_AS3722
190         help
191           If you say yes here you get support for the RTC of ams AS3722 PMIC
192           chips.
193
194           This driver can also be built as a module. If so, the module
195           will be called rtc-as3722.
196
197 config RTC_DRV_DS1307
198         tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00, EPSON RX-8025"
199         help
200           If you say yes here you get support for various compatible RTC
201           chips (often with battery backup) connected with I2C. This driver
202           should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
203           EPSON RX-8025 and probably other chips. In some cases the RTC
204           must already have been initialized (by manufacturing or a
205           bootloader).
206
207           The first seven registers on these chips hold an RTC, and other
208           registers may add features such as NVRAM, a trickle charger for
209           the RTC/NVRAM backup power, and alarms. NVRAM is visible in
210           sysfs, but other chip features may not be available.
211
212           This driver can also be built as a module. If so, the module
213           will be called rtc-ds1307.
214
215 config RTC_DRV_DS1307_HWMON
216         bool "HWMON support for rtc-ds1307"
217         depends on RTC_DRV_DS1307 && HWMON
218         depends on !(RTC_DRV_DS1307=y && HWMON=m)
219         default y
220         help
221           Say Y here if you want to expose temperature sensor data on
222           rtc-ds1307 (only DS3231)
223
224 config RTC_DRV_DS1374
225         tristate "Dallas/Maxim DS1374"
226         help
227           If you say yes here you get support for Dallas Semiconductor
228           DS1374 real-time clock chips. If an interrupt is associated
229           with the device, the alarm functionality is supported.
230
231           This driver can also be built as a module. If so, the module
232           will be called rtc-ds1374.
233
234 config RTC_DRV_DS1374_WDT
235         bool "Dallas/Maxim DS1374 watchdog timer"
236         depends on RTC_DRV_DS1374
237         help
238           If you say Y here you will get support for the
239           watchdog timer in the Dallas Semiconductor DS1374
240           real-time clock chips.
241
242 config RTC_DRV_DS1672
243         tristate "Dallas/Maxim DS1672"
244         help
245           If you say yes here you get support for the
246           Dallas/Maxim DS1672 timekeeping chip.
247
248           This driver can also be built as a module. If so, the module
249           will be called rtc-ds1672.
250
251 config RTC_DRV_DS3232
252         tristate "Dallas/Maxim DS3232"
253         help
254           If you say yes here you get support for Dallas Semiconductor
255           DS3232 real-time clock chips. If an interrupt is associated
256           with the device, the alarm functionality is supported.
257
258           This driver can also be built as a module.  If so, the module
259           will be called rtc-ds3232.
260
261 config RTC_DRV_HYM8563
262         tristate "Haoyu Microelectronics HYM8563"
263         depends on OF
264         help
265           Say Y to enable support for the HYM8563 I2C RTC chip. Apart
266           from the usual rtc functions it provides a clock output of
267           up to 32kHz.
268
269           This driver can also be built as a module. If so, the module
270           will be called rtc-hym8563.
271
272 config RTC_DRV_LP8788
273         tristate "TI LP8788 RTC driver"
274         depends on MFD_LP8788
275         help
276           Say Y to enable support for the LP8788 RTC/ALARM driver.
277
278 config RTC_DRV_MAX6900
279         tristate "Maxim MAX6900"
280         help
281           If you say yes here you will get support for the
282           Maxim MAX6900 I2C RTC chip.
283
284           This driver can also be built as a module. If so, the module
285           will be called rtc-max6900.
286
287 config RTC_DRV_MAX8907
288         tristate "Maxim MAX8907"
289         depends on MFD_MAX8907
290         help
291           If you say yes here you will get support for the
292           RTC of Maxim MAX8907 PMIC.
293
294           This driver can also be built as a module. If so, the module
295           will be called rtc-max8907.
296
297 config RTC_DRV_MAX8925
298         tristate "Maxim MAX8925"
299         depends on MFD_MAX8925
300         help
301           If you say yes here you will get support for the
302           RTC of Maxim MAX8925 PMIC.
303
304           This driver can also be built as a module. If so, the module
305           will be called rtc-max8925.
306
307 config RTC_DRV_MAX8998
308         tristate "Maxim MAX8998"
309         depends on MFD_MAX8998
310         help
311           If you say yes here you will get support for the
312           RTC of Maxim MAX8998 PMIC.
313
314           This driver can also be built as a module. If so, the module
315           will be called rtc-max8998.
316
317 config RTC_DRV_MAX8997
318         tristate "Maxim MAX8997"
319         depends on MFD_MAX8997
320         help
321           If you say yes here you will get support for the
322           RTC of Maxim MAX8997 PMIC.
323
324           This driver can also be built as a module. If so, the module
325           will be called rtc-max8997.
326
327 config RTC_DRV_MAX77686
328         tristate "Maxim MAX77686"
329         depends on MFD_MAX77686
330         help
331           If you say yes here you will get support for the
332           RTC of Maxim MAX77686 PMIC.
333
334           This driver can also be built as a module. If so, the module
335           will be called rtc-max77686.
336
337 config RTC_DRV_RK808
338         tristate "Rockchip RK808 RTC"
339         depends on MFD_RK808
340         help
341           If you say yes here you will get support for the
342           RTC of RK808 PMIC.
343
344           This driver can also be built as a module. If so, the module
345           will be called rk808-rtc.
346
347 config RTC_DRV_RS5C372
348         tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
349         help
350           If you say yes here you get support for the
351           Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
352
353           This driver can also be built as a module. If so, the module
354           will be called rtc-rs5c372.
355
356 config RTC_DRV_ISL1208
357         tristate "Intersil ISL1208"
358         help
359           If you say yes here you get support for the
360           Intersil ISL1208 RTC chip.
361
362           This driver can also be built as a module. If so, the module
363           will be called rtc-isl1208.
364
365 config RTC_DRV_ISL12022
366         tristate "Intersil ISL12022"
367         help
368           If you say yes here you get support for the
369           Intersil ISL12022 RTC chip.
370
371           This driver can also be built as a module. If so, the module
372           will be called rtc-isl12022.
373
374 config RTC_DRV_ISL12057
375         select REGMAP_I2C
376         tristate "Intersil ISL12057"
377         help
378           If you say yes here you get support for the Intersil ISL12057
379           I2C RTC chip.
380
381           This driver can also be built as a module. If so, the module
382           will be called rtc-isl12057.
383
384 config RTC_DRV_X1205
385         tristate "Xicor/Intersil X1205"
386         help
387           If you say yes here you get support for the
388           Xicor/Intersil X1205 RTC chip.
389
390           This driver can also be built as a module. If so, the module
391           will be called rtc-x1205.
392
393 config RTC_DRV_PALMAS
394         tristate "TI Palmas RTC driver"
395         depends on MFD_PALMAS
396         help
397           If you say yes here you get support for the RTC of TI PALMA series PMIC
398           chips.
399
400           This driver can also be built as a module. If so, the module
401           will be called rtc-palma.
402
403 config RTC_DRV_PCF2127
404         tristate "NXP PCF2127"
405         help
406           If you say yes here you get support for the NXP PCF2127/29 RTC
407           chips.
408
409           This driver can also be built as a module. If so, the module
410           will be called rtc-pcf2127.
411
412 config RTC_DRV_PCF8523
413         tristate "NXP PCF8523"
414         help
415           If you say yes here you get support for the NXP PCF8523 RTC
416           chips.
417
418           This driver can also be built as a module. If so, the module
419           will be called rtc-pcf8523.
420
421 config RTC_DRV_PCF8563
422         tristate "Philips PCF8563/Epson RTC8564"
423         help
424           If you say yes here you get support for the
425           Philips PCF8563 RTC chip. The Epson RTC8564
426           should work as well.
427
428           This driver can also be built as a module. If so, the module
429           will be called rtc-pcf8563.
430
431 config RTC_DRV_PCF85063
432         tristate "nxp PCF85063"
433         help
434           If you say yes here you get support for the PCF85063 RTC chip
435
436           This driver can also be built as a module. If so, the module
437           will be called rtc-pcf85063.
438
439 config RTC_DRV_PCF8583
440         tristate "Philips PCF8583"
441         help
442           If you say yes here you get support for the Philips PCF8583
443           RTC chip found on Acorn RiscPCs. This driver supports the
444           platform specific method of retrieving the current year from
445           the RTC's SRAM. It will work on other platforms with the same
446           chip, but the year will probably have to be tweaked.
447
448           This driver can also be built as a module. If so, the module
449           will be called rtc-pcf8583.
450
451 config RTC_DRV_M41T80
452         tristate "ST M41T62/65/M41T80/81/82/83/84/85/87 and compatible"
453         help
454           If you say Y here you will get support for the ST M41T60
455           and M41T80 RTC chips series. Currently, the following chips are
456           supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
457           M41ST85, M41ST87, and MicroCrystal RV4162.
458
459           This driver can also be built as a module. If so, the module
460           will be called rtc-m41t80.
461
462 config RTC_DRV_M41T80_WDT
463         bool "ST M41T65/M41T80 series RTC watchdog timer"
464         depends on RTC_DRV_M41T80
465         help
466           If you say Y here you will get support for the
467           watchdog timer in the ST M41T60 and M41T80 RTC chips series.
468
469 config RTC_DRV_BQ32K
470         tristate "TI BQ32000"
471         help
472           If you say Y here you will get support for the TI
473           BQ32000 I2C RTC chip.
474
475           This driver can also be built as a module. If so, the module
476           will be called rtc-bq32k.
477
478 config RTC_DRV_DM355EVM
479         tristate "TI DaVinci DM355 EVM RTC"
480         depends on MFD_DM355EVM_MSP
481         help
482           Supports the RTC firmware in the MSP430 on the DM355 EVM.
483
484 config RTC_DRV_TWL92330
485         bool "TI TWL92330/Menelaus"
486         depends on MENELAUS
487         help
488           If you say yes here you get support for the RTC on the
489           TWL92330 "Menelaus" power management chip, used with OMAP2
490           platforms. The support is integrated with the rest of
491           the Menelaus driver; it's not separate module.
492
493 config RTC_DRV_TWL4030
494         tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
495         depends on TWL4030_CORE
496         help
497           If you say yes here you get support for the RTC on the
498           TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
499
500           This driver can also be built as a module. If so, the module
501           will be called rtc-twl.
502
503 config RTC_DRV_TPS6586X
504         tristate "TI TPS6586X RTC driver"
505         depends on MFD_TPS6586X
506         help
507           TI Power Management IC TPS6586X supports RTC functionality
508           along with alarm. This driver supports the RTC driver for
509           the TPS6586X RTC module.
510
511 config RTC_DRV_TPS65910
512         tristate "TI TPS65910 RTC driver"
513         depends on RTC_CLASS && MFD_TPS65910
514         help
515           If you say yes here you get support for the RTC on the
516           TPS65910 chips.
517
518           This driver can also be built as a module. If so, the module
519           will be called rtc-tps65910.
520
521 config RTC_DRV_TPS80031
522         tristate "TI TPS80031/TPS80032 RTC driver"
523         depends on MFD_TPS80031
524         help
525           TI Power Management IC TPS80031 supports RTC functionality
526           along with alarm. This driver supports the RTC driver for
527           the TPS80031 RTC module.
528
529 config RTC_DRV_RC5T583
530         tristate "RICOH 5T583 RTC driver"
531         depends on MFD_RC5T583
532         help
533           If you say yes here you get support for the RTC on the
534           RICOH 5T583 chips.
535
536           This driver can also be built as a module. If so, the module
537           will be called rtc-rc5t583.
538
539 config RTC_DRV_S35390A
540         tristate "Seiko Instruments S-35390A"
541         select BITREVERSE
542         help
543           If you say yes here you will get support for the Seiko
544           Instruments S-35390A.
545
546           This driver can also be built as a module. If so the module
547           will be called rtc-s35390a.
548
549 config RTC_DRV_FM3130
550         tristate "Ramtron FM3130"
551         help
552           If you say Y here you will get support for the
553           Ramtron FM3130 RTC chips.
554           Ramtron FM3130 is a chip with two separate devices inside,
555           RTC clock and FRAM. This driver provides only RTC functionality.
556
557           This driver can also be built as a module. If so the module
558           will be called rtc-fm3130.
559
560 config RTC_DRV_RX8010
561         tristate "Epson RX8010SJ"
562         depends on I2C
563         help
564           If you say yes here you get support for the Epson RX8010SJ RTC
565           chip.
566
567           This driver can also be built as a module. If so, the module
568           will be called rtc-rx8010.
569
570 config RTC_DRV_RX8581
571         tristate "Epson RX-8581"
572         help
573           If you say yes here you will get support for the Epson RX-8581.
574
575           This driver can also be built as a module. If so the module
576           will be called rtc-rx8581.
577
578 config RTC_DRV_RX8025
579         tristate "Epson RX-8025SA/NB"
580         help
581           If you say yes here you get support for the Epson
582           RX-8025SA/NB RTC chips.
583
584           This driver can also be built as a module. If so, the module
585           will be called rtc-rx8025.
586
587 config RTC_DRV_EM3027
588         tristate "EM Microelectronic EM3027"
589         help
590           If you say yes here you get support for the EM
591           Microelectronic EM3027 RTC chips.
592
593           This driver can also be built as a module. If so, the module
594           will be called rtc-em3027.
595
596 config RTC_DRV_RV3029C2
597         tristate "Micro Crystal RTC"
598         help
599           If you say yes here you get support for the Micro Crystal
600           RV3029-C2 RTC chips.
601
602           This driver can also be built as a module. If so, the module
603           will be called rtc-rv3029c2.
604
605 config RTC_DRV_RV8803
606         tristate "Micro Crystal RV8803"
607         help
608           If you say yes here you get support for the Micro Crystal
609           RV8803 RTC chips.
610
611           This driver can also be built as a module. If so, the module
612           will be called rtc-rv8803.
613
614 config RTC_DRV_S5M
615         tristate "Samsung S2M/S5M series"
616         depends on MFD_SEC_CORE
617         help
618           If you say yes here you will get support for the
619           RTC of Samsung S2MPS14 and S5M PMIC series.
620
621           This driver can also be built as a module. If so, the module
622           will be called rtc-s5m.
623
624 endif # I2C
625
626 comment "SPI RTC drivers"
627
628 if SPI_MASTER
629
630 config RTC_DRV_M41T93
631         tristate "ST M41T93"
632         help
633           If you say yes here you will get support for the
634           ST M41T93 SPI RTC chip.
635
636           This driver can also be built as a module. If so, the module
637           will be called rtc-m41t93.
638
639 config RTC_DRV_M41T94
640         tristate "ST M41T94"
641         help
642           If you say yes here you will get support for the
643           ST M41T94 SPI RTC chip.
644
645           This driver can also be built as a module. If so, the module
646           will be called rtc-m41t94.
647
648 config RTC_DRV_DS1305
649         tristate "Dallas/Maxim DS1305/DS1306"
650         help
651           Select this driver to get support for the Dallas/Maxim DS1305
652           and DS1306 real time clock chips. These support a trickle
653           charger, alarms, and NVRAM in addition to the clock.
654
655           This driver can also be built as a module. If so, the module
656           will be called rtc-ds1305.
657
658 config RTC_DRV_DS1343
659         select REGMAP_SPI
660         tristate "Dallas/Maxim DS1343/DS1344"
661         help
662           If you say yes here you get support for the
663           Dallas/Maxim DS1343 and DS1344 real time clock chips.
664           Support for trickle charger, alarm is provided.
665
666           This driver can also be built as a module. If so, the module
667           will be called rtc-ds1343.
668
669 config RTC_DRV_DS1347
670         tristate "Dallas/Maxim DS1347"
671         help
672           If you say yes here you get support for the
673           Dallas/Maxim DS1347 chips.
674
675           This driver only supports the RTC feature, and not other chip
676           features such as alarms.
677
678           This driver can also be built as a module. If so, the module
679           will be called rtc-ds1347.
680
681 config RTC_DRV_DS1390
682         tristate "Dallas/Maxim DS1390/93/94"
683         help
684           If you say yes here you get support for the
685           Dallas/Maxim DS1390/93/94 chips.
686
687           This driver supports the RTC feature and trickle charging but not
688           other chip features such as alarms.
689
690           This driver can also be built as a module. If so, the module
691           will be called rtc-ds1390.
692
693 config RTC_DRV_MAX6902
694         tristate "Maxim MAX6902"
695         help
696           If you say yes here you will get support for the
697           Maxim MAX6902 SPI RTC chip.
698
699           This driver can also be built as a module. If so, the module
700           will be called rtc-max6902.
701
702 config RTC_DRV_R9701
703         tristate "Epson RTC-9701JE"
704         help
705           If you say yes here you will get support for the
706           Epson RTC-9701JE SPI RTC chip.
707
708           This driver can also be built as a module. If so, the module
709           will be called rtc-r9701.
710
711 config RTC_DRV_RS5C348
712         tristate "Ricoh RS5C348A/B"
713         help
714           If you say yes here you get support for the
715           Ricoh RS5C348A and RS5C348B RTC chips.
716
717           This driver can also be built as a module. If so, the module
718           will be called rtc-rs5c348.
719
720 config RTC_DRV_DS3234
721         tristate "Maxim/Dallas DS3234"
722         help
723           If you say yes here you get support for the
724           Maxim/Dallas DS3234 SPI RTC chip.
725
726           This driver can also be built as a module. If so, the module
727           will be called rtc-ds3234.
728
729 config RTC_DRV_PCF2123
730         tristate "NXP PCF2123"
731         help
732           If you say yes here you get support for the NXP PCF2123
733           RTC chip.
734
735           This driver can also be built as a module. If so, the module
736           will be called rtc-pcf2123.
737
738 config RTC_DRV_RX4581
739         tristate "Epson RX-4581"
740         help
741           If you say yes here you will get support for the Epson RX-4581.
742
743           This driver can also be built as a module. If so the module
744           will be called rtc-rx4581.
745
746 config RTC_DRV_RX6110
747         tristate "Epson RX-6110"
748         select REGMAP_SPI
749         help
750           If you say yes here you will get support for the Epson RX-6610.
751
752           This driver can also be built as a module. If so the module
753           will be called rtc-rx6110.
754
755 config RTC_DRV_MCP795
756         tristate "Microchip MCP795"
757         help
758           If you say yes here you will get support for the Microchip MCP795.
759
760           This driver can also be built as a module. If so the module
761           will be called rtc-mcp795.
762
763 endif # SPI_MASTER
764
765 comment "Platform RTC drivers"
766
767 # this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h>
768 # requires <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
769 # global rtc_lock ... it's not yet just another platform_device.
770
771 config RTC_DRV_CMOS
772         tristate "PC-style 'CMOS'"
773         depends on X86 || ARM || M32R || PPC || MIPS || SPARC64
774         default y if X86
775         help
776           Say "yes" here to get direct support for the real time clock
777           found in every PC or ACPI-based system, and some other boards.
778           Specifically the original MC146818, compatibles like those in
779           PC south bridges, the DS12887 or M48T86, some multifunction
780           or LPC bus chips, and so on.
781
782           Your system will need to define the platform device used by
783           this driver, otherwise it won't be accessible. This means
784           you can safely enable this driver if you don't know whether
785           or not your board has this kind of hardware.
786
787           This driver can also be built as a module. If so, the module
788           will be called rtc-cmos.
789
790 config RTC_DRV_ALPHA
791         bool "Alpha PC-style CMOS"
792         depends on ALPHA
793         default y
794         help
795           Direct support for the real-time clock found on every Alpha
796           system, specifically MC146818 compatibles.  If in doubt, say Y.
797
798 config RTC_DRV_VRTC
799         tristate "Virtual RTC for Intel MID platforms"
800         depends on X86_INTEL_MID
801         default y if X86_INTEL_MID
802
803         help
804         Say "yes" here to get direct support for the real time clock
805         found on Moorestown platforms. The VRTC is a emulated RTC that
806         derives its clock source from a real RTC in the PMIC. The MC146818
807         style programming interface is mostly conserved, but any
808         updates are done via IPC calls to the system controller FW.
809
810 config RTC_DRV_DS1216
811         tristate "Dallas DS1216"
812         depends on SNI_RM
813         help
814           If you say yes here you get support for the Dallas DS1216 RTC chips.
815
816 config RTC_DRV_DS1286
817         tristate "Dallas DS1286"
818         depends on HAS_IOMEM
819         help
820           If you say yes here you get support for the Dallas DS1286 RTC chips.
821
822 config RTC_DRV_DS1302
823         tristate "Dallas DS1302"
824         depends on SH_SECUREEDGE5410
825         help
826           If you say yes here you get support for the Dallas DS1302 RTC chips.
827
828 config RTC_DRV_DS1511
829         tristate "Dallas DS1511"
830         depends on HAS_IOMEM
831         help
832           If you say yes here you get support for the
833           Dallas DS1511 timekeeping/watchdog chip.
834
835           This driver can also be built as a module. If so, the module
836           will be called rtc-ds1511.
837
838 config RTC_DRV_DS1553
839         tristate "Maxim/Dallas DS1553"
840         depends on HAS_IOMEM
841         help
842           If you say yes here you get support for the
843           Maxim/Dallas DS1553 timekeeping chip.
844
845           This driver can also be built as a module. If so, the module
846           will be called rtc-ds1553.
847
848 config RTC_DRV_DS1685_FAMILY
849         tristate "Dallas/Maxim DS1685 Family"
850         help
851           If you say yes here you get support for the Dallas/Maxim DS1685
852           family of real time chips.  This family includes the DS1685/DS1687,
853           DS1689/DS1693, DS17285/DS17287, DS17485/DS17487, and
854           DS17885/DS17887 chips.
855
856           This driver can also be built as a module. If so, the module
857           will be called rtc-ds1685.
858
859 choice
860         prompt "Subtype"
861         depends on RTC_DRV_DS1685_FAMILY
862         default RTC_DRV_DS1685
863
864 config RTC_DRV_DS1685
865         bool "DS1685/DS1687"
866         help
867           This enables support for the Dallas/Maxim DS1685/DS1687 real time
868           clock chip.
869
870           This chip is commonly found in SGI O2 (IP32) and SGI Octane (IP30)
871           systems, as well as EPPC-405-UC modules by electronic system design
872           GmbH.
873
874 config RTC_DRV_DS1689
875         bool "DS1689/DS1693"
876         help
877           This enables support for the Dallas/Maxim DS1689/DS1693 real time
878           clock chip.
879
880           This is an older RTC chip, supplanted by the DS1685/DS1687 above,
881           which supports a few minor features such as Vcc, Vbat, and Power
882           Cycle counters, plus a customer-specific, 8-byte ROM/Serial number.
883
884           It also works for the even older DS1688/DS1691 RTC chips, which are
885           virtually the same and carry the same model number.  Both chips
886           have 114 bytes of user NVRAM.
887
888 config RTC_DRV_DS17285
889         bool "DS17285/DS17287"
890         help
891           This enables support for the Dallas/Maxim DS17285/DS17287 real time
892           clock chip.
893
894           This chip features 2kb of extended NV-SRAM.  It may possibly be
895           found in some SGI O2 systems (rare).
896
897 config RTC_DRV_DS17485
898         bool "DS17485/DS17487"
899         help
900           This enables support for the Dallas/Maxim DS17485/DS17487 real time
901           clock chip.
902
903           This chip features 4kb of extended NV-SRAM.
904
905 config RTC_DRV_DS17885
906         bool "DS17885/DS17887"
907         help
908           This enables support for the Dallas/Maxim DS17885/DS17887 real time
909           clock chip.
910
911           This chip features 8kb of extended NV-SRAM.
912
913 endchoice
914
915 config RTC_DS1685_PROC_REGS
916         bool "Display register values in /proc"
917         depends on RTC_DRV_DS1685_FAMILY && PROC_FS
918         help
919           Enable this to display a readout of all of the RTC registers in
920           /proc/drivers/rtc.  Keep in mind that this can potentially lead
921           to lost interrupts, as reading Control Register C will clear
922           all pending IRQ flags.
923
924           Unless you are debugging this driver, choose N.
925
926 config RTC_DS1685_SYSFS_REGS
927         bool "SysFS access to RTC register bits"
928         depends on RTC_DRV_DS1685_FAMILY && SYSFS
929         help
930           Enable this to provide access to the RTC control register bits
931           in /sys.  Some of the bits are read-write, others are read-only.
932
933           Keep in mind that reading Control C's bits automatically clears
934           all pending IRQ flags - this can cause lost interrupts.
935
936           If you know that you need access to these bits, choose Y, Else N.
937
938 config RTC_DRV_DS1742
939         tristate "Maxim/Dallas DS1742/1743"
940         depends on HAS_IOMEM
941         help
942           If you say yes here you get support for the
943           Maxim/Dallas DS1742/1743 timekeeping chip.
944
945           This driver can also be built as a module. If so, the module
946           will be called rtc-ds1742.
947
948 config RTC_DRV_DS2404
949         tristate "Maxim/Dallas DS2404"
950         help
951           If you say yes here you get support for the
952           Dallas DS2404 RTC chip.
953
954           This driver can also be built as a module. If so, the module
955           will be called rtc-ds2404.
956
957 config RTC_DRV_DA9052
958         tristate "Dialog DA9052/DA9053 RTC"
959         depends on PMIC_DA9052
960         help
961           Say y here to support the RTC driver for Dialog Semiconductor
962           DA9052-BC and DA9053-AA/Bx PMICs.
963
964 config RTC_DRV_DA9055
965         tristate "Dialog Semiconductor DA9055 RTC"
966         depends on MFD_DA9055
967         help
968           If you say yes here you will get support for the
969           RTC of the Dialog DA9055 PMIC.
970
971           This driver can also be built as a module. If so, the module
972           will be called rtc-da9055
973
974 config RTC_DRV_DA9063
975         tristate "Dialog Semiconductor DA9063/DA9062 RTC"
976         depends on MFD_DA9063 || MFD_DA9062
977         help
978           If you say yes here you will get support for the RTC subsystem
979           for the Dialog Semiconductor PMIC chips DA9063 and DA9062.
980
981           This driver can also be built as a module. If so, the module
982           will be called "rtc-da9063".
983
984 config RTC_DRV_EFI
985         tristate "EFI RTC"
986         depends on EFI && !X86
987         help
988           If you say yes here you will get support for the EFI
989           Real Time Clock.
990
991           This driver can also be built as a module. If so, the module
992           will be called rtc-efi.
993
994 config RTC_DRV_STK17TA8
995         tristate "Simtek STK17TA8"
996         depends on HAS_IOMEM
997         help
998           If you say yes here you get support for the
999           Simtek STK17TA8 timekeeping chip.
1000
1001           This driver can also be built as a module. If so, the module
1002           will be called rtc-stk17ta8.
1003
1004 config RTC_DRV_M48T86
1005         tristate "ST M48T86/Dallas DS12887"
1006         help
1007           If you say Y here you will get support for the
1008           ST M48T86 and Dallas DS12887 RTC chips.
1009
1010           This driver can also be built as a module. If so, the module
1011           will be called rtc-m48t86.
1012
1013 config RTC_DRV_M48T35
1014         tristate "ST M48T35"
1015         depends on HAS_IOMEM
1016         help
1017           If you say Y here you will get support for the
1018           ST M48T35 RTC chip.
1019
1020           This driver can also be built as a module, if so, the module
1021           will be called "rtc-m48t35".
1022
1023 config RTC_DRV_M48T59
1024         tristate "ST M48T59/M48T08/M48T02"
1025         depends on HAS_IOMEM
1026         help
1027           If you say Y here you will get support for the
1028           ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
1029
1030           These chips are usually found in Sun SPARC and UltraSPARC
1031           workstations.
1032
1033           This driver can also be built as a module, if so, the module
1034           will be called "rtc-m48t59".
1035
1036 config RTC_DRV_MSM6242
1037         tristate "Oki MSM6242"
1038         depends on HAS_IOMEM
1039         help
1040           If you say yes here you get support for the Oki MSM6242
1041           timekeeping chip. It is used in some Amiga models (e.g. A2000).
1042
1043           This driver can also be built as a module. If so, the module
1044           will be called rtc-msm6242.
1045
1046 config RTC_DRV_BQ4802
1047         tristate "TI BQ4802"
1048         depends on HAS_IOMEM
1049         help
1050           If you say Y here you will get support for the TI
1051           BQ4802 RTC chip.
1052
1053           This driver can also be built as a module. If so, the module
1054           will be called rtc-bq4802.
1055
1056 config RTC_DRV_RP5C01
1057         tristate "Ricoh RP5C01"
1058         depends on HAS_IOMEM
1059         help
1060           If you say yes here you get support for the Ricoh RP5C01
1061           timekeeping chip. It is used in some Amiga models (e.g. A3000
1062           and A4000).
1063
1064           This driver can also be built as a module. If so, the module
1065           will be called rtc-rp5c01.
1066
1067 config RTC_DRV_V3020
1068         tristate "EM Microelectronic V3020"
1069         help
1070           If you say yes here you will get support for the
1071           EM Microelectronic v3020 RTC chip.
1072
1073           This driver can also be built as a module. If so, the module
1074           will be called rtc-v3020.
1075
1076 config RTC_DRV_WM831X
1077         tristate "Wolfson Microelectronics WM831x RTC"
1078         depends on MFD_WM831X
1079         help
1080           If you say yes here you will get support for the RTC subsystem
1081           of the Wolfson Microelectronics WM831X series PMICs.
1082
1083           This driver can also be built as a module. If so, the module
1084           will be called "rtc-wm831x".
1085
1086 config RTC_DRV_WM8350
1087         tristate "Wolfson Microelectronics WM8350 RTC"
1088         depends on MFD_WM8350
1089         help
1090           If you say yes here you will get support for the RTC subsystem
1091           of the Wolfson Microelectronics WM8350.
1092
1093           This driver can also be built as a module. If so, the module
1094           will be called "rtc-wm8350".
1095
1096 config RTC_DRV_SPEAR
1097         tristate "SPEAR ST RTC"
1098         depends on PLAT_SPEAR
1099         default y
1100         help
1101          If you say Y here you will get support for the RTC found on
1102          spear
1103
1104 config RTC_DRV_PCF50633
1105         depends on MFD_PCF50633
1106         tristate "NXP PCF50633 RTC"
1107         help
1108           If you say yes here you get support for the RTC subsystem of the
1109           NXP PCF50633 used in embedded systems.
1110
1111 config RTC_DRV_AB3100
1112         tristate "ST-Ericsson AB3100 RTC"
1113         depends on AB3100_CORE
1114         default y if AB3100_CORE
1115         help
1116           Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
1117           support. This chip contains a battery- and capacitor-backed RTC.
1118
1119 config RTC_DRV_AB8500
1120         tristate "ST-Ericsson AB8500 RTC"
1121         depends on AB8500_CORE
1122         select RTC_INTF_DEV
1123         select RTC_INTF_DEV_UIE_EMUL
1124         help
1125           Select this to enable the ST-Ericsson AB8500 power management IC RTC
1126           support. This chip contains a battery- and capacitor-backed RTC.
1127
1128 config RTC_DRV_NUC900
1129         tristate "NUC910/NUC920 RTC driver"
1130         depends on ARCH_W90X900
1131         help
1132           If you say yes here you get support for the RTC subsystem of the
1133           NUC910/NUC920 used in embedded systems.
1134
1135 config RTC_DRV_OPAL
1136         tristate "IBM OPAL RTC driver"
1137         depends on PPC_POWERNV
1138         default y
1139         help
1140           If you say yes here you get support for the PowerNV platform RTC
1141           driver based on OPAL interfaces.
1142
1143           This driver can also be built as a module. If so, the module
1144           will be called rtc-opal.
1145
1146 config RTC_DRV_ZYNQMP
1147         tristate "Xilinx Zynq Ultrascale+ MPSoC RTC"
1148         depends on OF
1149         help
1150           If you say yes here you get support for the RTC controller found on
1151           Xilinx Zynq Ultrascale+ MPSoC.
1152
1153 comment "on-CPU RTC drivers"
1154
1155 config RTC_DRV_DAVINCI
1156         tristate "TI DaVinci RTC"
1157         depends on ARCH_DAVINCI_DM365
1158         help
1159           If you say yes here you get support for the RTC on the
1160           DaVinci platforms (DM365).
1161
1162           This driver can also be built as a module. If so, the module
1163           will be called rtc-davinci.
1164
1165 config RTC_DRV_DIGICOLOR
1166         tristate "Conexant Digicolor RTC"
1167         depends on ARCH_DIGICOLOR
1168         help
1169           If you say yes here you get support for the RTC on Conexant
1170           Digicolor platforms. This currently includes the CX92755 SoC.
1171
1172           This driver can also be built as a module. If so, the module
1173           will be called rtc-digicolor.
1174
1175 config RTC_DRV_IMXDI
1176         tristate "Freescale IMX DryIce Real Time Clock"
1177         depends on ARCH_MXC
1178         help
1179            Support for Freescale IMX DryIce RTC
1180
1181            This driver can also be built as a module, if so, the module
1182            will be called "rtc-imxdi".
1183
1184 config RTC_DRV_OMAP
1185         tristate "TI OMAP Real Time Clock"
1186         depends on ARCH_OMAP || ARCH_DAVINCI
1187         help
1188           Say "yes" here to support the on chip real time clock
1189           present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
1190
1191           This driver can also be built as a module, if so, module
1192           will be called rtc-omap.
1193
1194 config HAVE_S3C_RTC
1195         bool
1196         help
1197           This will include RTC support for Samsung SoCs. If
1198           you want to include RTC support for any machine, kindly
1199           select this in the respective mach-XXXX/Kconfig file.
1200
1201 config RTC_DRV_S3C
1202         tristate "Samsung S3C series SoC RTC"
1203         depends on ARCH_S3C64XX || HAVE_S3C_RTC
1204         help
1205           RTC (Realtime Clock) driver for the clock inbuilt into the
1206           Samsung S3C24XX series of SoCs. This can provide periodic
1207           interrupt rates from 1Hz to 64Hz for user programs, and
1208           wakeup from Alarm.
1209
1210           The driver currently supports the common features on all the
1211           S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
1212           and S3C2442.
1213
1214           This driver can also be build as a module. If so, the module
1215           will be called rtc-s3c.
1216
1217 config RTC_DRV_EP93XX
1218         tristate "Cirrus Logic EP93XX"
1219         depends on ARCH_EP93XX
1220         help
1221           If you say yes here you get support for the
1222           RTC embedded in the Cirrus Logic EP93XX processors.
1223
1224           This driver can also be built as a module. If so, the module
1225           will be called rtc-ep93xx.
1226
1227 config RTC_DRV_SA1100
1228         tristate "SA11x0/PXA2xx/PXA910"
1229         depends on ARCH_SA1100 || ARCH_PXA || ARCH_MMP
1230         help
1231           If you say Y here you will get access to the real time clock
1232           built into your SA11x0 or PXA2xx CPU.
1233
1234           To compile this driver as a module, choose M here: the
1235           module will be called rtc-sa1100.
1236
1237 config RTC_DRV_SH
1238         tristate "SuperH On-Chip RTC"
1239         depends on SUPERH && HAVE_CLK
1240         help
1241           Say Y here to enable support for the on-chip RTC found in
1242           most SuperH processors.
1243
1244           To compile this driver as a module, choose M here: the
1245           module will be called rtc-sh.
1246
1247 config RTC_DRV_VR41XX
1248         tristate "NEC VR41XX"
1249         depends on CPU_VR41XX
1250         help
1251           If you say Y here you will get access to the real time clock
1252           built into your NEC VR41XX CPU.
1253
1254           To compile this driver as a module, choose M here: the
1255           module will be called rtc-vr41xx.
1256
1257 config RTC_DRV_PL030
1258         tristate "ARM AMBA PL030 RTC"
1259         depends on ARM_AMBA
1260         help
1261           If you say Y here you will get access to ARM AMBA
1262           PrimeCell PL030 RTC found on certain ARM SOCs.
1263
1264           To compile this driver as a module, choose M here: the
1265           module will be called rtc-pl030.
1266
1267 config RTC_DRV_PL031
1268         tristate "ARM AMBA PL031 RTC"
1269         depends on ARM_AMBA
1270         help
1271           If you say Y here you will get access to ARM AMBA
1272           PrimeCell PL031 RTC found on certain ARM SOCs.
1273
1274           To compile this driver as a module, choose M here: the
1275           module will be called rtc-pl031.
1276
1277 config RTC_DRV_AT32AP700X
1278         tristate "AT32AP700X series RTC"
1279         depends on PLATFORM_AT32AP
1280         help
1281           Driver for the internal RTC (Realtime Clock) on Atmel AVR32
1282           AT32AP700x family processors.
1283
1284 config RTC_DRV_AT91RM9200
1285         tristate "AT91RM9200 or some AT91SAM9 RTC"
1286         depends on ARCH_AT91
1287         help
1288           Driver for the internal RTC (Realtime Clock) module found on
1289           Atmel AT91RM9200's and some  AT91SAM9 chips. On AT91SAM9 chips
1290           this is powered by the backup power supply.
1291
1292 config RTC_DRV_AT91SAM9
1293         tristate "AT91SAM9 RTT as RTC"
1294         depends on ARCH_AT91
1295         select MFD_SYSCON
1296         help
1297           Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which
1298           can be used as an RTC thanks to the backup power supply (e.g. a
1299           small coin cell battery) which keeps this block and the GPBR
1300           (General Purpose Backup Registers) block powered when the device
1301           is shutdown.
1302           Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd
1303           probably want to use the real RTC block instead of the "RTT as an
1304           RTC" driver.
1305
1306 config RTC_DRV_AU1XXX
1307         tristate "Au1xxx Counter0 RTC support"
1308         depends on MIPS_ALCHEMY
1309         help
1310           This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
1311           counter) to be used as a RTC.
1312
1313           This driver can also be built as a module. If so, the module
1314           will be called rtc-au1xxx.
1315
1316 config RTC_DRV_BFIN
1317         tristate "Blackfin On-Chip RTC"
1318         depends on BLACKFIN && !BF561
1319         help
1320           If you say yes here you will get support for the
1321           Blackfin On-Chip Real Time Clock.
1322
1323           This driver can also be built as a module. If so, the module
1324           will be called rtc-bfin.
1325
1326 config RTC_DRV_RS5C313
1327         tristate "Ricoh RS5C313"
1328         depends on SH_LANDISK
1329         help
1330           If you say yes here you get support for the Ricoh RS5C313 RTC chips.
1331
1332 config RTC_DRV_GENERIC
1333         tristate "Generic RTC support"
1334         # Please consider writing a new RTC driver instead of using the generic
1335         # RTC abstraction
1336         depends on PARISC || M68K || PPC || SUPERH32
1337         help
1338           Say Y or M here to enable RTC support on systems using the generic
1339           RTC abstraction. If you do not know what you are doing, you should
1340           just say Y.
1341
1342 config RTC_DRV_PXA
1343        tristate "PXA27x/PXA3xx"
1344        depends on ARCH_PXA
1345        select RTC_DRV_SA1100
1346        help
1347          If you say Y here you will get access to the real time clock
1348          built into your PXA27x or PXA3xx CPU. This RTC is actually 2 RTCs
1349          consisting of an SA1100 compatible RTC and the extended PXA RTC.
1350
1351          This RTC driver uses PXA RTC registers available since pxa27x
1352          series (RDxR, RYxR) instead of legacy RCNR, RTAR.
1353
1354 config RTC_DRV_VT8500
1355         tristate "VIA/WonderMedia 85xx SoC RTC"
1356         depends on ARCH_VT8500
1357         help
1358           If you say Y here you will get access to the real time clock
1359           built into your VIA VT8500 SoC or its relatives.
1360
1361
1362 config RTC_DRV_SUN4V
1363         bool "SUN4V Hypervisor RTC"
1364         depends on SPARC64
1365         help
1366           If you say Y here you will get support for the Hypervisor
1367           based RTC on SUN4V systems.
1368
1369 config RTC_DRV_SUN6I
1370         tristate "Allwinner A31 RTC"
1371         default MACH_SUN6I || MACH_SUN8I
1372         depends on ARCH_SUNXI
1373         help
1374           If you say Y here you will get support for the RTC found in
1375           some Allwinner SoCs like the A31 or the A64.
1376
1377 config RTC_DRV_SUNXI
1378         tristate "Allwinner sun4i/sun7i RTC"
1379         depends on MACH_SUN4I || MACH_SUN7I
1380         help
1381           If you say Y here you will get support for the RTC found on
1382           Allwinner A10/A20.
1383
1384 config RTC_DRV_STARFIRE
1385         bool "Starfire RTC"
1386         depends on SPARC64
1387         help
1388           If you say Y here you will get support for the RTC found on
1389           Starfire systems.
1390
1391 config RTC_DRV_TX4939
1392         tristate "TX4939 SoC"
1393         depends on SOC_TX4939
1394         help
1395           Driver for the internal RTC (Realtime Clock) module found on
1396           Toshiba TX4939 SoC.
1397
1398 config RTC_DRV_MV
1399         tristate "Marvell SoC RTC"
1400         depends on ARCH_DOVE || ARCH_MVEBU
1401         help
1402           If you say yes here you will get support for the in-chip RTC
1403           that can be found in some of Marvell's SoC devices, such as
1404           the Kirkwood 88F6281 and 88F6192.
1405
1406           This driver can also be built as a module. If so, the module
1407           will be called rtc-mv.
1408
1409 config RTC_DRV_ARMADA38X
1410         tristate "Armada 38x Marvell SoC RTC"
1411         depends on ARCH_MVEBU
1412         help
1413           If you say yes here you will get support for the in-chip RTC
1414           that can be found in the Armada 38x Marvell's SoC device
1415
1416           This driver can also be built as a module. If so, the module
1417           will be called armada38x-rtc.
1418
1419 config RTC_DRV_GEMINI
1420         tristate "Gemini SoC RTC"
1421         depends on ARCH_GEMINI || COMPILE_TEST
1422         depends on HAS_IOMEM
1423         help
1424           If you say Y here you will get support for the
1425           RTC found on Gemini SoC's.
1426
1427           This driver can also be built as a module. If so, the module
1428           will be called rtc-gemini.
1429
1430 config RTC_DRV_PS3
1431         tristate "PS3 RTC"
1432         depends on PPC_PS3
1433         help
1434           If you say yes here you will get support for the RTC on PS3.
1435
1436           This driver can also be built as a module. If so, the module
1437           will be called rtc-ps3.
1438
1439 config RTC_DRV_COH901331
1440         tristate "ST-Ericsson COH 901 331 RTC"
1441         depends on ARCH_U300
1442         help
1443           If you say Y here you will get access to ST-Ericsson
1444           COH 901 331 RTC clock found in some ST-Ericsson Mobile
1445           Platforms.
1446
1447           This driver can also be built as a module. If so, the module
1448           will be called "rtc-coh901331".
1449
1450
1451 config RTC_DRV_STMP
1452         tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
1453         depends on ARCH_MXS
1454         select STMP_DEVICE
1455         help
1456           If you say yes here you will get support for the onboard
1457           STMP3xxx/i.MX23/i.MX28 RTC.
1458
1459           This driver can also be built as a module. If so, the module
1460           will be called rtc-stmp3xxx.
1461
1462 config RTC_DRV_PCAP
1463         tristate "PCAP RTC"
1464         depends on EZX_PCAP
1465         help
1466           If you say Y here you will get support for the RTC found on
1467           the PCAP2 ASIC used on some Motorola phones.
1468
1469 config RTC_DRV_MC13XXX
1470         depends on MFD_MC13XXX
1471         tristate "Freescale MC13xxx RTC"
1472         help
1473           This enables support for the RTCs found on Freescale's PMICs
1474           MC13783 and MC13892.
1475
1476 config RTC_DRV_MPC5121
1477         tristate "Freescale MPC5121 built-in RTC"
1478         depends on PPC_MPC512x || PPC_MPC52xx
1479         help
1480           If you say yes here you will get support for the
1481           built-in RTC on MPC5121 or on MPC5200.
1482
1483           This driver can also be built as a module. If so, the module
1484           will be called rtc-mpc5121.
1485
1486 config RTC_DRV_JZ4740
1487         tristate "Ingenic JZ4740 SoC"
1488         depends on MACH_JZ4740
1489         help
1490           If you say yes here you get support for the Ingenic JZ4740 SoC RTC
1491           controller.
1492
1493           This driver can also be buillt as a module. If so, the module
1494           will be called rtc-jz4740.
1495
1496 config RTC_DRV_LPC24XX
1497         tristate "NXP RTC for LPC178x/18xx/408x/43xx"
1498         depends on ARCH_LPC18XX || COMPILE_TEST
1499         depends on OF && HAS_IOMEM
1500         help
1501           This enables support for the NXP RTC found which can be found on
1502           NXP LPC178x/18xx/408x/43xx devices.
1503
1504           If you have one of the devices above enable this driver to use
1505           the hardware RTC. This driver can also be buillt as a module. If
1506           so, the module will be called rtc-lpc24xx.
1507
1508 config RTC_DRV_LPC32XX
1509         depends on ARCH_LPC32XX
1510         tristate "NXP LPC32XX RTC"
1511         help
1512           This enables support for the NXP RTC in the LPC32XX
1513
1514           This driver can also be buillt as a module. If so, the module
1515           will be called rtc-lpc32xx.
1516
1517 config RTC_DRV_PM8XXX
1518         tristate "Qualcomm PMIC8XXX RTC"
1519         depends on MFD_PM8XXX || MFD_SPMI_PMIC
1520         help
1521           If you say yes here you get support for the
1522           Qualcomm PMIC8XXX RTC.
1523
1524           To compile this driver as a module, choose M here: the
1525           module will be called rtc-pm8xxx.
1526
1527 config RTC_DRV_TEGRA
1528         tristate "NVIDIA Tegra Internal RTC driver"
1529         depends on ARCH_TEGRA
1530         help
1531           If you say yes here you get support for the
1532           Tegra 200 series internal RTC module.
1533
1534           This drive can also be built as a module. If so, the module
1535           will be called rtc-tegra.
1536
1537 config RTC_DRV_TILE
1538         tristate "Tilera hypervisor RTC support"
1539         depends on TILE
1540         help
1541           Enable support for the Linux driver side of the Tilera
1542           hypervisor's real-time clock interface.
1543
1544 config RTC_DRV_PUV3
1545         tristate "PKUnity v3 RTC support"
1546         depends on ARCH_PUV3
1547         help
1548           This enables support for the RTC in the PKUnity-v3 SoCs.
1549
1550           This drive can also be built as a module. If so, the module
1551           will be called rtc-puv3.
1552
1553 config RTC_DRV_LOONGSON1
1554         tristate "loongson1 RTC support"
1555         depends on MACH_LOONGSON32
1556         help
1557           This is a driver for the loongson1 on-chip Counter0 (Time-Of-Year
1558           counter) to be used as a RTC.
1559
1560           This driver can also be built as a module. If so, the module
1561           will be called rtc-ls1x.
1562
1563 config RTC_DRV_MXC
1564         tristate "Freescale MXC Real Time Clock"
1565         depends on ARCH_MXC
1566         help
1567            If you say yes here you get support for the Freescale MXC
1568            RTC module.
1569
1570            This driver can also be built as a module, if so, the module
1571            will be called "rtc-mxc".
1572
1573 config RTC_DRV_SNVS
1574         tristate "Freescale SNVS RTC support"
1575         select REGMAP_MMIO
1576         depends on HAS_IOMEM
1577         depends on OF
1578         help
1579            If you say yes here you get support for the Freescale SNVS
1580            Low Power (LP) RTC module.
1581
1582            This driver can also be built as a module, if so, the module
1583            will be called "rtc-snvs".
1584
1585 config RTC_DRV_SIRFSOC
1586         tristate "SiRFSOC RTC"
1587         depends on ARCH_SIRF
1588         help
1589           Say "yes" here to support the real time clock on SiRF SOC chips.
1590           This driver can also be built as a module called rtc-sirfsoc.
1591
1592 config RTC_DRV_ST_LPC
1593         tristate "STMicroelectronics LPC RTC"
1594         depends on ARCH_STI
1595         depends on OF
1596         help
1597           Say Y here to include STMicroelectronics Low Power Controller
1598           (LPC) based RTC support.
1599
1600           To compile this driver as a module, choose M here: the
1601           module will be called rtc-st-lpc.
1602
1603 config RTC_DRV_MOXART
1604         tristate "MOXA ART RTC"
1605         depends on ARCH_MOXART || COMPILE_TEST
1606         help
1607            If you say yes here you get support for the MOXA ART
1608            RTC module.
1609
1610            This driver can also be built as a module. If so, the module
1611            will be called rtc-moxart
1612
1613 config RTC_DRV_MT6397
1614         tristate "Mediatek Real Time Clock driver"
1615         depends on MFD_MT6397 || (COMPILE_TEST && IRQ_DOMAIN)
1616         help
1617           This selects the Mediatek(R) RTC driver. RTC is part of Mediatek
1618           MT6397 PMIC. You should enable MT6397 PMIC MFD before select
1619           Mediatek(R) RTC driver.
1620
1621           If you want to use Mediatek(R) RTC interface, select Y or M here.
1622
1623 config RTC_DRV_XGENE
1624         tristate "APM X-Gene RTC"
1625         depends on HAS_IOMEM
1626         depends on ARCH_XGENE || COMPILE_TEST
1627         help
1628           If you say yes here you get support for the APM X-Gene SoC real time
1629           clock.
1630
1631           This driver can also be built as a module, if so, the module
1632           will be called "rtc-xgene".
1633
1634 comment "HID Sensor RTC drivers"
1635
1636 config RTC_DRV_HID_SENSOR_TIME
1637         tristate "HID Sensor Time"
1638         depends on USB_HID
1639         select IIO
1640         select HID_SENSOR_HUB
1641         select HID_SENSOR_IIO_COMMON
1642         help
1643           Say yes here to build support for the HID Sensors of type Time.
1644           This drivers makes such sensors available as RTCs.
1645
1646           If this driver is compiled as a module, it will be named
1647           rtc-hid-sensor-time.
1648
1649
1650 endif # RTC_CLASS