Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# RTC class/drivers configuration
4#
5
6config RTC_LIB
7 bool
8
9config RTC_MC146818_LIB
10 bool
11 select RTC_LIB
12
13menuconfig RTC_CLASS
14 bool "Real Time Clock"
15 default n
16 depends on !S390
17 select RTC_LIB
18 help
19 Generic RTC class support. If you say yes here, you will
20 be allowed to plug one or more RTCs to your system. You will
21 probably want to enable one or more of the interfaces below.
22
23if RTC_CLASS
24
25config RTC_HCTOSYS
26 bool "Set system time from RTC on startup and resume"
27 default y
28 help
29 If you say yes here, the system time (wall clock) will be set using
30 the value read from a specified RTC device. This is useful to avoid
31 unnecessary fsck runs at boot time, and to network better.
32
33config RTC_HCTOSYS_DEVICE
34 string "RTC used to set the system time"
35 depends on RTC_HCTOSYS
36 default "rtc0"
37 help
38 The RTC device that will be used to (re)initialize the system
39 clock, usually rtc0. Initialization is done when the system
40 starts up, and when it resumes from a low power state. This
41 device should record time in UTC, since the kernel won't do
42 timezone correction.
43
44 This clock should be battery-backed, so that it reads the correct
45 time when the system boots from a power-off state. Otherwise, your
46 system will need an external clock source (like an NTP server).
47
48 If the clock you specify here is not battery backed, it may still
49 be useful to reinitialize system time when resuming from system
50 sleep states. Do not specify an RTC here unless it stays powered
51 during all this system's supported sleep states.
52
53config RTC_SYSTOHC
54 bool "Set the RTC time based on NTP synchronization"
55 default y
56 help
57 If you say yes here, the system time (wall clock) will be stored
58 in the RTC specified by RTC_HCTOSYS_DEVICE approximately every 11
59 minutes if userspace reports synchronized NTP status.
60
61config RTC_SYSTOHC_DEVICE
62 string "RTC used to synchronize NTP adjustment"
63 depends on RTC_SYSTOHC
64 default RTC_HCTOSYS_DEVICE if RTC_HCTOSYS
65 default "rtc0"
66 help
67 The RTC device used for NTP synchronization. The main difference
68 between RTC_HCTOSYS_DEVICE and RTC_SYSTOHC_DEVICE is that this
69 one can sleep when setting time, because it runs in the workqueue
70 context.
71
72config RTC_DEBUG
73 bool "RTC debug support"
74 help
75 Say yes here to enable debugging support in the RTC framework
76 and individual RTC drivers.
77
78config RTC_LIB_KUNIT_TEST
79 tristate "KUnit test for RTC lib functions" if !KUNIT_ALL_TESTS
80 depends on KUNIT
81 default KUNIT_ALL_TESTS
82 help
83 Enable this option to test RTC library functions.
84
85 If unsure, say N.
86
87config RTC_NVMEM
88 bool "RTC non volatile storage support"
89 select NVMEM
90 default RTC_CLASS
91 help
92 Say yes here to add support for the non volatile (often battery
93 backed) storage present on RTCs.
94
95comment "RTC interfaces"
96
97config RTC_INTF_SYSFS
98 bool "/sys/class/rtc/rtcN (sysfs)"
99 depends on SYSFS
100 default RTC_CLASS
101 help
102 Say yes here if you want to use your RTCs using sysfs interfaces,
103 /sys/class/rtc/rtc0 through /sys/.../rtcN.
104
105 If unsure, say Y.
106
107config RTC_INTF_PROC
108 bool "/proc/driver/rtc (procfs for rtcN)"
109 depends on PROC_FS
110 default RTC_CLASS
111 help
112 Say yes here if you want to use your system clock RTC through
113 the proc interface, /proc/driver/rtc.
114 Other RTCs will not be available through that API.
115 If there is no RTC for the system clock, then the first RTC(rtc0)
116 is used by default.
117
118 If unsure, say Y.
119
120config RTC_INTF_DEV
121 bool "/dev/rtcN (character devices)"
122 default RTC_CLASS
123 help
124 Say yes here if you want to use your RTCs using the /dev
125 interfaces, which "udev" sets up as /dev/rtc0 through
126 /dev/rtcN.
127
128 You may want to set up a symbolic link so one of these
129 can be accessed as /dev/rtc, which is a name
130 expected by "hwclock" and some other programs. Recent
131 versions of "udev" are known to set up the symlink for you.
132
133 If unsure, say Y.
134
135config RTC_INTF_DEV_UIE_EMUL
136 bool "RTC UIE emulation on dev interface"
137 depends on RTC_INTF_DEV
138 help
139 Provides an emulation for RTC_UIE if the underlying rtc chip
140 driver does not expose RTC_UIE ioctls. Those requests generate
141 once-per-second update interrupts, used for synchronization.
142
143 The emulation code will read the time from the hardware
144 clock several times per second, please enable this option
145 only if you know that you really need it.
146
147config RTC_DRV_TEST
148 tristate "Test driver/device"
149 help
150 If you say yes here you get support for the
151 RTC test driver. It's a software RTC which can be
152 used to test the RTC subsystem APIs. It gets
153 the time from the system clock.
154 You want this driver only if you are doing development
155 on the RTC subsystem. Please read the source code
156 for further details.
157
158 This driver can also be built as a module. If so, the module
159 will be called rtc-test.
160
161comment "I2C RTC drivers"
162
163if I2C
164
165config RTC_DRV_88PM860X
166 tristate "Marvell 88PM860x"
167 depends on MFD_88PM860X
168 help
169 If you say yes here you get support for RTC function in Marvell
170 88PM860x chips.
171
172 This driver can also be built as a module. If so, the module
173 will be called rtc-88pm860x.
174
175config RTC_DRV_88PM80X
176 tristate "Marvell 88PM80x"
177 depends on MFD_88PM800
178 help
179 If you say yes here you get support for RTC function in Marvell
180 88PM80x chips.
181
182 This driver can also be built as a module. If so, the module
183 will be called rtc-88pm80x.
184
185config RTC_DRV_88PM886
186 tristate "Marvell 88PM886 RTC driver"
187 depends on MFD_88PM886_PMIC
188 help
189 If you say yes here you will get support for the RTC function in the
190 Marvell 88PM886 chip.
191
192 This driver can also be built as a module. If so, the module
193 will be called rtc-88pm886.
194
195config RTC_DRV_ABB5ZES3
196 select REGMAP_I2C
197 tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
198 help
199 If you say yes here you get support for the Abracon
200 AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip.
201
202 This driver can also be built as a module. If so, the module
203 will be called rtc-ab-b5ze-s3.
204
205config RTC_DRV_ABEOZ9
206 select REGMAP_I2C
207 tristate "Abracon AB-RTCMC-32.768kHz-EOZ9"
208 help
209 If you say yes here you get support for the Abracon
210 AB-RTCMC-32.768kHz-EOA9 I2C RTC chip.
211
212 This driver can also be built as a module. If so, the module
213 will be called rtc-ab-e0z9.
214
215config RTC_DRV_ABX80X
216 tristate "Abracon ABx80x"
217 select WATCHDOG_CORE if WATCHDOG
218 help
219 If you say yes here you get support for Abracon AB080X and AB180X
220 families of ultra-low-power battery- and capacitor-backed real-time
221 clock chips.
222
223 This driver can also be built as a module. If so, the module
224 will be called rtc-abx80x.
225
226config RTC_DRV_AC100
227 tristate "X-Powers AC100"
228 depends on MFD_AC100
229 help
230 If you say yes here you get support for the real-time clock found
231 in X-Powers AC100 family peripheral ICs.
232
233 This driver can also be built as a module. If so, the module
234 will be called rtc-ac100.
235
236config RTC_DRV_BRCMSTB
237 tristate "Broadcom STB wake-timer"
238 depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
239 default ARCH_BRCMSTB || BMIPS_GENERIC
240 help
241 If you say yes here you get support for the wake-timer found on
242 Broadcom STB SoCs (BCM7xxx).
243
244 This driver can also be built as a module. If so, the module will
245 be called rtc-brcmstb-waketimer.
246
247config RTC_DRV_AS3722
248 tristate "ams AS3722 RTC driver"
249 depends on MFD_AS3722
250 help
251 If you say yes here you get support for the RTC of ams AS3722 PMIC
252 chips.
253
254 This driver can also be built as a module. If so, the module
255 will be called rtc-as3722.
256
257config RTC_DRV_DS1307
258 tristate "Dallas/Maxim DS1307/37/38/39/40/41, ST M41T00, EPSON RX-8025, ISL12057"
259 select REGMAP_I2C
260 select WATCHDOG_CORE if WATCHDOG
261 help
262 If you say yes here you get support for various compatible RTC
263 chips (often with battery backup) connected with I2C. This driver
264 should handle DS1307, DS1337, DS1338, DS1339, DS1340, DS1341,
265 ST M41T00, EPSON RX-8025, Intersil ISL12057 and probably other chips.
266 In some cases the RTC must already have been initialized (by
267 manufacturing or a bootloader).
268
269 The first seven registers on these chips hold an RTC, and other
270 registers may add features such as NVRAM, a trickle charger for
271 the RTC/NVRAM backup power, and alarms. NVRAM is visible in
272 sysfs, but other chip features may not be available.
273
274 This driver can also be built as a module. If so, the module
275 will be called rtc-ds1307.
276
277config RTC_DRV_DS1307_CENTURY
278 bool "Century bit support for rtc-ds1307"
279 depends on RTC_DRV_DS1307
280 default n
281 help
282 The DS1307 driver suffered from a bug where it was enabling the
283 century bit inconditionnally but never used it when reading the time.
284 It made the driver unable to support dates beyond 2099.
285 Setting this option will add proper support for the century bit but if
286 the time was previously set using a kernel predating this option,
287 reading the date will return a date in the next century.
288 To solve that, you could boot a kernel without this option set, set
289 the RTC date and then boot a kernel with this option set.
290
291config RTC_DRV_DS1374
292 tristate "Dallas/Maxim DS1374"
293 help
294 If you say yes here you get support for Dallas Semiconductor
295 DS1374 real-time clock chips. If an interrupt is associated
296 with the device, the alarm functionality is supported.
297
298 This driver can also be built as a module. If so, the module
299 will be called rtc-ds1374.
300
301config RTC_DRV_DS1374_WDT
302 bool "Dallas/Maxim DS1374 watchdog timer"
303 depends on RTC_DRV_DS1374 && WATCHDOG
304 select WATCHDOG_CORE
305 help
306 If you say Y here you will get support for the
307 watchdog timer in the Dallas Semiconductor DS1374
308 real-time clock chips.
309
310config RTC_DRV_DS1672
311 tristate "Dallas/Maxim DS1672"
312 help
313 If you say yes here you get support for the
314 Dallas/Maxim DS1672 timekeeping chip.
315
316 This driver can also be built as a module. If so, the module
317 will be called rtc-ds1672.
318
319config RTC_DRV_HYM8563
320 tristate "Haoyu Microelectronics HYM8563"
321 depends on OF
322 help
323 Say Y to enable support for the HYM8563 I2C RTC chip. Apart
324 from the usual rtc functions it provides a clock output of
325 up to 32kHz.
326
327 This driver can also be built as a module. If so, the module
328 will be called rtc-hym8563.
329
330config RTC_DRV_LP8788
331 tristate "TI LP8788 RTC driver"
332 depends on MFD_LP8788
333 help
334 Say Y to enable support for the LP8788 RTC/ALARM driver.
335
336config RTC_DRV_MAX6900
337 tristate "Maxim MAX6900"
338 help
339 If you say yes here you will get support for the
340 Maxim MAX6900 I2C RTC chip.
341
342 This driver can also be built as a module. If so, the module
343 will be called rtc-max6900.
344
345config RTC_DRV_MAX8907
346 tristate "Maxim MAX8907"
347 depends on MFD_MAX8907 || COMPILE_TEST
348 select REGMAP_IRQ
349 help
350 If you say yes here you will get support for the
351 RTC of Maxim MAX8907 PMIC.
352
353 This driver can also be built as a module. If so, the module
354 will be called rtc-max8907.
355
356config RTC_DRV_MAX8925
357 tristate "Maxim MAX8925"
358 depends on MFD_MAX8925
359 help
360 If you say yes here you will get support for the
361 RTC of Maxim MAX8925 PMIC.
362
363 This driver can also be built as a module. If so, the module
364 will be called rtc-max8925.
365
366config RTC_DRV_MAX8998
367 tristate "Maxim MAX8998"
368 depends on MFD_MAX8998
369 help
370 If you say yes here you will get support for the
371 RTC of Maxim MAX8998 PMIC.
372
373 This driver can also be built as a module. If so, the module
374 will be called rtc-max8998.
375
376config RTC_DRV_MAX8997
377 tristate "Maxim MAX8997"
378 depends on MFD_MAX8997
379 help
380 If you say yes here you will get support for the
381 RTC of Maxim MAX8997 PMIC.
382
383 This driver can also be built as a module. If so, the module
384 will be called rtc-max8997.
385
386config RTC_DRV_MAX31335
387 tristate "Analog Devices MAX31335"
388 depends on I2C
389 depends on COMMON_CLK
390 depends on HWMON || HWMON=n
391 select REGMAP_I2C
392 help
393 If you say yes here you get support for the Analog Devices
394 MAX31335.
395
396 This driver can also be built as a module. If so, the module
397 will be called rtc-max31335.
398
399config RTC_DRV_MAX77686
400 tristate "Maxim MAX77686"
401 depends on MFD_MAX77686 || MFD_MAX77620 || MFD_MAX77714 || COMPILE_TEST
402 help
403 If you say yes here you will get support for the
404 RTC of Maxim MAX77686/MAX77620/MAX77802 PMIC.
405
406 This driver can also be built as a module. If so, the module
407 will be called rtc-max77686.
408
409config RTC_DRV_SPACEMIT_P1
410 tristate "SpacemiT P1 RTC"
411 depends on ARCH_SPACEMIT || COMPILE_TEST
412 select MFD_SPACEMIT_P1
413 default ARCH_SPACEMIT
414 help
415 Enable support for the RTC function in the SpacemiT P1 PMIC.
416 This driver can also be built as a module, which will be called
417 "spacemit-p1-rtc".
418
419config RTC_DRV_NCT3018Y
420 tristate "Nuvoton NCT3018Y"
421 depends on OF
422 help
423 If you say yes here you get support for the Nuvoton NCT3018Y I2C RTC
424 chip.
425
426 This driver can also be built as a module, if so, the module will be
427 called "rtc-nct3018y".
428
429config RTC_DRV_NCT6694
430 tristate "Nuvoton NCT6694 RTC support"
431 depends on MFD_NCT6694
432 help
433 If you say yes to this option, support will be included for Nuvoton
434 NCT6694, a USB device to RTC.
435
436 This driver can also be built as a module. If so, the module will
437 be called rtc-nct6694.
438
439config RTC_DRV_RK808
440 tristate "Rockchip RK805/RK808/RK809/RK817/RK818 RTC"
441 depends on MFD_RK8XX
442 help
443 If you say yes here you will get support for the
444 RTC of RK805, RK809 and RK817, RK808 and RK818 PMIC.
445
446 This driver can also be built as a module. If so, the module
447 will be called rk808-rtc.
448
449config RTC_DRV_RS5C372
450 tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
451 help
452 If you say yes here you get support for the
453 Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
454
455 This driver can also be built as a module. If so, the module
456 will be called rtc-rs5c372.
457
458config RTC_DRV_ISL1208
459 tristate "Intersil ISL1208"
460 help
461 If you say yes here you get support for the
462 Intersil ISL1208 RTC chip.
463
464 This driver can also be built as a module. If so, the module
465 will be called rtc-isl1208.
466
467config RTC_DRV_ISL12022
468 tristate "Intersil ISL12022"
469 select REGMAP_I2C
470 help
471 If you say yes here you get support for the
472 Intersil ISL12022 RTC chip.
473
474 This driver can also be built as a module. If so, the module
475 will be called rtc-isl12022.
476
477config RTC_DRV_ISL12026
478 tristate "Intersil ISL12026"
479 depends on OF
480 help
481 If you say yes here you get support for the
482 Intersil ISL12026 RTC chip.
483
484 This driver can also be built as a module. If so, the module
485 will be called rtc-isl12026.
486
487config RTC_DRV_X1205
488 tristate "Xicor/Intersil X1205"
489 help
490 If you say yes here you get support for the
491 Xicor/Intersil X1205 RTC chip.
492
493 This driver can also be built as a module. If so, the module
494 will be called rtc-x1205.
495
496config RTC_DRV_PCF8523
497 tristate "NXP PCF8523"
498 select REGMAP_I2C
499 help
500 If you say yes here you get support for the NXP PCF8523 RTC
501 chips.
502
503 This driver can also be built as a module. If so, the module
504 will be called rtc-pcf8523.
505
506config RTC_DRV_PCF85363
507 tristate "NXP PCF85363"
508 select REGMAP_I2C
509 help
510 If you say yes here you get support for the PCF85363 RTC chip.
511
512 This driver can also be built as a module. If so, the module
513 will be called rtc-pcf85363.
514
515 The nvmem interface will be named pcf85363-#, where # is the
516 zero-based instance number.
517
518config RTC_DRV_PCF8563
519 tristate "Philips PCF8563/Epson RTC8564"
520 select REGMAP_I2C
521 help
522 If you say yes here you get support for the
523 Philips PCF8563 RTC chip. The Epson RTC8564
524 should work as well.
525
526 This driver can also be built as a module. If so, the module
527 will be called rtc-pcf8563.
528
529config RTC_DRV_PCF8583
530 tristate "Philips PCF8583"
531 help
532 If you say yes here you get support for the Philips PCF8583
533 RTC chip found on Acorn RiscPCs. This driver supports the
534 platform specific method of retrieving the current year from
535 the RTC's SRAM. It will work on other platforms with the same
536 chip, but the year will probably have to be tweaked.
537
538 This driver can also be built as a module. If so, the module
539 will be called rtc-pcf8583.
540
541config RTC_DRV_M41T80
542 tristate "ST M41T62/65/M41T80/81/82/83/84/85/87 and compatible"
543 help
544 If you say Y here you will get support for the ST M41T60
545 and M41T80 RTC chips series. Currently, the following chips are
546 supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
547 M41ST85, M41ST87, and MicroCrystal RV4162.
548
549 This driver can also be built as a module. If so, the module
550 will be called rtc-m41t80.
551
552config RTC_DRV_M41T80_WDT
553 bool "ST M41T65/M41T80 series RTC watchdog timer"
554 depends on RTC_DRV_M41T80
555 help
556 If you say Y here you will get support for the
557 watchdog timer in the ST M41T60 and M41T80 RTC chips series.
558
559config RTC_DRV_BD70528
560 tristate "ROHM BD71815 and BD71828 PMIC RTC"
561 depends on MFD_ROHM_BD71828
562 help
563 If you say Y here you will get support for the RTC
564 block on ROHM BD71815 and BD71828 Power Management IC.
565
566 This driver can also be built as a module. If so, the module
567 will be called rtc-bd70528.
568
569config RTC_DRV_BQ32K
570 tristate "TI BQ32000"
571 help
572 If you say Y here you will get support for the TI
573 BQ32000 I2C RTC chip.
574
575 This driver can also be built as a module. If so, the module
576 will be called rtc-bq32k.
577
578config RTC_DRV_TWL92330
579 bool "TI TWL92330/Menelaus"
580 depends on MENELAUS
581 help
582 If you say yes here you get support for the RTC on the
583 TWL92330 "Menelaus" power management chip, used with OMAP2
584 platforms. The support is integrated with the rest of
585 the Menelaus driver; it's not separate module.
586
587config RTC_DRV_TWL4030
588 tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
589 depends on TWL4030_CORE
590 depends on OF
591 help
592 If you say yes here you get support for the RTC on the
593 TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
594
595 This driver can also be built as a module. If so, the module
596 will be called rtc-twl.
597
598config RTC_DRV_PALMAS
599 tristate "TI Palmas RTC driver"
600 depends on MFD_PALMAS
601 help
602 If you say yes here you get support for the RTC of TI PALMA series PMIC
603 chips.
604
605 This driver can also be built as a module. If so, the module
606 will be called rtc-palma.
607
608config RTC_DRV_TPS6586X
609 tristate "TI TPS6586X RTC driver"
610 depends on MFD_TPS6586X
611 help
612 TI Power Management IC TPS6586X supports RTC functionality
613 along with alarm. This driver supports the RTC driver for
614 the TPS6586X RTC module.
615
616config RTC_DRV_TPS6594
617 tristate "TI TPS6594 RTC driver"
618 depends on MFD_TPS6594
619 default MFD_TPS6594
620 help
621 TI Power Management IC TPS6594 supports RTC functionality
622 along with alarm. This driver supports the RTC driver for
623 the TPS6594 RTC module.
624
625 This driver can also be built as a module. If so, the module
626 will be called rtc-tps6594.
627
628config RTC_DRV_TPS65910
629 tristate "TI TPS65910 RTC driver"
630 depends on MFD_TPS65910
631 help
632 If you say yes here you get support for the RTC on the
633 TPS65910 chips.
634
635 This driver can also be built as a module. If so, the module
636 will be called rtc-tps65910.
637
638config RTC_DRV_RC5T583
639 tristate "RICOH 5T583 RTC driver"
640 depends on MFD_RC5T583
641 help
642 If you say yes here you get support for the RTC on the
643 RICOH 5T583 chips.
644
645 This driver can also be built as a module. If so, the module
646 will be called rtc-rc5t583.
647
648config RTC_DRV_RC5T619
649 tristate "RICOH RC5T619 RTC driver"
650 depends on MFD_RN5T618
651 help
652 If you say yes here you get support for the RTC on the
653 RICOH RC5T619 chips.
654
655 This driver can also be built as a module. If so, the module
656 will be called rtc-rc5t619.
657
658config RTC_DRV_S35390A
659 tristate "Seiko Instruments S-35390A"
660 select BITREVERSE
661 help
662 If you say yes here you will get support for the Seiko
663 Instruments S-35390A.
664
665 This driver can also be built as a module. If so the module
666 will be called rtc-s35390a.
667
668config RTC_DRV_FM3130
669 tristate "Ramtron FM3130"
670 help
671 If you say Y here you will get support for the
672 Ramtron FM3130 RTC chips.
673 Ramtron FM3130 is a chip with two separate devices inside,
674 RTC clock and FRAM. This driver provides only RTC functionality.
675
676 This driver can also be built as a module. If so the module
677 will be called rtc-fm3130.
678
679config RTC_DRV_RX8010
680 tristate "Epson RX8010SJ"
681 select REGMAP_I2C
682 help
683 If you say yes here you get support for the Epson RX8010SJ RTC
684 chip.
685
686 This driver can also be built as a module. If so, the module
687 will be called rtc-rx8010.
688
689config RTC_DRV_RX8111
690 tristate "Epson RX8111"
691 select REGMAP_I2C
692 depends on I2C
693 help
694 If you say yes here you will get support for the Epson RX8111 RTC.
695
696 This driver can also be built as a module. If so, the module will be
697 called rtc-rx8111.
698
699config RTC_DRV_RX8581
700 tristate "Epson RX-8571/RX-8581"
701 select REGMAP_I2C
702 help
703 If you say yes here you will get support for the Epson RX-8571/
704 RX-8581.
705
706 This driver can also be built as a module. If so the module
707 will be called rtc-rx8581.
708
709config RTC_DRV_RX8025
710 tristate "Epson RX-8025SA/NB"
711 help
712 If you say yes here you get support for the Epson
713 RX-8025SA/NB RTC chips.
714
715 This driver can also be built as a module. If so, the module
716 will be called rtc-rx8025.
717
718config RTC_DRV_EM3027
719 tristate "EM Microelectronic EM3027"
720 help
721 If you say yes here you get support for the EM
722 Microelectronic EM3027 RTC chips.
723
724 This driver can also be built as a module. If so, the module
725 will be called rtc-em3027.
726
727config RTC_DRV_RV3028
728 tristate "Micro Crystal RV3028"
729 select REGMAP_I2C
730 help
731 If you say yes here you get support for the Micro Crystal
732 RV3028.
733
734 This driver can also be built as a module. If so, the module
735 will be called rtc-rv3028.
736
737config RTC_DRV_RV3032
738 tristate "Micro Crystal RV3032"
739 select REGMAP_I2C
740 help
741 If you say yes here you get support for the Micro Crystal
742 RV3032.
743
744 This driver can also be built as a module. If so, the module
745 will be called rtc-rv3032.
746
747config RTC_DRV_RV8803
748 tristate "Micro Crystal RV8803, Epson RX8900"
749 help
750 If you say yes here you get support for the Micro Crystal RV8803 and
751 Epson RX8900 RTC chips.
752
753 This driver can also be built as a module. If so, the module
754 will be called rtc-rv8803.
755
756config RTC_DRV_S5M
757 tristate "Samsung S2M/S5M series"
758 depends on MFD_SEC_CORE || COMPILE_TEST
759 select REGMAP_IRQ
760 select REGMAP_I2C
761 help
762 If you say yes here you will get support for the
763 RTC of Samsung S2MPS14 and S5M PMIC series.
764
765 This driver can also be built as a module. If so, the module
766 will be called rtc-s5m.
767
768config RTC_DRV_SD2405AL
769 tristate "DFRobot SD2405AL"
770 select REGMAP_I2C
771 help
772 If you say yes here you will get support for the
773 DFRobot SD2405AL I2C RTC Module.
774
775 This driver can also be built as a module. If so, the module
776 will be called rtc-sd2405al.
777
778config RTC_DRV_SD3078
779 tristate "ZXW Shenzhen whwave SD3078"
780 select REGMAP_I2C
781 help
782 If you say yes here you get support for the ZXW Shenzhen whwave
783 SD3078 RTC chips.
784
785 This driver can also be built as a module. If so, the module
786 will be called rtc-sd3078
787
788endif # I2C
789
790comment "SPI RTC drivers"
791
792if SPI_MASTER
793
794config RTC_DRV_M41T93
795 tristate "ST M41T93"
796 help
797 If you say yes here you will get support for the
798 ST M41T93 SPI RTC chip.
799
800 This driver can also be built as a module. If so, the module
801 will be called rtc-m41t93.
802
803config RTC_DRV_M41T94
804 tristate "ST M41T94"
805 help
806 If you say yes here you will get support for the
807 ST M41T94 SPI RTC chip.
808
809 This driver can also be built as a module. If so, the module
810 will be called rtc-m41t94.
811
812config RTC_DRV_DS1302
813 tristate "Dallas/Maxim DS1302"
814 depends on SPI
815 help
816 If you say yes here you get support for the Dallas DS1302 RTC chips.
817
818 This driver can also be built as a module. If so, the module
819 will be called rtc-ds1302.
820
821config RTC_DRV_DS1305
822 tristate "Dallas/Maxim DS1305/DS1306"
823 help
824 Select this driver to get support for the Dallas/Maxim DS1305
825 and DS1306 real time clock chips. These support a trickle
826 charger, alarms, and NVRAM in addition to the clock.
827
828 This driver can also be built as a module. If so, the module
829 will be called rtc-ds1305.
830
831config RTC_DRV_DS1343
832 select REGMAP_SPI
833 tristate "Dallas/Maxim DS1343/DS1344"
834 help
835 If you say yes here you get support for the
836 Dallas/Maxim DS1343 and DS1344 real time clock chips.
837 Support for trickle charger, alarm is provided.
838
839 This driver can also be built as a module. If so, the module
840 will be called rtc-ds1343.
841
842config RTC_DRV_DS1347
843 select REGMAP_SPI
844 tristate "Dallas/Maxim DS1347"
845 help
846 If you say yes here you get support for the
847 Dallas/Maxim DS1347 chips.
848
849 This driver only supports the RTC feature, and not other chip
850 features such as alarms.
851
852 This driver can also be built as a module. If so, the module
853 will be called rtc-ds1347.
854
855config RTC_DRV_DS1390
856 tristate "Dallas/Maxim DS1390/93/94"
857 help
858 If you say yes here you get support for the
859 Dallas/Maxim DS1390/93/94 chips.
860
861 This driver supports the RTC feature and trickle charging but not
862 other chip features such as alarms.
863
864 This driver can also be built as a module. If so, the module
865 will be called rtc-ds1390.
866
867config RTC_DRV_MAX6916
868 tristate "Maxim MAX6916"
869 help
870 If you say yes here you will get support for the
871 Maxim MAX6916 SPI RTC chip.
872
873 This driver only supports the RTC feature, and not other chip
874 features such as alarms.
875
876 This driver can also be built as a module. If so, the module
877 will be called rtc-max6916.
878
879config RTC_DRV_R9701
880 tristate "Epson RTC-9701JE"
881 help
882 If you say yes here you will get support for the
883 Epson RTC-9701JE SPI RTC chip.
884
885 This driver can also be built as a module. If so, the module
886 will be called rtc-r9701.
887
888config RTC_DRV_RX4581
889 tristate "Epson RX-4581"
890 help
891 If you say yes here you will get support for the Epson RX-4581.
892
893 This driver can also be built as a module. If so the module
894 will be called rtc-rx4581.
895
896config RTC_DRV_RS5C348
897 tristate "Ricoh RS5C348A/B"
898 help
899 If you say yes here you get support for the
900 Ricoh RS5C348A and RS5C348B RTC chips.
901
902 This driver can also be built as a module. If so, the module
903 will be called rtc-rs5c348.
904
905config RTC_DRV_MAX6902
906 tristate "Maxim MAX6902"
907 help
908 If you say yes here you will get support for the
909 Maxim MAX6902 SPI RTC chip.
910
911 This driver can also be built as a module. If so, the module
912 will be called rtc-max6902.
913
914config RTC_DRV_PCF2123
915 tristate "NXP PCF2123"
916 select REGMAP_SPI
917 help
918 If you say yes here you get support for the NXP PCF2123
919 RTC chip.
920
921 This driver can also be built as a module. If so, the module
922 will be called rtc-pcf2123.
923
924config RTC_DRV_MCP795
925 tristate "Microchip MCP795"
926 help
927 If you say yes here you will get support for the Microchip MCP795.
928
929 This driver can also be built as a module. If so the module
930 will be called rtc-mcp795.
931
932endif # SPI_MASTER
933
934#
935# Helper to resolve issues with configs that have SPI enabled but I2C
936# modular. See SND_SOC_I2C_AND_SPI for more information
937#
938config RTC_I2C_AND_SPI
939 tristate
940 default m if I2C=m
941 default y if I2C=y
942 default y if SPI_MASTER=y
943
944comment "SPI and I2C RTC drivers"
945
946config RTC_DRV_DS3232
947 tristate "Dallas/Maxim DS3232/DS3234"
948 depends on RTC_I2C_AND_SPI
949 select REGMAP_I2C if I2C
950 select REGMAP_SPI if SPI_MASTER
951 help
952 If you say yes here you get support for Dallas Semiconductor
953 DS3232 and DS3234 real-time clock chips. If an interrupt is associated
954 with the device, the alarm functionality is supported.
955
956 This driver can also be built as a module. If so, the module
957 will be called rtc-ds3232.
958
959config RTC_DRV_DS3232_HWMON
960 bool "HWMON support for Dallas/Maxim DS3232/DS3234"
961 depends on RTC_DRV_DS3232 && HWMON && !(RTC_DRV_DS3232=y && HWMON=m)
962 default y
963 help
964 Say Y here if you want to expose temperature sensor data on
965 rtc-ds3232
966
967config RTC_DRV_PCF2127
968 tristate "NXP PCF2127"
969 depends on RTC_I2C_AND_SPI
970 select REGMAP_I2C if I2C
971 select REGMAP_SPI if SPI_MASTER
972 select WATCHDOG_CORE if WATCHDOG
973 help
974 If you say yes here you get support for the NXP PCF2127/29/31 RTC
975 chips with integrated quartz crystal for industrial applications.
976 These chips also have watchdog timer and tamper switch detection
977 features.
978
979 PCF2127 has an additional feature of 512 bytes battery backed
980 memory that's accessible using nvmem interface.
981
982 This driver can also be built as a module. If so, the module
983 will be called rtc-pcf2127.
984
985config RTC_DRV_PCF85063
986 tristate "NXP PCF85063"
987 depends on RTC_I2C_AND_SPI
988 select REGMAP_I2C if I2C
989 select REGMAP_SPI if SPI_MASTER
990 help
991 If you say yes here you get support for the PCF85063 and RV8063
992 RTC chips.
993
994 This driver can also be built as a module. If so, the module
995 will be called rtc-pcf85063.
996
997config RTC_DRV_RV3029C2
998 tristate "Micro Crystal RV3029/3049"
999 depends on RTC_I2C_AND_SPI
1000 select REGMAP_I2C if I2C
1001 select REGMAP_SPI if SPI_MASTER
1002 help
1003 If you say yes here you get support for the Micro Crystal
1004 RV3029 and RV3049 RTC chips.
1005
1006 This driver can also be built as a module. If so, the module
1007 will be called rtc-rv3029c2.
1008
1009config RTC_DRV_RV3029_HWMON
1010 bool "HWMON support for RV3029/3049"
1011 depends on RTC_DRV_RV3029C2 && HWMON
1012 depends on !(RTC_DRV_RV3029C2=y && HWMON=m)
1013 default y
1014 help
1015 Say Y here if you want to expose temperature sensor data on
1016 rtc-rv3029.
1017
1018config RTC_DRV_RX6110
1019 tristate "Epson RX-6110"
1020 depends on RTC_I2C_AND_SPI
1021 select REGMAP_SPI if SPI_MASTER
1022 select REGMAP_I2C if I2C
1023 help
1024 If you say yes here you will get support for the Epson RX-6110.
1025
1026 This driver can also be built as a module. If so the module
1027 will be called rtc-rx6110.
1028
1029comment "Platform RTC drivers"
1030
1031# this 'CMOS' RTC driver is arch dependent because it requires
1032# <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
1033# global rtc_lock ... it's not yet just another platform_device.
1034
1035config RTC_DRV_CMOS
1036 tristate "PC-style 'CMOS'"
1037 depends on X86 || ARM || PPC || MIPS || SPARC64
1038 depends on HAS_IOPORT || MACH_DECSTATION
1039 default y if X86
1040 select RTC_MC146818_LIB
1041 help
1042 Say "yes" here to get direct support for the real time clock
1043 found in every PC or ACPI-based system, and some other boards.
1044 Specifically the original MC146818, compatibles like those in
1045 PC south bridges, the DS12887 or M48T86, some multifunction
1046 or LPC bus chips, and so on.
1047
1048 Your system will need to define the platform device used by
1049 this driver, otherwise it won't be accessible. This means
1050 you can safely enable this driver if you don't know whether
1051 or not your board has this kind of hardware.
1052
1053 This driver can also be built as a module. If so, the module
1054 will be called rtc-cmos.
1055
1056config RTC_DRV_ALPHA
1057 bool "Alpha PC-style CMOS"
1058 depends on ALPHA
1059 depends on HAS_IOPORT
1060 select RTC_MC146818_LIB
1061 default y
1062 help
1063 Direct support for the real-time clock found on every Alpha
1064 system, specifically MC146818 compatibles. If in doubt, say Y.
1065
1066config RTC_DRV_DS1216
1067 tristate "Dallas DS1216"
1068 depends on SNI_RM
1069 help
1070 If you say yes here you get support for the Dallas DS1216 RTC chips.
1071
1072config RTC_DRV_DS1286
1073 tristate "Dallas DS1286"
1074 depends on HAS_IOMEM
1075 help
1076 If you say yes here you get support for the Dallas DS1286 RTC chips.
1077
1078config RTC_DRV_DS1511
1079 tristate "Dallas DS1511"
1080 depends on HAS_IOMEM
1081 help
1082 If you say yes here you get support for the
1083 Dallas DS1511 timekeeping/watchdog chip.
1084
1085 This driver can also be built as a module. If so, the module
1086 will be called rtc-ds1511.
1087
1088config RTC_DRV_DS1553
1089 tristate "Maxim/Dallas DS1553"
1090 depends on HAS_IOMEM
1091 help
1092 If you say yes here you get support for the
1093 Maxim/Dallas DS1553 timekeeping chip.
1094
1095 This driver can also be built as a module. If so, the module
1096 will be called rtc-ds1553.
1097
1098config RTC_DRV_DS1685_FAMILY
1099 tristate "Dallas/Maxim DS1685 Family"
1100 depends on HAS_IOMEM
1101 help
1102 If you say yes here you get support for the Dallas/Maxim DS1685
1103 family of real time chips. This family includes the DS1685/DS1687,
1104 DS1689/DS1693, DS17285/DS17287, DS17485/DS17487, and
1105 DS17885/DS17887 chips.
1106
1107 This driver can also be built as a module. If so, the module
1108 will be called rtc-ds1685.
1109
1110choice
1111 prompt "Subtype"
1112 depends on RTC_DRV_DS1685_FAMILY
1113 default RTC_DRV_DS1685
1114
1115config RTC_DRV_DS1685
1116 bool "DS1685/DS1687"
1117 help
1118 This enables support for the Dallas/Maxim DS1685/DS1687 real time
1119 clock chip.
1120
1121 This chip is commonly found in SGI O2 (IP32) and SGI Octane (IP30)
1122 systems, as well as EPPC-405-UC modules by electronic system design
1123 GmbH.
1124
1125config RTC_DRV_DS1689
1126 bool "DS1689/DS1693"
1127 help
1128 This enables support for the Dallas/Maxim DS1689/DS1693 real time
1129 clock chip.
1130
1131 This is an older RTC chip, supplanted by the DS1685/DS1687 above,
1132 which supports a few minor features such as Vcc, Vbat, and Power
1133 Cycle counters, plus a customer-specific, 8-byte ROM/Serial number.
1134
1135 It also works for the even older DS1688/DS1691 RTC chips, which are
1136 virtually the same and carry the same model number. Both chips
1137 have 114 bytes of user NVRAM.
1138
1139config RTC_DRV_DS17285
1140 bool "DS17285/DS17287"
1141 help
1142 This enables support for the Dallas/Maxim DS17285/DS17287 real time
1143 clock chip.
1144
1145 This chip features 2kb of extended NV-SRAM. It may possibly be
1146 found in some SGI O2 systems (rare).
1147
1148config RTC_DRV_DS17485
1149 bool "DS17485/DS17487"
1150 help
1151 This enables support for the Dallas/Maxim DS17485/DS17487 real time
1152 clock chip.
1153
1154 This chip features 4kb of extended NV-SRAM.
1155
1156config RTC_DRV_DS17885
1157 bool "DS17885/DS17887"
1158 help
1159 This enables support for the Dallas/Maxim DS17885/DS17887 real time
1160 clock chip.
1161
1162 This chip features 8kb of extended NV-SRAM.
1163
1164endchoice
1165
1166config RTC_DRV_DS1742
1167 tristate "Maxim/Dallas DS1742/1743"
1168 depends on HAS_IOMEM
1169 help
1170 If you say yes here you get support for the
1171 Maxim/Dallas DS1742/1743 timekeeping chip.
1172
1173 This driver can also be built as a module. If so, the module
1174 will be called rtc-ds1742.
1175
1176config RTC_DRV_DS2404
1177 tristate "Maxim/Dallas DS2404"
1178 help
1179 If you say yes here you get support for the
1180 Dallas DS2404 RTC chip.
1181
1182 This driver can also be built as a module. If so, the module
1183 will be called rtc-ds2404.
1184
1185config RTC_DRV_DA9052
1186 tristate "Dialog DA9052/DA9053 RTC"
1187 depends on PMIC_DA9052
1188 help
1189 Say y here to support the RTC driver for Dialog Semiconductor
1190 DA9052-BC and DA9053-AA/Bx PMICs.
1191
1192config RTC_DRV_DA9055
1193 tristate "Dialog Semiconductor DA9055 RTC"
1194 depends on MFD_DA9055
1195 help
1196 If you say yes here you will get support for the
1197 RTC of the Dialog DA9055 PMIC.
1198
1199 This driver can also be built as a module. If so, the module
1200 will be called rtc-da9055
1201
1202config RTC_DRV_DA9063
1203 tristate "Dialog Semiconductor DA9063/DA9062 RTC"
1204 depends on MFD_DA9063 || MFD_DA9062
1205 help
1206 If you say yes here you will get support for the RTC subsystem
1207 for the Dialog Semiconductor PMIC chips DA9063 and DA9062.
1208
1209 This driver can also be built as a module. If so, the module
1210 will be called "rtc-da9063".
1211
1212config RTC_DRV_EFI
1213 tristate "EFI RTC"
1214 depends on EFI && !X86
1215 help
1216 If you say yes here you will get support for the EFI
1217 Real Time Clock.
1218
1219 This driver can also be built as a module. If so, the module
1220 will be called rtc-efi.
1221
1222config RTC_DRV_STK17TA8
1223 tristate "Simtek STK17TA8"
1224 depends on HAS_IOMEM
1225 help
1226 If you say yes here you get support for the
1227 Simtek STK17TA8 timekeeping chip.
1228
1229 This driver can also be built as a module. If so, the module
1230 will be called rtc-stk17ta8.
1231
1232config RTC_DRV_M48T86
1233 tristate "ST M48T86/Dallas DS12887"
1234 depends on HAS_IOMEM
1235 help
1236 If you say Y here you will get support for the
1237 ST M48T86 and Dallas DS12887 RTC chips.
1238
1239 This driver can also be built as a module. If so, the module
1240 will be called rtc-m48t86.
1241
1242config RTC_DRV_M48T35
1243 tristate "ST M48T35"
1244 depends on HAS_IOMEM
1245 help
1246 If you say Y here you will get support for the
1247 ST M48T35 RTC chip.
1248
1249 This driver can also be built as a module, if so, the module
1250 will be called "rtc-m48t35".
1251
1252config RTC_DRV_M48T59
1253 tristate "ST M48T59/M48T08/M48T02"
1254 depends on HAS_IOMEM
1255 help
1256 If you say Y here you will get support for the
1257 ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
1258
1259 These chips are usually found in Sun SPARC and UltraSPARC
1260 workstations.
1261
1262 This driver can also be built as a module, if so, the module
1263 will be called "rtc-m48t59".
1264
1265config RTC_DRV_MSM6242
1266 tristate "Oki MSM6242"
1267 depends on HAS_IOMEM
1268 help
1269 If you say yes here you get support for the Oki MSM6242
1270 timekeeping chip. It is used in some Amiga models (e.g. A2000).
1271
1272 This driver can also be built as a module. If so, the module
1273 will be called rtc-msm6242.
1274
1275config RTC_DRV_BQ4802
1276 tristate "TI BQ4802"
1277 depends on HAS_IOMEM && HAS_IOPORT
1278 depends on SPARC || COMPILE_TEST
1279 help
1280 If you say Y here you will get support for the TI
1281 BQ4802 RTC chip.
1282
1283 This driver can also be built as a module. If so, the module
1284 will be called rtc-bq4802.
1285
1286config RTC_DRV_RP5C01
1287 tristate "Ricoh RP5C01"
1288 depends on HAS_IOMEM
1289 help
1290 If you say yes here you get support for the Ricoh RP5C01
1291 timekeeping chip. It is used in some Amiga models (e.g. A3000
1292 and A4000).
1293
1294 This driver can also be built as a module. If so, the module
1295 will be called rtc-rp5c01.
1296
1297config RTC_DRV_GAMECUBE
1298 tristate "Nintendo GameCube, Wii and Wii U RTC"
1299 depends on GAMECUBE || WII || COMPILE_TEST
1300 select REGMAP
1301 help
1302 If you say yes here you will get support for the RTC subsystem
1303 of the Nintendo GameCube, Wii and Wii U.
1304
1305 This driver can also be built as a module. If so, the module
1306 will be called "rtc-gamecube".
1307
1308config RTC_DRV_WM831X
1309 tristate "Wolfson Microelectronics WM831x RTC"
1310 depends on MFD_WM831X
1311 help
1312 If you say yes here you will get support for the RTC subsystem
1313 of the Wolfson Microelectronics WM831X series PMICs.
1314
1315 This driver can also be built as a module. If so, the module
1316 will be called "rtc-wm831x".
1317
1318config RTC_DRV_WM8350
1319 tristate "Wolfson Microelectronics WM8350 RTC"
1320 depends on MFD_WM8350
1321 help
1322 If you say yes here you will get support for the RTC subsystem
1323 of the Wolfson Microelectronics WM8350.
1324
1325 This driver can also be built as a module. If so, the module
1326 will be called "rtc-wm8350".
1327
1328config RTC_DRV_SC27XX
1329 tristate "Spreadtrum SC27xx RTC"
1330 depends on MFD_SC27XX_PMIC || COMPILE_TEST
1331 help
1332 If you say Y here you will get support for the RTC subsystem
1333 of the Spreadtrum SC27xx series PMICs. The SC27xx series PMICs
1334 includes the SC2720, SC2721, SC2723, SC2730 and SC2731 chips.
1335
1336 This driver can also be built as a module. If so, the module
1337 will be called rtc-sc27xx.
1338
1339config RTC_DRV_SPEAR
1340 tristate "SPEAR ST RTC"
1341 depends on PLAT_SPEAR || COMPILE_TEST
1342 default PLAT_SPEAR
1343 help
1344 If you say Y here you will get support for the RTC found on
1345 spear
1346
1347config RTC_DRV_AB8500
1348 tristate "ST-Ericsson AB8500 RTC"
1349 depends on AB8500_CORE
1350 select RTC_INTF_DEV
1351 select RTC_INTF_DEV_UIE_EMUL
1352 help
1353 Select this to enable the ST-Ericsson AB8500 power management IC RTC
1354 support. This chip contains a battery- and capacitor-backed RTC.
1355
1356config RTC_DRV_OPAL
1357 tristate "IBM OPAL RTC driver"
1358 depends on PPC_POWERNV
1359 default y
1360 help
1361 If you say yes here you get support for the PowerNV platform RTC
1362 driver based on OPAL interfaces.
1363
1364 This driver can also be built as a module. If so, the module
1365 will be called rtc-opal.
1366
1367config RTC_DRV_OPTEE
1368 tristate "OP-TEE based RTC driver"
1369 depends on OPTEE
1370 help
1371 Select this to get support for OP-TEE based RTC control on SoCs where
1372 RTC are not accessible to the normal world (Linux).
1373
1374 This driver can also be built as a module. If so, the module
1375 will be called rtc-optee.
1376
1377config RTC_DRV_ZYNQMP
1378 tristate "Xilinx Zynq Ultrascale+ MPSoC RTC"
1379 depends on OF && HAS_IOMEM
1380 help
1381 If you say yes here you get support for the RTC controller found on
1382 Xilinx Zynq Ultrascale+ MPSoC.
1383
1384config RTC_DRV_CROS_EC
1385 tristate "Chrome OS EC RTC driver"
1386 depends on CROS_EC
1387 help
1388 If you say yes here you will get support for the
1389 Chrome OS Embedded Controller's RTC.
1390
1391 This driver can also be built as a module. If so, the module
1392 will be called rtc-cros-ec.
1393
1394config RTC_DRV_NTXEC
1395 tristate "Netronix embedded controller RTC"
1396 depends on MFD_NTXEC
1397 help
1398 Say yes here if you want to support the RTC functionality of the
1399 embedded controller found in certain e-book readers designed by the
1400 original design manufacturer Netronix.
1401
1402comment "on-CPU RTC drivers"
1403
1404config RTC_DRV_ASM9260
1405 tristate "Alphascale asm9260 RTC"
1406 depends on MACH_ASM9260 || COMPILE_TEST
1407 help
1408 If you say yes here you get support for the RTC on the
1409 Alphascale asm9260 SoC.
1410
1411 This driver can also be built as a module. If so, the module
1412 will be called rtc-asm9260.
1413
1414config RTC_DRV_CV1800
1415 tristate "Sophgo CV1800 RTC"
1416 depends on SOPHGO_CV1800_RTCSYS || COMPILE_TEST
1417 select MFD_SYSCON
1418 select REGMAP
1419 help
1420 If you say yes here you get support the RTC driver for Sophgo CV1800
1421 series SoC.
1422
1423 This driver can also be built as a module. If so, the module will be
1424 called rtc-cv1800.
1425
1426config RTC_DRV_DIGICOLOR
1427 tristate "Conexant Digicolor RTC"
1428 depends on ARCH_DIGICOLOR || COMPILE_TEST
1429 help
1430 If you say yes here you get support for the RTC on Conexant
1431 Digicolor platforms. This currently includes the CX92755 SoC.
1432
1433 This driver can also be built as a module. If so, the module
1434 will be called rtc-digicolor.
1435
1436config RTC_DRV_IMXDI
1437 tristate "Freescale IMX DryIce Real Time Clock"
1438 depends on ARCH_MXC || COMPILE_TEST
1439 depends on OF
1440 help
1441 Support for Freescale IMX DryIce RTC
1442
1443 This driver can also be built as a module, if so, the module
1444 will be called "rtc-imxdi".
1445
1446config RTC_DRV_FSL_FTM_ALARM
1447 tristate "Freescale FlexTimer alarm timer"
1448 depends on ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
1449 help
1450 For the FlexTimer in LS1012A, LS1021A, LS1028A, LS1043A, LS1046A,
1451 LS1088A, LS208xA, we can use FTM as the wakeup source.
1452
1453 Say y here to enable FTM alarm support. The FTM alarm provides
1454 alarm functions for wakeup system from deep sleep.
1455
1456 This driver can also be built as a module, if so, the module
1457 will be called "rtc-fsl-ftm-alarm".
1458
1459config RTC_DRV_MESON
1460 tristate "Amlogic Meson RTC"
1461 depends on (ARM && ARCH_MESON) || COMPILE_TEST
1462 select REGMAP_MMIO
1463 help
1464 Support for the RTC block on the Amlogic Meson6, Meson8, Meson8b
1465 and Meson8m2 SoCs.
1466
1467 This driver can also be built as a module, if so, the module
1468 will be called "rtc-meson".
1469
1470config RTC_DRV_MESON_VRTC
1471 tristate "Amlogic Meson Virtual RTC"
1472 depends on ARCH_MESON || COMPILE_TEST
1473 default m if ARCH_MESON
1474 help
1475 If you say yes here you will get support for the
1476 Virtual RTC of Amlogic SoCs.
1477
1478 This driver can also be built as a module. If so, the module
1479 will be called rtc-meson-vrtc.
1480
1481config RTC_DRV_OMAP
1482 tristate "TI OMAP Real Time Clock"
1483 depends on ARCH_OMAP || ARCH_DAVINCI || COMPILE_TEST
1484 depends on OF
1485 depends on PINCTRL
1486 select GENERIC_PINCONF
1487 help
1488 Say "yes" here to support the on chip real time clock
1489 present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
1490
1491 This driver can also be built as a module, if so, module
1492 will be called rtc-omap.
1493
1494config RTC_DRV_S3C
1495 tristate "Samsung S3C series SoC RTC"
1496 depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || \
1497 COMPILE_TEST
1498 help
1499 RTC (Realtime Clock) driver for the clock inbuilt into the
1500 Samsung S3C64XX series of SoCs. This can provide periodic
1501 interrupt rates from 1Hz to 64Hz for user programs, and
1502 wakeup from Alarm.
1503
1504 This driver can also be build as a module. If so, the module
1505 will be called rtc-s3c.
1506
1507config RTC_DRV_EP93XX
1508 tristate "Cirrus Logic EP93XX"
1509 depends on ARCH_EP93XX || COMPILE_TEST
1510 help
1511 If you say yes here you get support for the
1512 RTC embedded in the Cirrus Logic EP93XX processors.
1513
1514 This driver can also be built as a module. If so, the module
1515 will be called rtc-ep93xx.
1516
1517config RTC_DRV_SA1100
1518 tristate "SA11x0/PXA2xx/PXA910"
1519 depends on ARCH_SA1100 || ARCH_PXA || ARCH_MMP
1520 help
1521 If you say Y here you will get access to the real time clock
1522 built into your SA11x0 or PXA2xx CPU.
1523
1524 To compile this driver as a module, choose M here: the
1525 module will be called rtc-sa1100.
1526
1527config RTC_DRV_SH
1528 tristate "SuperH On-Chip RTC"
1529 depends on SUPERH || ARCH_RENESAS
1530 help
1531 Say Y here to enable support for the on-chip RTC found in
1532 most SuperH processors. This RTC is also found in RZ/A SoCs.
1533
1534 To compile this driver as a module, choose M here: the
1535 module will be called rtc-sh.
1536
1537config RTC_DRV_SUNPLUS
1538 tristate "Sunplus SP7021 RTC"
1539 depends on SOC_SP7021
1540 help
1541 Say 'yes' to get support for the real-time clock present in
1542 Sunplus SP7021 - a SoC for industrial applications. It provides
1543 RTC status check, timer/alarm functionalities, user data
1544 reservation with the battery over 2.5V, RTC power status check
1545 and battery charge.
1546
1547 This driver can also be built as a module. If so, the module
1548 will be called rtc-sunplus.
1549
1550config RTC_DRV_PL030
1551 tristate "ARM AMBA PL030 RTC"
1552 depends on ARM_AMBA
1553 help
1554 If you say Y here you will get access to ARM AMBA
1555 PrimeCell PL030 RTC found on certain ARM SOCs.
1556
1557 To compile this driver as a module, choose M here: the
1558 module will be called rtc-pl030.
1559
1560config RTC_DRV_PL031
1561 tristate "ARM AMBA PL031 RTC"
1562 depends on ARM_AMBA
1563 help
1564 If you say Y here you will get access to ARM AMBA
1565 PrimeCell PL031 RTC found on certain ARM SOCs.
1566
1567 To compile this driver as a module, choose M here: the
1568 module will be called rtc-pl031.
1569
1570config RTC_DRV_AT91RM9200
1571 tristate "AT91RM9200 or some AT91SAM9 RTC"
1572 depends on ARCH_AT91 || COMPILE_TEST
1573 depends on OF
1574 help
1575 Driver for the internal RTC (Realtime Clock) module found on
1576 Atmel AT91RM9200's and some AT91SAM9 chips. On AT91SAM9 chips
1577 this is powered by the backup power supply.
1578
1579config RTC_DRV_AT91SAM9
1580 tristate "AT91SAM9 RTT as RTC"
1581 depends on ARCH_AT91 || COMPILE_TEST
1582 depends on OF && HAS_IOMEM
1583 select MFD_SYSCON
1584 help
1585 Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which
1586 can be used as an RTC thanks to the backup power supply (e.g. a
1587 small coin cell battery) which keeps this block and the GPBR
1588 (General Purpose Backup Registers) block powered when the device
1589 is shutdown.
1590 Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd
1591 probably want to use the real RTC block instead of the "RTT as an
1592 RTC" driver.
1593
1594config RTC_DRV_AU1XXX
1595 tristate "Au1xxx Counter0 RTC support"
1596 depends on MIPS_ALCHEMY
1597 help
1598 This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
1599 counter) to be used as a RTC.
1600
1601 This driver can also be built as a module. If so, the module
1602 will be called rtc-au1xxx.
1603
1604config RTC_DRV_RS5C313
1605 tristate "Ricoh RS5C313"
1606 depends on SH_LANDISK
1607 help
1608 If you say yes here you get support for the Ricoh RS5C313 RTC chips.
1609
1610config RTC_DRV_RZN1
1611 tristate "Renesas RZ/N1 RTC"
1612 depends on ARCH_RZN1 || COMPILE_TEST
1613 depends on OF && HAS_IOMEM
1614 help
1615 If you say yes here you get support for the Renesas RZ/N1 RTC.
1616
1617config RTC_DRV_GENERIC
1618 tristate "Generic RTC support"
1619 # Please consider writing a new RTC driver instead of using the generic
1620 # RTC abstraction
1621 depends on PARISC || M68K || PPC || SUPERH || COMPILE_TEST
1622 help
1623 Say Y or M here to enable RTC support on systems using the generic
1624 RTC abstraction. If you do not know what you are doing, you should
1625 just say Y.
1626
1627config RTC_DRV_PXA
1628 tristate "PXA27x/PXA3xx"
1629 depends on ARCH_PXA
1630 select RTC_DRV_SA1100
1631 help
1632 If you say Y here you will get access to the real time clock
1633 built into your PXA27x or PXA3xx CPU. This RTC is actually 2 RTCs
1634 consisting of an SA1100 compatible RTC and the extended PXA RTC.
1635
1636 This RTC driver uses PXA RTC registers available since pxa27x
1637 series (RDxR, RYxR) instead of legacy RCNR, RTAR.
1638
1639config RTC_DRV_VT8500
1640 tristate "VIA/WonderMedia 85xx SoC RTC"
1641 depends on ARCH_VT8500 || COMPILE_TEST
1642 help
1643 If you say Y here you will get access to the real time clock
1644 built into your VIA VT8500 SoC or its relatives.
1645
1646
1647config RTC_DRV_SUN4V
1648 bool "SUN4V Hypervisor RTC"
1649 depends on SPARC64
1650 help
1651 If you say Y here you will get support for the Hypervisor
1652 based RTC on SUN4V systems.
1653
1654config RTC_DRV_SUN6I
1655 bool "Allwinner A31 RTC"
1656 default MACH_SUN6I || MACH_SUN8I
1657 depends on COMMON_CLK
1658 depends on ARCH_SUNXI || COMPILE_TEST
1659 help
1660 If you say Y here you will get support for the RTC found in
1661 some Allwinner SoCs like the A31 or the A64.
1662
1663config RTC_DRV_SUNXI
1664 tristate "Allwinner sun4i/sun7i RTC"
1665 depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
1666 help
1667 If you say Y here you will get support for the RTC found on
1668 Allwinner A10/A20.
1669
1670config RTC_DRV_STARFIRE
1671 bool "Starfire RTC"
1672 depends on SPARC64
1673 help
1674 If you say Y here you will get support for the RTC found on
1675 Starfire systems.
1676
1677config RTC_DRV_MV
1678 tristate "Marvell SoC RTC"
1679 depends on ARCH_DOVE || ARCH_MVEBU || COMPILE_TEST
1680 help
1681 If you say yes here you will get support for the in-chip RTC
1682 that can be found in some of Marvell's SoC devices, such as
1683 the Kirkwood 88F6281 and 88F6192.
1684
1685 This driver can also be built as a module. If so, the module
1686 will be called rtc-mv.
1687
1688config RTC_DRV_ARMADA38X
1689 tristate "Armada 38x Marvell SoC RTC"
1690 depends on ARCH_MVEBU || COMPILE_TEST
1691 depends on OF
1692 help
1693 If you say yes here you will get support for the in-chip RTC
1694 that can be found in the Armada 38x Marvell's SoC device
1695
1696 This driver can also be built as a module. If so, the module
1697 will be called armada38x-rtc.
1698
1699config RTC_DRV_CADENCE
1700 tristate "Cadence RTC driver"
1701 depends on OF && HAS_IOMEM
1702 help
1703 If you say Y here you will get access to Cadence RTC IP
1704 found on certain SOCs.
1705
1706 To compile this driver as a module, choose M here: the
1707 module will be called rtc-cadence.
1708
1709config RTC_DRV_FTRTC010
1710 tristate "Faraday Technology FTRTC010 RTC"
1711 depends on HAS_IOMEM
1712 default ARCH_GEMINI
1713 help
1714 If you say Y here you will get support for the
1715 Faraday Technolog FTRTC010 found on e.g. Gemini SoC's.
1716
1717 This driver can also be built as a module. If so, the module
1718 will be called rtc-ftrtc010.
1719
1720config RTC_DRV_PS3
1721 tristate "PS3 RTC"
1722 depends on PPC_PS3
1723 help
1724 If you say yes here you will get support for the RTC on PS3.
1725
1726 This driver can also be built as a module. If so, the module
1727 will be called rtc-ps3.
1728
1729config RTC_DRV_STMP
1730 tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
1731 depends on ARCH_MXS || COMPILE_TEST
1732 select STMP_DEVICE
1733 help
1734 If you say yes here you will get support for the onboard
1735 STMP3xxx/i.MX23/i.MX28 RTC.
1736
1737 This driver can also be built as a module. If so, the module
1738 will be called rtc-stmp3xxx.
1739
1740config RTC_DRV_PCAP
1741 tristate "PCAP RTC"
1742 depends on EZX_PCAP
1743 help
1744 If you say Y here you will get support for the RTC found on
1745 the PCAP2 ASIC used on some Motorola phones.
1746
1747config RTC_DRV_MC13XXX
1748 depends on MFD_MC13XXX
1749 tristate "Freescale MC13xxx RTC"
1750 help
1751 This enables support for the RTCs found on Freescale's PMICs
1752 MC13783 and MC13892.
1753
1754config RTC_DRV_MPC5121
1755 tristate "Freescale MPC5121 built-in RTC"
1756 depends on PPC_MPC512x || PPC_MPC52xx
1757 help
1758 If you say yes here you will get support for the
1759 built-in RTC on MPC5121 or on MPC5200.
1760
1761 This driver can also be built as a module. If so, the module
1762 will be called rtc-mpc5121.
1763
1764config RTC_DRV_JZ4740
1765 tristate "Ingenic JZ4740 SoC"
1766 depends on MIPS || COMPILE_TEST
1767 depends on OF && COMMON_CLK
1768 help
1769 If you say yes here you get support for the Ingenic JZ47xx SoCs RTC
1770 controllers.
1771
1772 This driver can also be built as a module. If so, the module
1773 will be called rtc-jz4740.
1774
1775config RTC_DRV_LOONGSON
1776 tristate "Loongson On-chip RTC"
1777 depends on MACH_LOONGSON32 || MACH_LOONGSON64 || COMPILE_TEST
1778 select REGMAP_MMIO
1779 help
1780 This is a driver for the Loongson on-chip Counter0 (Time-Of-Year
1781 counter) to be used as a RTC.
1782 It can be found on Loongson-1 series cpu, Loongson-2K series cpu
1783 and Loongson LS7A bridge chips.
1784
1785 This driver can also be built as a module. If so, the module
1786 will be called rtc-loongson.
1787
1788config RTC_DRV_LPC24XX
1789 tristate "NXP RTC for LPC178x/18xx/408x/43xx"
1790 depends on ARCH_LPC18XX || COMPILE_TEST
1791 depends on OF && HAS_IOMEM
1792 depends on COMMON_CLK
1793 help
1794 This enables support for the NXP RTC found which can be found on
1795 NXP LPC178x/18xx/408x/43xx devices.
1796
1797 If you have one of the devices above enable this driver to use
1798 the hardware RTC. This driver can also be built as a module. If
1799 so, the module will be called rtc-lpc24xx.
1800
1801config RTC_DRV_LPC32XX
1802 depends on ARCH_LPC32XX || COMPILE_TEST
1803 tristate "NXP LPC32XX RTC"
1804 help
1805 This enables support for the NXP RTC in the LPC32XX
1806
1807 This driver can also be built as a module. If so, the module
1808 will be called rtc-lpc32xx.
1809
1810config RTC_DRV_PM8XXX
1811 tristate "Qualcomm PMIC8XXX RTC"
1812 depends on MFD_PM8XXX || MFD_SPMI_PMIC || COMPILE_TEST
1813 help
1814 If you say yes here you get support for the
1815 Qualcomm PMIC8XXX RTC.
1816
1817 To compile this driver as a module, choose M here: the
1818 module will be called rtc-pm8xxx.
1819
1820config RTC_DRV_TEGRA
1821 tristate "NVIDIA Tegra Internal RTC driver"
1822 depends on ARCH_TEGRA || COMPILE_TEST
1823 help
1824 If you say yes here you get support for the
1825 Tegra 200 series internal RTC module.
1826
1827 This drive can also be built as a module. If so, the module
1828 will be called rtc-tegra.
1829
1830config RTC_DRV_MXC
1831 tristate "Freescale MXC Real Time Clock"
1832 depends on ARCH_MXC || COMPILE_TEST
1833 depends on HAS_IOMEM
1834 depends on OF
1835 help
1836 If you say yes here you get support for the Freescale MXC
1837 RTC module.
1838
1839 This driver can also be built as a module, if so, the module
1840 will be called "rtc-mxc".
1841
1842config RTC_DRV_MXC_V2
1843 tristate "Freescale MXC Real Time Clock for i.MX53"
1844 depends on ARCH_MXC || COMPILE_TEST
1845 depends on HAS_IOMEM
1846 depends on OF
1847 help
1848 If you say yes here you get support for the Freescale MXC
1849 SRTC module in i.MX53 processor.
1850
1851 This driver can also be built as a module, if so, the module
1852 will be called "rtc-mxc_v2".
1853
1854config RTC_DRV_SNVS
1855 tristate "Freescale SNVS RTC support"
1856 select REGMAP_MMIO
1857 depends on ARCH_MXC || COMPILE_TEST
1858 depends on HAS_IOMEM
1859 depends on OF
1860 help
1861 If you say yes here you get support for the Freescale SNVS
1862 Low Power (LP) RTC module.
1863
1864 This driver can also be built as a module, if so, the module
1865 will be called "rtc-snvs".
1866
1867config RTC_DRV_BBNSM
1868 tristate "NXP BBNSM RTC support"
1869 select REGMAP_MMIO
1870 depends on ARCH_MXC || COMPILE_TEST
1871 depends on HAS_IOMEM
1872 depends on OF
1873 help
1874 If you say yes here you get support for the NXP BBNSM RTC module.
1875
1876 This driver can also be built as a module, if so, the module
1877 will be called "rtc-bbnsm".
1878
1879config RTC_DRV_IMX_BBM_SCMI
1880 depends on IMX_SCMI_BBM_EXT || COMPILE_TEST
1881 default y if ARCH_MXC
1882 tristate "NXP i.MX BBM SCMI RTC support"
1883 help
1884 If you say yes here you get support for the NXP i.MX BBSM SCMI
1885 RTC module.
1886
1887 To compile this driver as a module, choose M here: the
1888 module will be called rtc-imx-sm-bbm.
1889
1890config RTC_DRV_IMX_SC
1891 depends on IMX_SCU
1892 depends on HAVE_ARM_SMCCC
1893 tristate "NXP i.MX System Controller RTC support"
1894 help
1895 If you say yes here you get support for the NXP i.MX System
1896 Controller RTC module.
1897
1898config RTC_DRV_ST_LPC
1899 tristate "STMicroelectronics LPC RTC"
1900 depends on ARCH_STI
1901 depends on OF
1902 help
1903 Say Y here to include STMicroelectronics Low Power Controller
1904 (LPC) based RTC support.
1905
1906 To compile this driver as a module, choose M here: the
1907 module will be called rtc-st-lpc.
1908
1909config RTC_DRV_MOXART
1910 tristate "MOXA ART RTC"
1911 depends on ARCH_MOXART || COMPILE_TEST
1912 help
1913 If you say yes here you get support for the MOXA ART
1914 RTC module.
1915
1916 This driver can also be built as a module. If so, the module
1917 will be called rtc-moxart
1918
1919config RTC_DRV_MT2712
1920 tristate "MediaTek MT2712 SoC based RTC"
1921 depends on ARCH_MEDIATEK || COMPILE_TEST
1922 help
1923 This enables support for the real time clock built in the MediaTek
1924 SoCs for MT2712.
1925
1926 This drive can also be built as a module. If so, the module
1927 will be called rtc-mt2712.
1928
1929config RTC_DRV_MT6397
1930 tristate "MediaTek PMIC based RTC"
1931 depends on MFD_MT6397 || COMPILE_TEST
1932 select IRQ_DOMAIN
1933 help
1934 This selects the MediaTek(R) RTC driver. RTC is part of MediaTek
1935 MT6397 PMIC. You should enable MT6397 PMIC MFD before select
1936 MediaTek(R) RTC driver.
1937
1938 If you want to use MediaTek(R) RTC interface, select Y or M here.
1939
1940config RTC_DRV_MT7622
1941 tristate "MediaTek SoC based RTC"
1942 depends on ARCH_MEDIATEK || COMPILE_TEST
1943 help
1944 This enables support for the real time clock built in the MediaTek
1945 SoCs.
1946
1947 This drive can also be built as a module. If so, the module
1948 will be called rtc-mt7622.
1949
1950config RTC_DRV_XGENE
1951 tristate "APM X-Gene RTC"
1952 depends on HAS_IOMEM
1953 depends on ARCH_XGENE || COMPILE_TEST
1954 help
1955 If you say yes here you get support for the APM X-Gene SoC real time
1956 clock.
1957
1958 This driver can also be built as a module, if so, the module
1959 will be called "rtc-xgene".
1960
1961config RTC_DRV_PIC32
1962 tristate "Microchip PIC32 RTC"
1963 depends on MACH_PIC32
1964 default y
1965 help
1966 If you say yes here you get support for the PIC32 RTC module.
1967
1968 This driver can also be built as a module. If so, the module
1969 will be called rtc-pic32
1970
1971config RTC_DRV_R7301
1972 tristate "EPSON TOYOCOM RTC-7301SF/DG"
1973 select REGMAP_MMIO
1974 depends on OF && HAS_IOMEM
1975 help
1976 If you say yes here you get support for the EPSON TOYOCOM
1977 RTC-7301SF/DG chips.
1978
1979 This driver can also be built as a module. If so, the module
1980 will be called rtc-r7301.
1981
1982config RTC_DRV_STM32
1983 tristate "STM32 RTC"
1984 select REGMAP_MMIO
1985 depends on ARCH_STM32 || COMPILE_TEST
1986 depends on OF
1987 depends on PINCTRL
1988 select PINMUX
1989 select PINCONF
1990 select GENERIC_PINCONF
1991 depends on COMMON_CLK
1992 help
1993 If you say yes here you get support for the STM32 On-Chip
1994 Real Time Clock.
1995
1996 This driver can also be built as a module, if so, the module
1997 will be called "rtc-stm32".
1998
1999config RTC_DRV_CPCAP
2000 depends on MFD_CPCAP
2001 tristate "Motorola CPCAP RTC"
2002 help
2003 Say y here for CPCAP rtc found on some Motorola phones
2004 and tablets such as Droid 4.
2005
2006config RTC_DRV_RTD119X
2007 bool "Realtek RTD129x RTC"
2008 depends on ARCH_REALTEK || COMPILE_TEST
2009 default ARCH_REALTEK
2010 help
2011 If you say yes here, you get support for the RTD1295 SoC
2012 Real Time Clock.
2013
2014config RTC_DRV_ASPEED
2015 tristate "ASPEED RTC"
2016 depends on OF
2017 depends on ARCH_ASPEED || COMPILE_TEST
2018 help
2019 If you say yes here you get support for the ASPEED BMC SoC real time
2020 clocks.
2021
2022 This driver can also be built as a module, if so, the module
2023 will be called "rtc-aspeed".
2024
2025config RTC_DRV_TI_K3
2026 tristate "TI K3 RTC"
2027 depends on ARCH_K3 || COMPILE_TEST
2028 select REGMAP_MMIO
2029 help
2030 If you say yes here you get support for the Texas Instruments's
2031 Real Time Clock for K3 architecture.
2032
2033 This driver can also be built as a module, if so, the module
2034 will be called "rtc-ti-k3".
2035
2036config RTC_DRV_MA35D1
2037 tristate "Nuvoton MA35D1 RTC"
2038 depends on ARCH_MA35 || COMPILE_TEST
2039 select REGMAP_MMIO
2040 help
2041 If you say yes here you get support for the Nuvoton MA35D1
2042 On-Chip Real Time Clock.
2043
2044 This driver can also be built as a module, if so, the module
2045 will be called "rtc-ma35d1".
2046
2047config RTC_DRV_RENESAS_RTCA3
2048 tristate "Renesas RTCA-3 RTC"
2049 depends on ARCH_RENESAS
2050 help
2051 If you say yes here you get support for the Renesas RTCA-3 RTC
2052 available on the Renesas RZ/G3S SoC.
2053
2054 This driver can also be built as a module, if so, the module
2055 will be called "rtc-rtca3".
2056
2057config RTC_DRV_GOLDFISH
2058 tristate "Goldfish Real Time Clock"
2059 depends on HAS_IOMEM
2060 help
2061 Say yes to enable RTC driver for the Goldfish based virtual platform.
2062
2063 Goldfish is a code name for the virtual platform developed by Google
2064 for Android emulation.
2065
2066config RTC_DRV_WILCO_EC
2067 tristate "Wilco EC RTC"
2068 depends on WILCO_EC
2069 default m
2070 help
2071 If you say yes here, you get read/write support for the Real Time
2072 Clock on the Wilco Embedded Controller (Wilco is a kind of Chromebook)
2073
2074 This can also be built as a module. If so, the module will
2075 be named "rtc_wilco_ec".
2076
2077config RTC_DRV_MSC313
2078 tristate "MStar MSC313 RTC"
2079 depends on ARCH_MSTARV7 || COMPILE_TEST
2080 help
2081 If you say yes here you get support for the Mstar MSC313e On-Chip
2082 Real Time Clock.
2083
2084 This driver can also be built as a module, if so, the module
2085 will be called "rtc-msc313".
2086
2087config RTC_DRV_POLARFIRE_SOC
2088 tristate "Microchip PolarFire SoC built-in RTC"
2089 depends on ARCH_MICROCHIP_POLARFIRE
2090 help
2091 If you say yes here you will get support for the
2092 built-in RTC on Polarfire SoC.
2093
2094 This driver can also be built as a module, if so, the module
2095 will be called "rtc-mpfs".
2096
2097config RTC_DRV_SSD202D
2098 tristate "SigmaStar SSD202D RTC"
2099 depends on ARCH_MSTARV7 || COMPILE_TEST
2100 default ARCH_MSTARV7
2101 help
2102 If you say yes here you get support for the SigmaStar SSD202D On-Chip
2103 Real Time Clock.
2104
2105 This driver can also be built as a module, if so, the module
2106 will be called "rtc-ssd20xd".
2107
2108config RTC_DRV_AMLOGIC_A4
2109 tristate "Amlogic RTC"
2110 depends on ARCH_MESON || COMPILE_TEST
2111 select REGMAP_MMIO
2112 default ARCH_MESON
2113 help
2114 If you say yes here you get support for the RTC block on the
2115 Amlogic A113L2(A4) and A113X2(A5) SoCs.
2116
2117 This driver can also be built as a module. If so, the module
2118 will be called "rtc-amlogic-a4".
2119
2120config RTC_DRV_S32G
2121 tristate "RTC driver for S32G2/S32G3 SoCs"
2122 depends on ARCH_S32 || COMPILE_TEST
2123 depends on COMMON_CLK
2124 help
2125 Say yes to enable RTC driver for platforms based on the
2126 S32G2/S32G3 SoC family.
2127
2128 This RTC module can be used as a wakeup source.
2129 Please note that it is not battery-powered.
2130
2131comment "HID Sensor RTC drivers"
2132
2133config RTC_DRV_HID_SENSOR_TIME
2134 tristate "HID Sensor Time"
2135 depends on USB_HID
2136 depends on HID_SENSOR_HUB && IIO
2137 select HID_SENSOR_IIO_COMMON
2138 help
2139 Say yes here to build support for the HID Sensors of type Time.
2140 This drivers makes such sensors available as RTCs.
2141
2142 If this driver is compiled as a module, it will be named
2143 rtc-hid-sensor-time.
2144
2145endif # RTC_CLASS