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