xref: /linux/drivers/rtc/Kconfig (revision 7adca706fe16581c899317196f5f40d3ad5ccc84)
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_ATCRTC100
1067	tristate "Andes ATCRTC100"
1068	depends on ARCH_ANDES || COMPILE_TEST
1069	select REGMAP_MMIO
1070	help
1071	  If you say yes here you will get support for the Andes ATCRTC100
1072	  RTC driver.
1073
1074	  This driver provides support for the Andes ATCRTC100 real-time clock
1075	  device. It allows setting and retrieving the time and date, as well
1076	  as setting alarms.
1077
1078	  To compile this driver as a module, choose M here: the module will
1079	  be called rtc-atcrtc100.
1080
1081config RTC_DRV_DS1216
1082	tristate "Dallas DS1216"
1083	depends on SNI_RM
1084	help
1085	  If you say yes here you get support for the Dallas DS1216 RTC chips.
1086
1087config RTC_DRV_DS1286
1088	tristate "Dallas DS1286"
1089	depends on HAS_IOMEM
1090	help
1091	  If you say yes here you get support for the Dallas DS1286 RTC chips.
1092
1093config RTC_DRV_DS1511
1094	tristate "Dallas DS1511"
1095	depends on HAS_IOMEM
1096	help
1097	  If you say yes here you get support for the
1098	  Dallas DS1511 timekeeping/watchdog chip.
1099
1100	  This driver can also be built as a module. If so, the module
1101	  will be called rtc-ds1511.
1102
1103config RTC_DRV_DS1553
1104	tristate "Maxim/Dallas DS1553"
1105	depends on HAS_IOMEM
1106	help
1107	  If you say yes here you get support for the
1108	  Maxim/Dallas DS1553 timekeeping chip.
1109
1110	  This driver can also be built as a module. If so, the module
1111	  will be called rtc-ds1553.
1112
1113config RTC_DRV_DS1685_FAMILY
1114	tristate "Dallas/Maxim DS1685 Family"
1115	depends on HAS_IOMEM
1116	help
1117	  If you say yes here you get support for the Dallas/Maxim DS1685
1118	  family of real time chips.  This family includes the DS1685/DS1687,
1119	  DS1689/DS1693, DS17285/DS17287, DS17485/DS17487, and
1120	  DS17885/DS17887 chips.
1121
1122	  This driver can also be built as a module. If so, the module
1123	  will be called rtc-ds1685.
1124
1125choice
1126	prompt "Subtype"
1127	depends on RTC_DRV_DS1685_FAMILY
1128	default RTC_DRV_DS1685
1129
1130config RTC_DRV_DS1685
1131	bool "DS1685/DS1687"
1132	help
1133	  This enables support for the Dallas/Maxim DS1685/DS1687 real time
1134	  clock chip.
1135
1136	  This chip is commonly found in SGI O2 (IP32) and SGI Octane (IP30)
1137	  systems, as well as EPPC-405-UC modules by electronic system design
1138	  GmbH.
1139
1140config RTC_DRV_DS1689
1141	bool "DS1689/DS1693"
1142	help
1143	  This enables support for the Dallas/Maxim DS1689/DS1693 real time
1144	  clock chip.
1145
1146	  This is an older RTC chip, supplanted by the DS1685/DS1687 above,
1147	  which supports a few minor features such as Vcc, Vbat, and Power
1148	  Cycle counters, plus a customer-specific, 8-byte ROM/Serial number.
1149
1150	  It also works for the even older DS1688/DS1691 RTC chips, which are
1151	  virtually the same and carry the same model number.  Both chips
1152	  have 114 bytes of user NVRAM.
1153
1154config RTC_DRV_DS17285
1155	bool "DS17285/DS17287"
1156	help
1157	  This enables support for the Dallas/Maxim DS17285/DS17287 real time
1158	  clock chip.
1159
1160	  This chip features 2kb of extended NV-SRAM.  It may possibly be
1161	  found in some SGI O2 systems (rare).
1162
1163config RTC_DRV_DS17485
1164	bool "DS17485/DS17487"
1165	help
1166	  This enables support for the Dallas/Maxim DS17485/DS17487 real time
1167	  clock chip.
1168
1169	  This chip features 4kb of extended NV-SRAM.
1170
1171config RTC_DRV_DS17885
1172	bool "DS17885/DS17887"
1173	help
1174	  This enables support for the Dallas/Maxim DS17885/DS17887 real time
1175	  clock chip.
1176
1177	  This chip features 8kb of extended NV-SRAM.
1178
1179endchoice
1180
1181config RTC_DRV_DS1742
1182	tristate "Maxim/Dallas DS1742/1743"
1183	depends on HAS_IOMEM
1184	help
1185	  If you say yes here you get support for the
1186	  Maxim/Dallas DS1742/1743 timekeeping chip.
1187
1188	  This driver can also be built as a module. If so, the module
1189	  will be called rtc-ds1742.
1190
1191config RTC_DRV_DS2404
1192	tristate "Maxim/Dallas DS2404"
1193	help
1194	  If you say yes here you get support for the
1195	  Dallas DS2404 RTC chip.
1196
1197	  This driver can also be built as a module. If so, the module
1198	  will be called rtc-ds2404.
1199
1200config RTC_DRV_DA9052
1201	tristate "Dialog DA9052/DA9053 RTC"
1202	depends on PMIC_DA9052
1203	help
1204	  Say y here to support the RTC driver for Dialog Semiconductor
1205	  DA9052-BC and DA9053-AA/Bx PMICs.
1206
1207config RTC_DRV_DA9055
1208	tristate "Dialog Semiconductor DA9055 RTC"
1209	depends on MFD_DA9055
1210	help
1211	  If you say yes here you will get support for the
1212	  RTC of the Dialog DA9055 PMIC.
1213
1214	  This driver can also be built as a module. If so, the module
1215	  will be called rtc-da9055
1216
1217config RTC_DRV_DA9063
1218	tristate "Dialog Semiconductor DA9063/DA9062 RTC"
1219	depends on MFD_DA9063 || MFD_DA9062
1220	help
1221	  If you say yes here you will get support for the RTC subsystem
1222	  for the Dialog Semiconductor PMIC chips DA9063 and DA9062.
1223
1224	  This driver can also be built as a module. If so, the module
1225	  will be called "rtc-da9063".
1226
1227config RTC_DRV_EFI
1228	tristate "EFI RTC"
1229	depends on EFI && !X86
1230	help
1231	  If you say yes here you will get support for the EFI
1232	  Real Time Clock.
1233
1234	  This driver can also be built as a module. If so, the module
1235	  will be called rtc-efi.
1236
1237config RTC_DRV_STK17TA8
1238	tristate "Simtek STK17TA8"
1239	depends on HAS_IOMEM
1240	help
1241	  If you say yes here you get support for the
1242	  Simtek STK17TA8 timekeeping chip.
1243
1244	  This driver can also be built as a module. If so, the module
1245	  will be called rtc-stk17ta8.
1246
1247config RTC_DRV_M48T86
1248	tristate "ST M48T86/Dallas DS12887"
1249	depends on HAS_IOMEM
1250	help
1251	  If you say Y here you will get support for the
1252	  ST M48T86 and Dallas DS12887 RTC chips.
1253
1254	  This driver can also be built as a module. If so, the module
1255	  will be called rtc-m48t86.
1256
1257config RTC_DRV_M48T35
1258	tristate "ST M48T35"
1259	depends on HAS_IOMEM
1260	help
1261	  If you say Y here you will get support for the
1262	  ST M48T35 RTC chip.
1263
1264	  This driver can also be built as a module, if so, the module
1265	  will be called "rtc-m48t35".
1266
1267config RTC_DRV_M48T59
1268	tristate "ST M48T59/M48T08/M48T02"
1269	depends on HAS_IOMEM
1270	help
1271	  If you say Y here you will get support for the
1272	  ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
1273
1274	  These chips are usually found in Sun SPARC and UltraSPARC
1275	  workstations.
1276
1277	  This driver can also be built as a module, if so, the module
1278	  will be called "rtc-m48t59".
1279
1280config RTC_DRV_MSM6242
1281	tristate "Oki MSM6242"
1282	depends on HAS_IOMEM
1283	help
1284	  If you say yes here you get support for the Oki MSM6242
1285	  timekeeping chip. It is used in some Amiga models (e.g. A2000).
1286
1287	  This driver can also be built as a module. If so, the module
1288	  will be called rtc-msm6242.
1289
1290config RTC_DRV_BQ4802
1291	tristate "TI BQ4802"
1292	depends on HAS_IOMEM && HAS_IOPORT
1293	depends on SPARC || COMPILE_TEST
1294	help
1295	  If you say Y here you will get support for the TI
1296	  BQ4802 RTC chip.
1297
1298	  This driver can also be built as a module. If so, the module
1299	  will be called rtc-bq4802.
1300
1301config RTC_DRV_RP5C01
1302	tristate "Ricoh RP5C01"
1303	depends on HAS_IOMEM
1304	help
1305	  If you say yes here you get support for the Ricoh RP5C01
1306	  timekeeping chip. It is used in some Amiga models (e.g. A3000
1307	  and A4000).
1308
1309	  This driver can also be built as a module. If so, the module
1310	  will be called rtc-rp5c01.
1311
1312config RTC_DRV_GAMECUBE
1313	tristate "Nintendo GameCube, Wii and Wii U RTC"
1314	depends on GAMECUBE || WII || COMPILE_TEST
1315	select REGMAP
1316	help
1317	  If you say yes here you will get support for the RTC subsystem
1318	  of the Nintendo GameCube, Wii and Wii U.
1319
1320	  This driver can also be built as a module. If so, the module
1321	  will be called "rtc-gamecube".
1322
1323config RTC_DRV_WM831X
1324	tristate "Wolfson Microelectronics WM831x RTC"
1325	depends on MFD_WM831X
1326	help
1327	  If you say yes here you will get support for the RTC subsystem
1328	  of the Wolfson Microelectronics WM831X series PMICs.
1329
1330	  This driver can also be built as a module. If so, the module
1331	  will be called "rtc-wm831x".
1332
1333config RTC_DRV_WM8350
1334	tristate "Wolfson Microelectronics WM8350 RTC"
1335	depends on MFD_WM8350
1336	help
1337	  If you say yes here you will get support for the RTC subsystem
1338	  of the Wolfson Microelectronics WM8350.
1339
1340	  This driver can also be built as a module. If so, the module
1341	  will be called "rtc-wm8350".
1342
1343config RTC_DRV_SC27XX
1344	tristate "Spreadtrum SC27xx RTC"
1345	depends on MFD_SC27XX_PMIC || COMPILE_TEST
1346	help
1347	  If you say Y here you will get support for the RTC subsystem
1348	  of the Spreadtrum SC27xx series PMICs. The SC27xx series PMICs
1349	  includes the SC2720, SC2721, SC2723, SC2730 and SC2731 chips.
1350
1351	  This driver can also be built as a module. If so, the module
1352	  will be called rtc-sc27xx.
1353
1354config RTC_DRV_SPEAR
1355	tristate "SPEAR ST RTC"
1356	depends on PLAT_SPEAR || COMPILE_TEST
1357	default PLAT_SPEAR
1358	help
1359	 If you say Y here you will get support for the RTC found on
1360	 spear
1361
1362config RTC_DRV_AB8500
1363	tristate "ST-Ericsson AB8500 RTC"
1364	depends on AB8500_CORE
1365	select RTC_INTF_DEV
1366	select RTC_INTF_DEV_UIE_EMUL
1367	help
1368	  Select this to enable the ST-Ericsson AB8500 power management IC RTC
1369	  support. This chip contains a battery- and capacitor-backed RTC.
1370
1371config RTC_DRV_OPAL
1372	tristate "IBM OPAL RTC driver"
1373	depends on PPC_POWERNV
1374	default y
1375	help
1376	  If you say yes here you get support for the PowerNV platform RTC
1377	  driver based on OPAL interfaces.
1378
1379	  This driver can also be built as a module. If so, the module
1380	  will be called rtc-opal.
1381
1382config RTC_DRV_OPTEE
1383	tristate "OP-TEE based RTC driver"
1384	depends on OPTEE
1385	help
1386	  Select this to get support for OP-TEE based RTC control on SoCs where
1387	  RTC are not accessible to the normal world (Linux).
1388
1389	  This driver can also be built as a module. If so, the module
1390	  will be called rtc-optee.
1391
1392config RTC_DRV_ZYNQMP
1393	tristate "Xilinx Zynq Ultrascale+ MPSoC RTC"
1394	depends on OF && HAS_IOMEM
1395	help
1396	  If you say yes here you get support for the RTC controller found on
1397	  Xilinx Zynq Ultrascale+ MPSoC.
1398
1399config RTC_DRV_CROS_EC
1400	tristate "Chrome OS EC RTC driver"
1401	depends on CROS_EC
1402	help
1403	  If you say yes here you will get support for the
1404	  Chrome OS Embedded Controller's RTC.
1405
1406	  This driver can also be built as a module. If so, the module
1407	  will be called rtc-cros-ec.
1408
1409config RTC_DRV_NTXEC
1410	tristate "Netronix embedded controller RTC"
1411	depends on MFD_NTXEC
1412	help
1413	  Say yes here if you want to support the RTC functionality of the
1414	  embedded controller found in certain e-book readers designed by the
1415	  original design manufacturer Netronix.
1416
1417comment "on-CPU RTC drivers"
1418
1419config RTC_DRV_ASM9260
1420	tristate "Alphascale asm9260 RTC"
1421	depends on MACH_ASM9260 || COMPILE_TEST
1422	help
1423	  If you say yes here you get support for the RTC on the
1424	  Alphascale asm9260 SoC.
1425
1426	  This driver can also be built as a module. If so, the module
1427	  will be called rtc-asm9260.
1428
1429config RTC_DRV_CV1800
1430	tristate "Sophgo CV1800 RTC"
1431	depends on SOPHGO_CV1800_RTCSYS || COMPILE_TEST
1432	select MFD_SYSCON
1433	select REGMAP
1434	help
1435	  If you say yes here you get support the RTC driver for Sophgo CV1800
1436	  series SoC.
1437
1438	  This driver can also be built as a module. If so, the module will be
1439	  called rtc-cv1800.
1440
1441config RTC_DRV_DIGICOLOR
1442	tristate "Conexant Digicolor RTC"
1443	depends on ARCH_DIGICOLOR || COMPILE_TEST
1444	help
1445	  If you say yes here you get support for the RTC on Conexant
1446	  Digicolor platforms. This currently includes the CX92755 SoC.
1447
1448	  This driver can also be built as a module. If so, the module
1449	  will be called rtc-digicolor.
1450
1451config RTC_DRV_IMXDI
1452	tristate "Freescale IMX DryIce Real Time Clock"
1453	depends on ARCH_MXC || COMPILE_TEST
1454	depends on OF
1455	help
1456	   Support for Freescale IMX DryIce RTC
1457
1458	   This driver can also be built as a module, if so, the module
1459	   will be called "rtc-imxdi".
1460
1461config RTC_DRV_FSL_FTM_ALARM
1462	tristate "Freescale FlexTimer alarm timer"
1463	depends on ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
1464	help
1465	   For the FlexTimer in LS1012A, LS1021A, LS1028A, LS1043A, LS1046A,
1466	   LS1088A, LS208xA, we can use FTM as the wakeup source.
1467
1468	   Say y here to enable FTM alarm support. The FTM alarm provides
1469	   alarm functions for wakeup system from deep sleep.
1470
1471	   This driver can also be built as a module, if so, the module
1472	   will be called "rtc-fsl-ftm-alarm".
1473
1474config RTC_DRV_MESON
1475	tristate "Amlogic Meson RTC"
1476	depends on (ARM && ARCH_MESON) || COMPILE_TEST
1477	select REGMAP_MMIO
1478	help
1479	   Support for the RTC block on the Amlogic Meson6, Meson8, Meson8b
1480	   and Meson8m2 SoCs.
1481
1482	   This driver can also be built as a module, if so, the module
1483	   will be called "rtc-meson".
1484
1485config RTC_DRV_MESON_VRTC
1486	tristate "Amlogic Meson Virtual RTC"
1487	depends on ARCH_MESON || COMPILE_TEST
1488	default m if ARCH_MESON
1489	help
1490	  If you say yes here you will get support for the
1491	  Virtual RTC of Amlogic SoCs.
1492
1493	  This driver can also be built as a module. If so, the module
1494	  will be called rtc-meson-vrtc.
1495
1496config RTC_DRV_OMAP
1497	tristate "TI OMAP Real Time Clock"
1498	depends on ARCH_OMAP || ARCH_DAVINCI || COMPILE_TEST
1499	depends on OF
1500	depends on PINCTRL
1501	select GENERIC_PINCONF
1502	help
1503	  Say "yes" here to support the on chip real time clock
1504	  present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
1505
1506	  This driver can also be built as a module, if so, module
1507	  will be called rtc-omap.
1508
1509config RTC_DRV_S3C
1510	tristate "Samsung S3C series SoC RTC"
1511	depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || \
1512		   COMPILE_TEST
1513	help
1514	  RTC (Realtime Clock) driver for the clock inbuilt into the
1515	  Samsung S3C64XX series of SoCs. This can provide periodic
1516	  interrupt rates from 1Hz to 64Hz for user programs, and
1517	  wakeup from Alarm.
1518
1519	  This driver can also be build as a module. If so, the module
1520	  will be called rtc-s3c.
1521
1522config RTC_DRV_EP93XX
1523	tristate "Cirrus Logic EP93XX"
1524	depends on ARCH_EP93XX || COMPILE_TEST
1525	help
1526	  If you say yes here you get support for the
1527	  RTC embedded in the Cirrus Logic EP93XX processors.
1528
1529	  This driver can also be built as a module. If so, the module
1530	  will be called rtc-ep93xx.
1531
1532config RTC_DRV_SA1100
1533	tristate "SA11x0/PXA2xx/PXA910"
1534	depends on ARCH_SA1100 || ARCH_PXA || ARCH_MMP
1535	help
1536	  If you say Y here you will get access to the real time clock
1537	  built into your SA11x0 or PXA2xx CPU.
1538
1539	  To compile this driver as a module, choose M here: the
1540	  module will be called rtc-sa1100.
1541
1542config RTC_DRV_SH
1543	tristate "SuperH On-Chip RTC"
1544	depends on SUPERH || ARCH_RENESAS
1545	help
1546	  Say Y here to enable support for the on-chip RTC found in
1547	  most SuperH processors. This RTC is also found in RZ/A SoCs.
1548
1549	  To compile this driver as a module, choose M here: the
1550	  module will be called rtc-sh.
1551
1552config RTC_DRV_SUNPLUS
1553	tristate "Sunplus SP7021 RTC"
1554	depends on SOC_SP7021
1555	help
1556	  Say 'yes' to get support for the real-time clock present in
1557	  Sunplus SP7021 - a SoC for industrial applications. It provides
1558	  RTC status check, timer/alarm functionalities, user data
1559	  reservation with the battery over 2.5V, RTC power status check
1560	  and battery charge.
1561
1562	  This driver can also be built as a module. If so, the module
1563	  will be called rtc-sunplus.
1564
1565config RTC_DRV_PL030
1566	tristate "ARM AMBA PL030 RTC"
1567	depends on ARM_AMBA
1568	help
1569	  If you say Y here you will get access to ARM AMBA
1570	  PrimeCell PL030 RTC found on certain ARM SOCs.
1571
1572	  To compile this driver as a module, choose M here: the
1573	  module will be called rtc-pl030.
1574
1575config RTC_DRV_PL031
1576	tristate "ARM AMBA PL031 RTC"
1577	depends on ARM_AMBA
1578	help
1579	  If you say Y here you will get access to ARM AMBA
1580	  PrimeCell PL031 RTC found on certain ARM SOCs.
1581
1582	  To compile this driver as a module, choose M here: the
1583	  module will be called rtc-pl031.
1584
1585config RTC_DRV_AT91RM9200
1586	tristate "AT91RM9200 or some AT91SAM9 RTC"
1587	depends on ARCH_AT91 || COMPILE_TEST
1588	depends on OF
1589	help
1590	  Driver for the internal RTC (Realtime Clock) module found on
1591	  Atmel AT91RM9200's and some  AT91SAM9 chips. On AT91SAM9 chips
1592	  this is powered by the backup power supply.
1593
1594config RTC_DRV_AT91SAM9
1595	tristate "AT91SAM9 RTT as RTC"
1596	depends on ARCH_AT91 || COMPILE_TEST
1597	depends on OF && HAS_IOMEM
1598	select MFD_SYSCON
1599	help
1600	  Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which
1601	  can be used as an RTC thanks to the backup power supply (e.g. a
1602	  small coin cell battery) which keeps this block and the GPBR
1603	  (General Purpose Backup Registers) block powered when the device
1604	  is shutdown.
1605	  Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd
1606	  probably want to use the real RTC block instead of the "RTT as an
1607	  RTC" driver.
1608
1609config RTC_DRV_AU1XXX
1610	tristate "Au1xxx Counter0 RTC support"
1611	depends on MIPS_ALCHEMY
1612	help
1613	  This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
1614	  counter) to be used as a RTC.
1615
1616	  This driver can also be built as a module. If so, the module
1617	  will be called rtc-au1xxx.
1618
1619config RTC_DRV_RS5C313
1620	tristate "Ricoh RS5C313"
1621	depends on SH_LANDISK
1622	help
1623	  If you say yes here you get support for the Ricoh RS5C313 RTC chips.
1624
1625config RTC_DRV_RZN1
1626	tristate "Renesas RZ/N1 RTC"
1627	depends on ARCH_RZN1 || COMPILE_TEST
1628	depends on OF && HAS_IOMEM
1629	help
1630	  If you say yes here you get support for the Renesas RZ/N1 RTC.
1631
1632config RTC_DRV_GENERIC
1633	tristate "Generic RTC support"
1634	# Please consider writing a new RTC driver instead of using the generic
1635	# RTC abstraction
1636	depends on PARISC || M68K || PPC || SUPERH || COMPILE_TEST
1637	help
1638	  Say Y or M here to enable RTC support on systems using the generic
1639	  RTC abstraction. If you do not know what you are doing, you should
1640	  just say Y.
1641
1642config RTC_DRV_PXA
1643	tristate "PXA27x/PXA3xx"
1644	depends on ARCH_PXA
1645	select RTC_DRV_SA1100
1646	help
1647	 If you say Y here you will get access to the real time clock
1648	 built into your PXA27x or PXA3xx CPU. This RTC is actually 2 RTCs
1649	 consisting of an SA1100 compatible RTC and the extended PXA RTC.
1650
1651	 This RTC driver uses PXA RTC registers available since pxa27x
1652	 series (RDxR, RYxR) instead of legacy RCNR, RTAR.
1653
1654config RTC_DRV_VT8500
1655	tristate "VIA/WonderMedia 85xx SoC RTC"
1656	depends on ARCH_VT8500 || COMPILE_TEST
1657	help
1658	  If you say Y here you will get access to the real time clock
1659	  built into your VIA VT8500 SoC or its relatives.
1660
1661
1662config RTC_DRV_SUN4V
1663	bool "SUN4V Hypervisor RTC"
1664	depends on SPARC64
1665	help
1666	  If you say Y here you will get support for the Hypervisor
1667	  based RTC on SUN4V systems.
1668
1669config RTC_DRV_SUN6I
1670	bool "Allwinner A31 RTC"
1671	default MACH_SUN6I || MACH_SUN8I
1672	depends on COMMON_CLK
1673	depends on ARCH_SUNXI || COMPILE_TEST
1674	help
1675	  If you say Y here you will get support for the RTC found in
1676	  some Allwinner SoCs like the A31 or the A64.
1677
1678config RTC_DRV_SUNXI
1679	tristate "Allwinner sun4i/sun7i RTC"
1680	depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
1681	help
1682	  If you say Y here you will get support for the RTC found on
1683	  Allwinner A10/A20.
1684
1685config RTC_DRV_STARFIRE
1686	bool "Starfire RTC"
1687	depends on SPARC64
1688	help
1689	  If you say Y here you will get support for the RTC found on
1690	  Starfire systems.
1691
1692config RTC_DRV_MV
1693	tristate "Marvell SoC RTC"
1694	depends on ARCH_DOVE || ARCH_MVEBU || COMPILE_TEST
1695	help
1696	  If you say yes here you will get support for the in-chip RTC
1697	  that can be found in some of Marvell's SoC devices, such as
1698	  the Kirkwood 88F6281 and 88F6192.
1699
1700	  This driver can also be built as a module. If so, the module
1701	  will be called rtc-mv.
1702
1703config RTC_DRV_ARMADA38X
1704	tristate "Armada 38x Marvell SoC RTC"
1705	depends on ARCH_MVEBU || COMPILE_TEST
1706	depends on OF
1707	help
1708	  If you say yes here you will get support for the in-chip RTC
1709	  that can be found in the Armada 38x Marvell's SoC device
1710
1711	  This driver can also be built as a module. If so, the module
1712	  will be called armada38x-rtc.
1713
1714config RTC_DRV_CADENCE
1715	tristate "Cadence RTC driver"
1716	depends on OF && HAS_IOMEM
1717	help
1718	  If you say Y here you will get access to Cadence RTC IP
1719	  found on certain SOCs.
1720
1721	  To compile this driver as a module, choose M here: the
1722	  module will be called rtc-cadence.
1723
1724config RTC_DRV_FTRTC010
1725	tristate "Faraday Technology FTRTC010 RTC"
1726	depends on HAS_IOMEM
1727	default ARCH_GEMINI
1728	help
1729	  If you say Y here you will get support for the
1730	  Faraday Technolog FTRTC010 found on e.g. Gemini SoC's.
1731
1732	  This driver can also be built as a module. If so, the module
1733	  will be called rtc-ftrtc010.
1734
1735config RTC_DRV_PS3
1736	tristate "PS3 RTC"
1737	depends on PPC_PS3
1738	help
1739	  If you say yes here you will get support for the RTC on PS3.
1740
1741	  This driver can also be built as a module. If so, the module
1742	  will be called rtc-ps3.
1743
1744config RTC_DRV_STMP
1745	tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
1746	depends on ARCH_MXS || COMPILE_TEST
1747	select STMP_DEVICE
1748	help
1749	  If you say yes here you will get support for the onboard
1750	  STMP3xxx/i.MX23/i.MX28 RTC.
1751
1752	  This driver can also be built as a module. If so, the module
1753	  will be called rtc-stmp3xxx.
1754
1755config RTC_DRV_PCAP
1756	tristate "PCAP RTC"
1757	depends on EZX_PCAP
1758	help
1759	  If you say Y here you will get support for the RTC found on
1760	  the PCAP2 ASIC used on some Motorola phones.
1761
1762config RTC_DRV_MC13XXX
1763	depends on MFD_MC13XXX
1764	tristate "Freescale MC13xxx RTC"
1765	help
1766	  This enables support for the RTCs found on Freescale's PMICs
1767	  MC13783 and MC13892.
1768
1769config RTC_DRV_MPC5121
1770	tristate "Freescale MPC5121 built-in RTC"
1771	depends on PPC_MPC512x || PPC_MPC52xx
1772	help
1773	  If you say yes here you will get support for the
1774	  built-in RTC on MPC5121 or on MPC5200.
1775
1776	  This driver can also be built as a module. If so, the module
1777	  will be called rtc-mpc5121.
1778
1779config RTC_DRV_JZ4740
1780	tristate "Ingenic JZ4740 SoC"
1781	depends on MIPS || COMPILE_TEST
1782	depends on OF && COMMON_CLK
1783	help
1784	  If you say yes here you get support for the Ingenic JZ47xx SoCs RTC
1785	  controllers.
1786
1787	  This driver can also be built as a module. If so, the module
1788	  will be called rtc-jz4740.
1789
1790config RTC_DRV_LOONGSON
1791	tristate "Loongson On-chip RTC"
1792	depends on MACH_LOONGSON32 || MACH_LOONGSON64 || COMPILE_TEST
1793	select REGMAP_MMIO
1794	help
1795	  This is a driver for the Loongson on-chip Counter0 (Time-Of-Year
1796	  counter) to be used as a RTC.
1797	  It can be found on Loongson-1 series cpu, Loongson-2K series cpu
1798	  and Loongson LS7A bridge chips.
1799
1800	  This driver can also be built as a module. If so, the module
1801	  will be called rtc-loongson.
1802
1803config RTC_DRV_LPC24XX
1804	tristate "NXP RTC for LPC178x/18xx/408x/43xx"
1805	depends on ARCH_LPC18XX || COMPILE_TEST
1806	depends on OF && HAS_IOMEM
1807	depends on COMMON_CLK
1808	help
1809	  This enables support for the NXP RTC found which can be found on
1810	  NXP LPC178x/18xx/408x/43xx devices.
1811
1812	  If you have one of the devices above enable this driver to use
1813	  the hardware RTC. This driver can also be built as a module. If
1814	  so, the module will be called rtc-lpc24xx.
1815
1816config RTC_DRV_LPC32XX
1817	depends on ARCH_LPC32XX || COMPILE_TEST
1818	tristate "NXP LPC32XX RTC"
1819	help
1820	  This enables support for the NXP RTC in the LPC32XX
1821
1822	  This driver can also be built as a module. If so, the module
1823	  will be called rtc-lpc32xx.
1824
1825config RTC_DRV_PM8XXX
1826	tristate "Qualcomm PMIC8XXX RTC"
1827	depends on MFD_PM8XXX || MFD_SPMI_PMIC || COMPILE_TEST
1828	help
1829	  If you say yes here you get support for the
1830	  Qualcomm PMIC8XXX RTC.
1831
1832	  To compile this driver as a module, choose M here: the
1833	  module will be called rtc-pm8xxx.
1834
1835config RTC_DRV_TEGRA
1836	tristate "NVIDIA Tegra Internal RTC driver"
1837	depends on ARCH_TEGRA || COMPILE_TEST
1838	help
1839	  If you say yes here you get support for the
1840	  Tegra 200 series internal RTC module.
1841
1842	  This drive can also be built as a module. If so, the module
1843	  will be called rtc-tegra.
1844
1845config RTC_DRV_MXC
1846	tristate "Freescale MXC Real Time Clock"
1847	depends on ARCH_MXC || COMPILE_TEST
1848	depends on HAS_IOMEM
1849	depends on OF
1850	help
1851	   If you say yes here you get support for the Freescale MXC
1852	   RTC module.
1853
1854	   This driver can also be built as a module, if so, the module
1855	   will be called "rtc-mxc".
1856
1857config RTC_DRV_MXC_V2
1858	tristate "Freescale MXC Real Time Clock for i.MX53"
1859	depends on ARCH_MXC || COMPILE_TEST
1860	depends on HAS_IOMEM
1861	depends on OF
1862	help
1863	   If you say yes here you get support for the Freescale MXC
1864	   SRTC module in i.MX53 processor.
1865
1866	   This driver can also be built as a module, if so, the module
1867	   will be called "rtc-mxc_v2".
1868
1869config RTC_DRV_SNVS
1870	tristate "Freescale SNVS RTC support"
1871	select REGMAP_MMIO
1872	depends on ARCH_MXC || COMPILE_TEST
1873	depends on HAS_IOMEM
1874	depends on OF
1875	help
1876	   If you say yes here you get support for the Freescale SNVS
1877	   Low Power (LP) RTC module.
1878
1879	   This driver can also be built as a module, if so, the module
1880	   will be called "rtc-snvs".
1881
1882config RTC_DRV_BBNSM
1883	tristate "NXP BBNSM RTC support"
1884	select REGMAP_MMIO
1885	depends on ARCH_MXC || COMPILE_TEST
1886	depends on HAS_IOMEM
1887	depends on OF
1888	help
1889	   If you say yes here you get support for the NXP BBNSM RTC module.
1890
1891	   This driver can also be built as a module, if so, the module
1892	   will be called "rtc-bbnsm".
1893
1894config RTC_DRV_IMX_BBM_SCMI
1895	depends on IMX_SCMI_BBM_EXT || COMPILE_TEST
1896	default y if ARCH_MXC
1897	tristate "NXP i.MX BBM SCMI RTC support"
1898	help
1899	  If you say yes here you get support for the NXP i.MX BBSM SCMI
1900	  RTC module.
1901
1902	  To compile this driver as a module, choose M here: the
1903	  module will be called rtc-imx-sm-bbm.
1904
1905config RTC_DRV_IMX_SC
1906	depends on IMX_SCU
1907	depends on HAVE_ARM_SMCCC
1908	tristate "NXP i.MX System Controller RTC support"
1909	help
1910	   If you say yes here you get support for the NXP i.MX System
1911	   Controller RTC module.
1912
1913config RTC_DRV_ST_LPC
1914	tristate "STMicroelectronics LPC RTC"
1915	depends on ARCH_STI
1916	depends on OF
1917	help
1918	  Say Y here to include STMicroelectronics Low Power Controller
1919	  (LPC) based RTC support.
1920
1921	  To compile this driver as a module, choose M here: the
1922	  module will be called rtc-st-lpc.
1923
1924config RTC_DRV_MOXART
1925	tristate "MOXA ART RTC"
1926	depends on ARCH_MOXART || COMPILE_TEST
1927	help
1928	   If you say yes here you get support for the MOXA ART
1929	   RTC module.
1930
1931	   This driver can also be built as a module. If so, the module
1932	   will be called rtc-moxart
1933
1934config RTC_DRV_MT2712
1935	tristate "MediaTek MT2712 SoC based RTC"
1936	depends on ARCH_MEDIATEK || COMPILE_TEST
1937	help
1938	  This enables support for the real time clock built in the MediaTek
1939	  SoCs for MT2712.
1940
1941	  This drive can also be built as a module. If so, the module
1942	  will be called rtc-mt2712.
1943
1944config RTC_DRV_MT6397
1945	tristate "MediaTek PMIC based RTC"
1946	depends on MFD_MT6397 || COMPILE_TEST
1947	select IRQ_DOMAIN
1948	help
1949	  This selects the MediaTek(R) RTC driver. RTC is part of MediaTek
1950	  MT6397 PMIC. You should enable MT6397 PMIC MFD before select
1951	  MediaTek(R) RTC driver.
1952
1953	  If you want to use MediaTek(R) RTC interface, select Y or M here.
1954
1955config RTC_DRV_MT7622
1956	tristate "MediaTek SoC based RTC"
1957	depends on ARCH_MEDIATEK || COMPILE_TEST
1958	help
1959	  This enables support for the real time clock built in the MediaTek
1960	  SoCs.
1961
1962	  This drive can also be built as a module. If so, the module
1963	  will be called rtc-mt7622.
1964
1965config RTC_DRV_XGENE
1966	tristate "APM X-Gene RTC"
1967	depends on HAS_IOMEM
1968	depends on ARCH_XGENE || COMPILE_TEST
1969	help
1970	  If you say yes here you get support for the APM X-Gene SoC real time
1971	  clock.
1972
1973	  This driver can also be built as a module, if so, the module
1974	  will be called "rtc-xgene".
1975
1976config RTC_DRV_PIC32
1977	tristate "Microchip PIC32 RTC"
1978	depends on MACH_PIC32
1979	default y
1980	help
1981	   If you say yes here you get support for the PIC32 RTC module.
1982
1983	   This driver can also be built as a module. If so, the module
1984	   will be called rtc-pic32
1985
1986config RTC_DRV_R7301
1987	tristate "EPSON TOYOCOM RTC-7301SF/DG"
1988	select REGMAP_MMIO
1989	depends on OF && HAS_IOMEM
1990	help
1991	   If you say yes here you get support for the EPSON TOYOCOM
1992	   RTC-7301SF/DG chips.
1993
1994	   This driver can also be built as a module. If so, the module
1995	   will be called rtc-r7301.
1996
1997config RTC_DRV_STM32
1998	tristate "STM32 RTC"
1999	select REGMAP_MMIO
2000	depends on ARCH_STM32 || COMPILE_TEST
2001	depends on OF
2002	depends on PINCTRL
2003	select PINMUX
2004	select PINCONF
2005	select GENERIC_PINCONF
2006	depends on COMMON_CLK
2007	help
2008	   If you say yes here you get support for the STM32 On-Chip
2009	   Real Time Clock.
2010
2011	   This driver can also be built as a module, if so, the module
2012	   will be called "rtc-stm32".
2013
2014config RTC_DRV_CPCAP
2015	depends on MFD_CPCAP
2016	tristate "Motorola CPCAP RTC"
2017	help
2018	   Say y here for CPCAP rtc found on some Motorola phones
2019	   and tablets such as Droid 4.
2020
2021config RTC_DRV_RTD119X
2022	bool "Realtek RTD129x RTC"
2023	depends on ARCH_REALTEK || COMPILE_TEST
2024	default ARCH_REALTEK
2025	help
2026	  If you say yes here, you get support for the RTD1295 SoC
2027	  Real Time Clock.
2028
2029config RTC_DRV_ASPEED
2030	tristate "ASPEED RTC"
2031	depends on OF
2032	depends on ARCH_ASPEED || COMPILE_TEST
2033	help
2034	  If you say yes here you get support for the ASPEED BMC SoC real time
2035	  clocks.
2036
2037	  This driver can also be built as a module, if so, the module
2038	  will be called "rtc-aspeed".
2039
2040config RTC_DRV_TI_K3
2041	tristate "TI K3 RTC"
2042	depends on ARCH_K3 || COMPILE_TEST
2043	select REGMAP_MMIO
2044	help
2045	  If you say yes here you get support for the Texas Instruments's
2046	  Real Time Clock for K3 architecture.
2047
2048	  This driver can also be built as a module, if so, the module
2049	  will be called "rtc-ti-k3".
2050
2051config RTC_DRV_MA35D1
2052	tristate "Nuvoton MA35D1 RTC"
2053	depends on ARCH_MA35 || COMPILE_TEST
2054	select REGMAP_MMIO
2055	help
2056	   If you say yes here you get support for the Nuvoton MA35D1
2057	   On-Chip Real Time Clock.
2058
2059	   This driver can also be built as a module, if so, the module
2060	   will be called "rtc-ma35d1".
2061
2062config RTC_DRV_RENESAS_RTCA3
2063	tristate "Renesas RTCA-3 RTC"
2064	depends on ARCH_RENESAS
2065	help
2066	  If you say yes here you get support for the Renesas RTCA-3 RTC
2067	  available on the Renesas RZ/G3S SoC.
2068
2069	  This driver can also be built as a module, if so, the module
2070	  will be called "rtc-rtca3".
2071
2072config RTC_DRV_GOLDFISH
2073	tristate "Goldfish Real Time Clock"
2074	depends on HAS_IOMEM
2075	help
2076	  Say yes to enable RTC driver for the Goldfish based virtual platform.
2077
2078	  Goldfish is a code name for the virtual platform developed by Google
2079	  for Android emulation.
2080
2081config RTC_DRV_WILCO_EC
2082	tristate "Wilco EC RTC"
2083	depends on WILCO_EC
2084	default m
2085	help
2086	  If you say yes here, you get read/write support for the Real Time
2087	  Clock on the Wilco Embedded Controller (Wilco is a kind of Chromebook)
2088
2089	  This can also be built as a module. If so, the module will
2090	  be named "rtc_wilco_ec".
2091
2092config RTC_DRV_MSC313
2093	tristate "MStar MSC313 RTC"
2094        depends on ARCH_MSTARV7 || COMPILE_TEST
2095	help
2096	  If you say yes here you get support for the Mstar MSC313e On-Chip
2097	  Real Time Clock.
2098
2099	  This driver can also be built as a module, if so, the module
2100	  will be called "rtc-msc313".
2101
2102config RTC_DRV_POLARFIRE_SOC
2103	tristate "Microchip PolarFire SoC built-in RTC"
2104	depends on ARCH_MICROCHIP_POLARFIRE
2105	help
2106	  If you say yes here you will get support for the
2107	  built-in RTC on Polarfire SoC.
2108
2109	  This driver can also be built as a module, if so, the module
2110	  will be called "rtc-mpfs".
2111
2112config RTC_DRV_SSD202D
2113	tristate "SigmaStar SSD202D RTC"
2114	depends on ARCH_MSTARV7 || COMPILE_TEST
2115	default ARCH_MSTARV7
2116	help
2117	  If you say yes here you get support for the SigmaStar SSD202D On-Chip
2118	  Real Time Clock.
2119
2120	  This driver can also be built as a module, if so, the module
2121	  will be called "rtc-ssd20xd".
2122
2123config RTC_DRV_AMLOGIC_A4
2124	tristate "Amlogic RTC"
2125	depends on ARCH_MESON || COMPILE_TEST
2126	select REGMAP_MMIO
2127	default ARCH_MESON
2128	help
2129	  If you say yes here you get support for the RTC block on the
2130	  Amlogic A113L2(A4) and A113X2(A5) SoCs.
2131
2132	  This driver can also be built as a module. If so, the module
2133	  will be called "rtc-amlogic-a4".
2134
2135config RTC_DRV_S32G
2136	tristate "RTC driver for S32G2/S32G3 SoCs"
2137	depends on ARCH_S32 || COMPILE_TEST
2138	depends on COMMON_CLK
2139	help
2140	  Say yes to enable RTC driver for platforms based on the
2141	  S32G2/S32G3 SoC family.
2142
2143	  This RTC module can be used as a wakeup source.
2144	  Please note that it is not battery-powered.
2145
2146comment "HID Sensor RTC drivers"
2147
2148config RTC_DRV_HID_SENSOR_TIME
2149	tristate "HID Sensor Time"
2150	depends on USB_HID
2151	depends on HID_SENSOR_HUB && IIO
2152	select HID_SENSOR_IIO_COMMON
2153	help
2154	  Say yes here to build support for the HID Sensors of type Time.
2155	  This drivers makes such sensors available as RTCs.
2156
2157	  If this driver is compiled as a module, it will be named
2158	  rtc-hid-sensor-time.
2159
2160endif # RTC_CLASS
2161