xref: /linux/drivers/rtc/Kconfig (revision cb299ba8b5ef2239429484072fea394cd7581bd7)
1#
2# RTC class/drivers configuration
3#
4
5config RTC_LIB
6	tristate
7
8menuconfig RTC_CLASS
9	tristate "Real Time Clock"
10	default n
11	depends on !S390
12	select RTC_LIB
13	help
14	  Generic RTC class support. If you say yes here, you will
15 	  be allowed to plug one or more RTCs to your system. You will
16	  probably want to enable one or more of the interfaces below.
17
18	  This driver can also be built as a module. If so, the module
19	  will be called rtc-core.
20
21if RTC_CLASS
22
23config RTC_HCTOSYS
24	bool "Set system time from RTC on startup and resume"
25	depends on RTC_CLASS = y
26	default y
27	help
28	  If you say yes here, the system time (wall clock) will be set using
29	  the value read from a specified RTC device. This is useful to avoid
30	  unnecessary fsck runs at boot time, and to network better.
31
32config RTC_HCTOSYS_DEVICE
33	string "RTC used to set the system time"
34	depends on RTC_HCTOSYS = y
35	default "rtc0"
36	help
37	  The RTC device that will be used to (re)initialize the system
38	  clock, usually rtc0. Initialization is done when the system
39	  starts up, and when it resumes from a low power state. This
40	  device should record time in UTC, since the kernel won't do
41	  timezone correction.
42
43	  The driver for this RTC device must be loaded before late_initcall
44	  functions run, so it must usually be statically linked.
45
46	  This clock should be battery-backed, so that it reads the correct
47	  time when the system boots from a power-off state. Otherwise, your
48	  system will need an external clock source (like an NTP server).
49
50	  If the clock you specify here is not battery backed, it may still
51	  be useful to reinitialize system time when resuming from system
52	  sleep states. Do not specify an RTC here unless it stays powered
53	  during all this system's supported sleep states.
54
55config RTC_DEBUG
56	bool "RTC debug support"
57	depends on RTC_CLASS = y
58	help
59	  Say yes here to enable debugging support in the RTC framework
60	  and individual RTC drivers.
61
62comment "RTC interfaces"
63
64config RTC_INTF_SYSFS
65	boolean "/sys/class/rtc/rtcN (sysfs)"
66	depends on SYSFS
67	default RTC_CLASS
68	help
69	  Say yes here if you want to use your RTCs using sysfs interfaces,
70	  /sys/class/rtc/rtc0 through /sys/.../rtcN.
71
72	  If unsure, say Y.
73
74config RTC_INTF_PROC
75	boolean "/proc/driver/rtc (procfs for rtc0)"
76	depends on PROC_FS
77	default RTC_CLASS
78	help
79	  Say yes here if you want to use your first RTC through the proc
80	  interface, /proc/driver/rtc. Other RTCs will not be available
81	  through that API.
82
83	  If unsure, say Y.
84
85config RTC_INTF_DEV
86	boolean "/dev/rtcN (character devices)"
87	default RTC_CLASS
88	help
89	  Say yes here if you want to use your RTCs using the /dev
90	  interfaces, which "udev" sets up as /dev/rtc0 through
91	  /dev/rtcN.
92
93	  You may want to set up a symbolic link so one of these
94	  can be accessed as /dev/rtc, which is a name
95	  expected by "hwclock" and some other programs. Recent
96	  versions of "udev" are known to set up the symlink for you.
97
98	  If unsure, say Y.
99
100config RTC_INTF_DEV_UIE_EMUL
101	bool "RTC UIE emulation on dev interface"
102	depends on RTC_INTF_DEV
103	help
104	  Provides an emulation for RTC_UIE if the underlying rtc chip
105	  driver does not expose RTC_UIE ioctls. Those requests generate
106	  once-per-second update interrupts, used for synchronization.
107
108	  The emulation code will read the time from the hardware
109	  clock several times per second, please enable this option
110	  only if you know that you really need it.
111
112config RTC_DRV_TEST
113	tristate "Test driver/device"
114	help
115	  If you say yes here you get support for the
116	  RTC test driver. It's a software RTC which can be
117	  used to test the RTC subsystem APIs. It gets
118	  the time from the system clock.
119	  You want this driver only if you are doing development
120	  on the RTC subsystem. Please read the source code
121	  for further details.
122
123	  This driver can also be built as a module. If so, the module
124	  will be called rtc-test.
125
126comment "I2C RTC drivers"
127	depends on I2C
128
129if I2C
130
131config RTC_DRV_DS1307
132	tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00, EPSON RX-8025"
133	help
134	  If you say yes here you get support for various compatible RTC
135	  chips (often with battery backup) connected with I2C. This driver
136	  should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
137	  EPSON RX-8025 and probably other chips. In some cases the RTC
138	  must already have been initialized (by manufacturing or a
139	  bootloader).
140
141	  The first seven registers on these chips hold an RTC, and other
142	  registers may add features such as NVRAM, a trickle charger for
143	  the RTC/NVRAM backup power, and alarms. NVRAM is visible in
144	  sysfs, but other chip features may not be available.
145
146	  This driver can also be built as a module. If so, the module
147	  will be called rtc-ds1307.
148
149config RTC_DRV_DS1374
150	tristate "Dallas/Maxim DS1374"
151	depends on RTC_CLASS && I2C
152	help
153	  If you say yes here you get support for Dallas Semiconductor
154	  DS1374 real-time clock chips. If an interrupt is associated
155	  with the device, the alarm functionality is supported.
156
157	  This driver can also be built as a module. If so, the module
158	  will be called rtc-ds1374.
159
160config RTC_DRV_DS1672
161	tristate "Dallas/Maxim DS1672"
162	help
163	  If you say yes here you get support for the
164	  Dallas/Maxim DS1672 timekeeping chip.
165
166	  This driver can also be built as a module. If so, the module
167	  will be called rtc-ds1672.
168
169config RTC_DRV_DS3232
170	tristate "Dallas/Maxim DS3232"
171	depends on RTC_CLASS && I2C
172	help
173	  If you say yes here you get support for Dallas Semiconductor
174	  DS3232 real-time clock chips. If an interrupt is associated
175	  with the device, the alarm functionality is supported.
176
177	  This driver can also be built as a module.  If so, the module
178	  will be called rtc-ds3232.
179
180config RTC_DRV_MAX6900
181	tristate "Maxim MAX6900"
182	help
183	  If you say yes here you will get support for the
184	  Maxim MAX6900 I2C RTC chip.
185
186	  This driver can also be built as a module. If so, the module
187	  will be called rtc-max6900.
188
189config RTC_DRV_MAX8925
190	tristate "Maxim MAX8925"
191	depends on MFD_MAX8925
192	help
193	  If you say yes here you will get support for the
194	  RTC of Maxim MAX8925 PMIC.
195
196	  This driver can also be built as a module. If so, the module
197	  will be called rtc-max8925.
198
199config RTC_DRV_RS5C372
200	tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
201	help
202	  If you say yes here you get support for the
203	  Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
204
205	  This driver can also be built as a module. If so, the module
206	  will be called rtc-rs5c372.
207
208config RTC_DRV_ISL1208
209	tristate "Intersil ISL1208"
210	help
211	  If you say yes here you get support for the
212	  Intersil ISL1208 RTC chip.
213
214	  This driver can also be built as a module. If so, the module
215	  will be called rtc-isl1208.
216
217config RTC_DRV_ISL12022
218	tristate "Intersil ISL12022"
219	help
220	  If you say yes here you get support for the
221	  Intersil ISL12022 RTC chip.
222
223	  This driver can also be built as a module. If so, the module
224	  will be called rtc-isl12022.
225
226config RTC_DRV_X1205
227	tristate "Xicor/Intersil X1205"
228	help
229	  If you say yes here you get support for the
230	  Xicor/Intersil X1205 RTC chip.
231
232	  This driver can also be built as a module. If so, the module
233	  will be called rtc-x1205.
234
235config RTC_DRV_PCF8563
236	tristate "Philips PCF8563/Epson RTC8564"
237	help
238	  If you say yes here you get support for the
239	  Philips PCF8563 RTC chip. The Epson RTC8564
240	  should work as well.
241
242	  This driver can also be built as a module. If so, the module
243	  will be called rtc-pcf8563.
244
245config RTC_DRV_PCF8583
246	tristate "Philips PCF8583"
247	help
248	  If you say yes here you get support for the Philips PCF8583
249	  RTC chip found on Acorn RiscPCs. This driver supports the
250	  platform specific method of retrieving the current year from
251	  the RTC's SRAM. It will work on other platforms with the same
252	  chip, but the year will probably have to be tweaked.
253
254	  This driver can also be built as a module. If so, the module
255	  will be called rtc-pcf8583.
256
257config RTC_DRV_M41T80
258	tristate "ST M41T62/65/M41T80/81/82/83/84/85/87"
259	help
260	  If you say Y here you will get support for the ST M41T60
261	  and M41T80 RTC chips series. Currently, the following chips are
262	  supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
263	  M41ST85, and M41ST87.
264
265	  This driver can also be built as a module. If so, the module
266	  will be called rtc-m41t80.
267
268config RTC_DRV_M41T80_WDT
269	bool "ST M41T65/M41T80 series RTC watchdog timer"
270	depends on RTC_DRV_M41T80
271	help
272	  If you say Y here you will get support for the
273	  watchdog timer in the ST M41T60 and M41T80 RTC chips series.
274
275config RTC_DRV_BQ32K
276	tristate "TI BQ32000"
277	help
278	  If you say Y here you will get support for the TI
279	  BQ32000 I2C RTC chip.
280
281	  This driver can also be built as a module. If so, the module
282	  will be called rtc-bq32k.
283
284config RTC_DRV_DM355EVM
285	tristate "TI DaVinci DM355 EVM RTC"
286	depends on MFD_DM355EVM_MSP
287	help
288	  Supports the RTC firmware in the MSP430 on the DM355 EVM.
289
290config RTC_DRV_TWL92330
291	boolean "TI TWL92330/Menelaus"
292	depends on MENELAUS
293	help
294	  If you say yes here you get support for the RTC on the
295	  TWL92330 "Menelaus" power management chip, used with OMAP2
296	  platforms. The support is integrated with the rest of
297	  the Menelaus driver; it's not separate module.
298
299config RTC_DRV_TWL4030
300	tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
301	depends on RTC_CLASS && TWL4030_CORE
302	help
303	  If you say yes here you get support for the RTC on the
304	  TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
305
306	  This driver can also be built as a module. If so, the module
307	  will be called rtc-twl.
308
309config RTC_DRV_S35390A
310	tristate "Seiko Instruments S-35390A"
311	select BITREVERSE
312	help
313	  If you say yes here you will get support for the Seiko
314	  Instruments S-35390A.
315
316	  This driver can also be built as a module. If so the module
317	  will be called rtc-s35390a.
318
319config RTC_DRV_FM3130
320	tristate "Ramtron FM3130"
321	help
322	  If you say Y here you will get support for the
323	  Ramtron FM3130 RTC chips.
324	  Ramtron FM3130 is a chip with two separate devices inside,
325	  RTC clock and FRAM. This driver provides only RTC functionality.
326
327	  This driver can also be built as a module. If so the module
328	  will be called rtc-fm3130.
329
330config RTC_DRV_RX8581
331	tristate "Epson RX-8581"
332	help
333	  If you say yes here you will get support for the Epson RX-8581.
334
335	  This driver can also be built as a module. If so the module
336	  will be called rtc-rx8581.
337
338config RTC_DRV_RX8025
339	tristate "Epson RX-8025SA/NB"
340	help
341	  If you say yes here you get support for the Epson
342	  RX-8025SA/NB RTC chips.
343
344	  This driver can also be built as a module. If so, the module
345	  will be called rtc-rx8025.
346
347endif # I2C
348
349comment "SPI RTC drivers"
350
351if SPI_MASTER
352
353config RTC_DRV_M41T94
354	tristate "ST M41T94"
355	help
356	  If you say yes here you will get support for the
357	  ST M41T94 SPI RTC chip.
358
359	  This driver can also be built as a module. If so, the module
360	  will be called rtc-m41t94.
361
362config RTC_DRV_DS1305
363	tristate "Dallas/Maxim DS1305/DS1306"
364	help
365	  Select this driver to get support for the Dallas/Maxim DS1305
366	  and DS1306 real time clock chips. These support a trickle
367	  charger, alarms, and NVRAM in addition to the clock.
368
369	  This driver can also be built as a module. If so, the module
370	  will be called rtc-ds1305.
371
372config RTC_DRV_DS1390
373	tristate "Dallas/Maxim DS1390/93/94"
374	help
375	  If you say yes here you get support for the
376	  Dallas/Maxim DS1390/93/94 chips.
377
378	  This driver only supports the RTC feature, and not other chip
379	  features such as alarms and trickle charging.
380
381	  This driver can also be built as a module. If so, the module
382	  will be called rtc-ds1390.
383
384config RTC_DRV_MAX6902
385	tristate "Maxim MAX6902"
386	help
387	  If you say yes here you will get support for the
388	  Maxim MAX6902 SPI RTC chip.
389
390	  This driver can also be built as a module. If so, the module
391	  will be called rtc-max6902.
392
393config RTC_DRV_R9701
394	tristate "Epson RTC-9701JE"
395	help
396	  If you say yes here you will get support for the
397	  Epson RTC-9701JE SPI RTC chip.
398
399	  This driver can also be built as a module. If so, the module
400	  will be called rtc-r9701.
401
402config RTC_DRV_RS5C348
403	tristate "Ricoh RS5C348A/B"
404	help
405	  If you say yes here you get support for the
406	  Ricoh RS5C348A and RS5C348B RTC chips.
407
408	  This driver can also be built as a module. If so, the module
409	  will be called rtc-rs5c348.
410
411config RTC_DRV_DS3234
412	tristate "Maxim/Dallas DS3234"
413	help
414	  If you say yes here you get support for the
415	  Maxim/Dallas DS3234 SPI RTC chip.
416
417	  This driver can also be built as a module. If so, the module
418	  will be called rtc-ds3234.
419
420config RTC_DRV_PCF2123
421	tristate "NXP PCF2123"
422	help
423	  If you say yes here you get support for the NXP PCF2123
424	  RTC chip.
425
426	  This driver can also be built as a module. If so, the module
427	  will be called rtc-pcf2123.
428
429endif # SPI_MASTER
430
431comment "Platform RTC drivers"
432
433# this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h>
434# requires <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
435# global rtc_lock ... it's not yet just another platform_device.
436
437config RTC_DRV_CMOS
438	tristate "PC-style 'CMOS'"
439	depends on X86 || ALPHA || ARM || M32R || ATARI || PPC || MIPS || SPARC64
440	default y if X86
441	help
442	  Say "yes" here to get direct support for the real time clock
443	  found in every PC or ACPI-based system, and some other boards.
444	  Specifically the original MC146818, compatibles like those in
445	  PC south bridges, the DS12887 or M48T86, some multifunction
446	  or LPC bus chips, and so on.
447
448	  Your system will need to define the platform device used by
449	  this driver, otherwise it won't be accessible. This means
450	  you can safely enable this driver if you don't know whether
451	  or not your board has this kind of hardware.
452
453	  This driver can also be built as a module. If so, the module
454	  will be called rtc-cmos.
455
456config RTC_DRV_DS1216
457	tristate "Dallas DS1216"
458	depends on SNI_RM
459	help
460	  If you say yes here you get support for the Dallas DS1216 RTC chips.
461
462config RTC_DRV_DS1286
463	tristate "Dallas DS1286"
464	help
465	  If you say yes here you get support for the Dallas DS1286 RTC chips.
466
467config RTC_DRV_DS1302
468	tristate "Dallas DS1302"
469	depends on SH_SECUREEDGE5410
470	help
471	  If you say yes here you get support for the Dallas DS1302 RTC chips.
472
473config RTC_DRV_DS1511
474	tristate "Dallas DS1511"
475	depends on RTC_CLASS
476	help
477	  If you say yes here you get support for the
478	  Dallas DS1511 timekeeping/watchdog chip.
479
480	  This driver can also be built as a module. If so, the module
481	  will be called rtc-ds1511.
482
483config RTC_DRV_DS1553
484	tristate "Maxim/Dallas DS1553"
485	help
486	  If you say yes here you get support for the
487	  Maxim/Dallas DS1553 timekeeping chip.
488
489	  This driver can also be built as a module. If so, the module
490	  will be called rtc-ds1553.
491
492config RTC_DRV_DS1742
493	tristate "Maxim/Dallas DS1742/1743"
494	help
495	  If you say yes here you get support for the
496	  Maxim/Dallas DS1742/1743 timekeeping chip.
497
498	  This driver can also be built as a module. If so, the module
499	  will be called rtc-ds1742.
500
501config RTC_DRV_EFI
502	tristate "EFI RTC"
503	depends on IA64
504	help
505	  If you say yes here you will get support for the EFI
506	  Real Time Clock.
507
508	  This driver can also be built as a module. If so, the module
509	  will be called rtc-efi.
510
511config RTC_DRV_STK17TA8
512	tristate "Simtek STK17TA8"
513	depends on RTC_CLASS
514	help
515	  If you say yes here you get support for the
516	  Simtek STK17TA8 timekeeping chip.
517
518	  This driver can also be built as a module. If so, the module
519	  will be called rtc-stk17ta8.
520
521config RTC_DRV_M48T86
522	tristate "ST M48T86/Dallas DS12887"
523	help
524	  If you say Y here you will get support for the
525	  ST M48T86 and Dallas DS12887 RTC chips.
526
527	  This driver can also be built as a module. If so, the module
528	  will be called rtc-m48t86.
529
530config RTC_DRV_M48T35
531	tristate "ST M48T35"
532	help
533	  If you say Y here you will get support for the
534	  ST M48T35 RTC chip.
535
536	  This driver can also be built as a module, if so, the module
537	  will be called "rtc-m48t35".
538
539config RTC_DRV_M48T59
540	tristate "ST M48T59/M48T08/M48T02"
541	help
542	  If you say Y here you will get support for the
543	  ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
544
545	  These chips are usually found in Sun SPARC and UltraSPARC
546	  workstations.
547
548	  This driver can also be built as a module, if so, the module
549	  will be called "rtc-m48t59".
550
551config RTC_DRV_MSM6242
552	tristate "Oki MSM6242"
553	help
554	  If you say yes here you get support for the Oki MSM6242
555	  timekeeping chip. It is used in some Amiga models (e.g. A2000).
556
557	  This driver can also be built as a module. If so, the module
558	  will be called rtc-msm6242.
559
560config RTC_DRV_IMXDI
561	tristate "Freescale IMX DryIce Real Time Clock"
562	depends on ARCH_MX25
563	depends on RTC_CLASS
564	help
565	   Support for Freescale IMX DryIce RTC
566
567	   This driver can also be built as a module, if so, the module
568	   will be called "rtc-imxdi".
569
570config RTC_MXC
571	tristate "Freescale MXC Real Time Clock"
572	depends on ARCH_MXC
573	depends on RTC_CLASS
574	help
575	   If you say yes here you get support for the Freescale MXC
576	   RTC module.
577
578	   This driver can also be built as a module, if so, the module
579	   will be called "rtc-mxc".
580
581config RTC_DRV_BQ4802
582	tristate "TI BQ4802"
583	help
584	  If you say Y here you will get support for the TI
585	  BQ4802 RTC chip.
586
587	  This driver can also be built as a module. If so, the module
588	  will be called rtc-bq4802.
589
590config RTC_DRV_RP5C01
591	tristate "Ricoh RP5C01"
592	help
593	  If you say yes here you get support for the Ricoh RP5C01
594	  timekeeping chip. It is used in some Amiga models (e.g. A3000
595	  and A4000).
596
597	  This driver can also be built as a module. If so, the module
598	  will be called rtc-rp5c01.
599
600config RTC_DRV_V3020
601	tristate "EM Microelectronic V3020"
602	help
603	  If you say yes here you will get support for the
604	  EM Microelectronic v3020 RTC chip.
605
606	  This driver can also be built as a module. If so, the module
607	  will be called rtc-v3020.
608
609config RTC_DRV_WM831X
610	tristate "Wolfson Microelectronics WM831x RTC"
611	depends on MFD_WM831X
612	help
613	  If you say yes here you will get support for the RTC subsystem
614	  of the Wolfson Microelectronics WM831X series PMICs.
615
616	  This driver can also be built as a module. If so, the module
617	  will be called "rtc-wm831x".
618
619config RTC_DRV_WM8350
620	tristate "Wolfson Microelectronics WM8350 RTC"
621	depends on MFD_WM8350
622	help
623	  If you say yes here you will get support for the RTC subsystem
624	  of the Wolfson Microelectronics WM8350.
625
626	  This driver can also be built as a module. If so, the module
627	  will be called "rtc-wm8350".
628
629config RTC_DRV_PCF50633
630	depends on MFD_PCF50633
631	tristate "NXP PCF50633 RTC"
632	help
633	  If you say yes here you get support for the RTC subsystem of the
634	  NXP PCF50633 used in embedded systems.
635
636config RTC_DRV_AB3100
637	tristate "ST-Ericsson AB3100 RTC"
638	depends on AB3100_CORE
639	default y if AB3100_CORE
640	help
641	  Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
642	  support. This chip contains a battery- and capacitor-backed RTC.
643
644config RTC_DRV_AB8500
645	tristate "ST-Ericsson AB8500 RTC"
646	depends on AB8500_CORE
647	help
648	  Select this to enable the ST-Ericsson AB8500 power management IC RTC
649	  support. This chip contains a battery- and capacitor-backed RTC.
650
651config RTC_DRV_NUC900
652	tristate "NUC910/NUC920 RTC driver"
653	depends on RTC_CLASS && ARCH_W90X900
654	help
655	  If you say yes here you get support for the RTC subsystem of the
656	  NUC910/NUC920 used in embedded systems.
657
658comment "on-CPU RTC drivers"
659
660config RTC_DRV_DAVINCI
661	tristate "TI DaVinci RTC"
662	depends on ARCH_DAVINCI_DM365
663	help
664	  If you say yes here you get support for the RTC on the
665	  DaVinci platforms (DM365).
666
667	  This driver can also be built as a module. If so, the module
668	  will be called rtc-davinci.
669
670config RTC_DRV_OMAP
671	tristate "TI OMAP1"
672	depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730 || ARCH_DAVINCI_DA8XX
673	help
674	  Say "yes" here to support the real time clock on TI OMAP1 and
675	  DA8xx/OMAP-L13x chips.  This driver can also be built as a
676	  module called rtc-omap.
677
678config HAVE_S3C_RTC
679	bool
680	help
681	  This will include RTC support for Samsung SoCs. If
682	  you want to include RTC support for any machine, kindly
683	  select this in the respective mach-XXXX/Kconfig file.
684
685config RTC_DRV_S3C
686	tristate "Samsung S3C series SoC RTC"
687	depends on ARCH_S3C2410 || ARCH_S3C64XX || HAVE_S3C_RTC
688	help
689	  RTC (Realtime Clock) driver for the clock inbuilt into the
690	  Samsung S3C24XX series of SoCs. This can provide periodic
691	  interrupt rates from 1Hz to 64Hz for user programs, and
692	  wakeup from Alarm.
693
694	  The driver currently supports the common features on all the
695	  S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
696	  and S3C2442.
697
698	  This driver can also be build as a module. If so, the module
699	  will be called rtc-s3c.
700
701config RTC_DRV_EP93XX
702	tristate "Cirrus Logic EP93XX"
703	depends on ARCH_EP93XX
704	help
705	  If you say yes here you get support for the
706	  RTC embedded in the Cirrus Logic EP93XX processors.
707
708	  This driver can also be built as a module. If so, the module
709	  will be called rtc-ep93xx.
710
711config RTC_DRV_SA1100
712	tristate "SA11x0/PXA2xx"
713	depends on ARCH_SA1100 || ARCH_PXA
714	help
715	  If you say Y here you will get access to the real time clock
716	  built into your SA11x0 or PXA2xx CPU.
717
718	  To compile this driver as a module, choose M here: the
719	  module will be called rtc-sa1100.
720
721config RTC_DRV_SH
722	tristate "SuperH On-Chip RTC"
723	depends on RTC_CLASS && SUPERH && HAVE_CLK
724	help
725	  Say Y here to enable support for the on-chip RTC found in
726	  most SuperH processors.
727
728 	  To compile this driver as a module, choose M here: the
729	  module will be called rtc-sh.
730
731config RTC_DRV_VR41XX
732	tristate "NEC VR41XX"
733	depends on CPU_VR41XX
734	help
735	  If you say Y here you will get access to the real time clock
736	  built into your NEC VR41XX CPU.
737
738	  To compile this driver as a module, choose M here: the
739	  module will be called rtc-vr41xx.
740
741config RTC_DRV_PL030
742	tristate "ARM AMBA PL030 RTC"
743	depends on ARM_AMBA
744	help
745	  If you say Y here you will get access to ARM AMBA
746	  PrimeCell PL030 RTC found on certain ARM SOCs.
747
748	  To compile this driver as a module, choose M here: the
749	  module will be called rtc-pl030.
750
751config RTC_DRV_PL031
752	tristate "ARM AMBA PL031 RTC"
753	depends on ARM_AMBA
754	help
755	  If you say Y here you will get access to ARM AMBA
756	  PrimeCell PL031 RTC found on certain ARM SOCs.
757
758	  To compile this driver as a module, choose M here: the
759	  module will be called rtc-pl031.
760
761config RTC_DRV_AT32AP700X
762	tristate "AT32AP700X series RTC"
763	depends on PLATFORM_AT32AP
764	help
765	  Driver for the internal RTC (Realtime Clock) on Atmel AVR32
766	  AT32AP700x family processors.
767
768config RTC_DRV_AT91RM9200
769	tristate "AT91RM9200 or some AT91SAM9 RTC"
770	depends on ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9G45
771	help
772	  Driver for the internal RTC (Realtime Clock) module found on
773	  Atmel AT91RM9200's and some  AT91SAM9 chips. On AT91SAM9 chips
774	  this is powered by the backup power supply.
775
776config RTC_DRV_AT91SAM9
777	tristate "AT91SAM9x/AT91CAP9 RTT as RTC"
778	depends on ARCH_AT91 && !(ARCH_AT91RM9200 || ARCH_AT91X40)
779	help
780	  RTC driver for the Atmel AT91SAM9x and AT91CAP9 internal RTT
781	  (Real Time Timer). These timers are powered by the backup power
782	  supply (such as a small coin cell battery), but do not need to
783	  be used as RTCs.
784
785	  (On AT91SAM9rl and AT91SAM9G45 chips you probably want to use the
786	  dedicated RTC module and leave the RTT available for other uses.)
787
788config RTC_DRV_AT91SAM9_RTT
789	int
790	range 0 1
791	default 0
792	prompt "RTT module Number" if ARCH_AT91SAM9263
793	depends on RTC_DRV_AT91SAM9
794	help
795	  More than one RTT module is available. You can choose which
796	  one will be used as an RTC. The default of zero is normally
797	  OK to use, though some systems use that for non-RTC purposes.
798
799config RTC_DRV_AT91SAM9_GPBR
800	int
801	range 0 3 if !ARCH_AT91SAM9263
802	range 0 15 if ARCH_AT91SAM9263
803	default 0
804	prompt "Backup Register Number"
805	depends on RTC_DRV_AT91SAM9
806	help
807	  The RTC driver needs to use one of the General Purpose Backup
808	  Registers (GPBRs) as well as the RTT. You can choose which one
809	  will be used. The default of zero is normally OK to use, but
810	  on some systems other software needs to use that register.
811
812config RTC_DRV_AU1XXX
813	tristate "Au1xxx Counter0 RTC support"
814	depends on MIPS_ALCHEMY
815	help
816	  This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
817	  counter) to be used as a RTC.
818
819	  This driver can also be built as a module. If so, the module
820	  will be called rtc-au1xxx.
821
822config RTC_DRV_BFIN
823	tristate "Blackfin On-Chip RTC"
824	depends on BLACKFIN && !BF561
825	help
826	  If you say yes here you will get support for the
827	  Blackfin On-Chip Real Time Clock.
828
829	  This driver can also be built as a module. If so, the module
830	  will be called rtc-bfin.
831
832config RTC_DRV_RS5C313
833	tristate "Ricoh RS5C313"
834	depends on SH_LANDISK
835	help
836	  If you say yes here you get support for the Ricoh RS5C313 RTC chips.
837
838config RTC_DRV_GENERIC
839	tristate "Generic RTC support"
840	# Please consider writing a new RTC driver instead of using the generic
841	# RTC abstraction
842	depends on PARISC || M68K || PPC || SUPERH32
843	help
844	  Say Y or M here to enable RTC support on systems using the generic
845	  RTC abstraction. If you do not know what you are doing, you should
846	  just say Y.
847
848config RTC_DRV_PXA
849       tristate "PXA27x/PXA3xx"
850       depends on ARCH_PXA
851       help
852         If you say Y here you will get access to the real time clock
853         built into your PXA27x or PXA3xx CPU.
854
855         This RTC driver uses PXA RTC registers available since pxa27x
856         series (RDxR, RYxR) instead of legacy RCNR, RTAR.
857
858
859config RTC_DRV_SUN4V
860	bool "SUN4V Hypervisor RTC"
861	depends on SPARC64
862	help
863	  If you say Y here you will get support for the Hypervisor
864	  based RTC on SUN4V systems.
865
866config RTC_DRV_STARFIRE
867	bool "Starfire RTC"
868	depends on SPARC64
869	help
870	  If you say Y here you will get support for the RTC found on
871	  Starfire systems.
872
873config RTC_DRV_TX4939
874	tristate "TX4939 SoC"
875	depends on SOC_TX4939
876	help
877	  Driver for the internal RTC (Realtime Clock) module found on
878	  Toshiba TX4939 SoC.
879
880config RTC_DRV_MV
881	tristate "Marvell SoC RTC"
882	depends on ARCH_KIRKWOOD || ARCH_DOVE
883	help
884	  If you say yes here you will get support for the in-chip RTC
885	  that can be found in some of Marvell's SoC devices, such as
886	  the Kirkwood 88F6281 and 88F6192.
887
888	  This driver can also be built as a module. If so, the module
889	  will be called rtc-mv.
890
891config RTC_DRV_PS3
892	tristate "PS3 RTC"
893	depends on PPC_PS3
894	help
895	  If you say yes here you will get support for the RTC on PS3.
896
897	  This driver can also be built as a module. If so, the module
898	  will be called rtc-ps3.
899
900config RTC_DRV_COH901331
901	tristate "ST-Ericsson COH 901 331 RTC"
902	depends on ARCH_U300
903	help
904	  If you say Y here you will get access to ST-Ericsson
905	  COH 901 331 RTC clock found in some ST-Ericsson Mobile
906	  Platforms.
907
908	  This driver can also be built as a module. If so, the module
909	  will be called "rtc-coh901331".
910
911
912config RTC_DRV_STMP
913	tristate "Freescale STMP3xxx RTC"
914	depends on ARCH_STMP3XXX
915	help
916	  If you say yes here you will get support for the onboard
917	  STMP3xxx RTC.
918
919	  This driver can also be built as a module. If so, the module
920	  will be called rtc-stmp3xxx.
921
922config RTC_DRV_PCAP
923	tristate "PCAP RTC"
924	depends on EZX_PCAP
925	help
926	  If you say Y here you will get support for the RTC found on
927	  the PCAP2 ASIC used on some Motorola phones.
928
929config RTC_DRV_MC13783
930	depends on MFD_MC13783
931	tristate "Freescale MC13783 RTC"
932	help
933	  This enables support for the Freescale MC13783 PMIC RTC
934
935config RTC_DRV_MPC5121
936	tristate "Freescale MPC5121 built-in RTC"
937	depends on PPC_MPC512x && RTC_CLASS
938	help
939	  If you say yes here you will get support for the
940	  built-in RTC MPC5121.
941
942	  This driver can also be built as a module. If so, the module
943	  will be called rtc-mpc5121.
944
945config RTC_DRV_JZ4740
946	tristate "Ingenic JZ4740 SoC"
947	depends on RTC_CLASS
948	depends on MACH_JZ4740
949	help
950	  If you say yes here you get support for the Ingenic JZ4740 SoC RTC
951	  controller.
952
953	  This driver can also be buillt as a module. If so, the module
954	  will be called rtc-jz4740.
955
956config RTC_DRV_LPC32XX
957	depends on ARCH_LPC32XX
958	tristate "NXP LPC32XX RTC"
959	help
960	  This enables support for the NXP RTC in the LPC32XX
961
962	  This driver can also be buillt as a module. If so, the module
963	  will be called rtc-lpc32xx.
964
965endif # RTC_CLASS
966