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