]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/rtc/Kconfig
dt/bindings: Add bindings for the PIC32 real time clock
[mirror_ubuntu-artful-kernel.git] / drivers / rtc / Kconfig
CommitLineData
7be2c7c9 1#
c58411e9
AZ
2# RTC class/drivers configuration
3#
4
5config RTC_LIB
b4d246b1 6 bool
0c86edc0 7
bb35fb20 8menuconfig RTC_CLASS
b4d246b1 9 bool "Real Time Clock"
0c86edc0 10 default n
3369465e 11 depends on !S390 && !UML
0c86edc0
AZ
12 select RTC_LIB
13 help
14 Generic RTC class support. If you say yes here, you will
98ab2c93 15 be allowed to plug one or more RTCs to your system. You will
27ae4104 16 probably want to enable one or more of the interfaces below.
0c86edc0 17
bb35fb20
JE
18if RTC_CLASS
19
0c86edc0 20config RTC_HCTOSYS
7ca1d488 21 bool "Set system time from RTC on startup and resume"
0c86edc0
AZ
22 default y
23 help
7ca1d488
DB
24 If you say yes here, the system time (wall clock) will be set using
25 the value read from a specified RTC device. This is useful to avoid
26 unnecessary fsck runs at boot time, and to network better.
0c86edc0
AZ
27
28config RTC_HCTOSYS_DEVICE
7ca1d488 29 string "RTC used to set the system time"
9c5150b3 30 depends on RTC_HCTOSYS
0c86edc0
AZ
31 default "rtc0"
32 help
7ca1d488 33 The RTC device that will be used to (re)initialize the system
ae64d169
AZ
34 clock, usually rtc0. Initialization is done when the system
35 starts up, and when it resumes from a low power state. This
779d2089
DB
36 device should record time in UTC, since the kernel won't do
37 timezone correction.
7ca1d488 38
55ff1aba
DB
39 The driver for this RTC device must be loaded before late_initcall
40 functions run, so it must usually be statically linked.
41
7ca1d488 42 This clock should be battery-backed, so that it reads the correct
ae64d169 43 time when the system boots from a power-off state. Otherwise, your
7ca1d488
DB
44 system will need an external clock source (like an NTP server).
45
46 If the clock you specify here is not battery backed, it may still
47 be useful to reinitialize system time when resuming from system
09b6bdb3 48 sleep states. Do not specify an RTC here unless it stays powered
7ca1d488 49 during all this system's supported sleep states.
0c86edc0 50
9c5150b3
XP
51config RTC_SYSTOHC
52 bool "Set the RTC time based on NTP synchronization"
53 default y
54 help
55 If you say yes here, the system time (wall clock) will be stored
56 in the RTC specified by RTC_HCTOSYS_DEVICE approximately every 11
57 minutes if userspace reports synchronized NTP status.
58
59config RTC_SYSTOHC_DEVICE
60 string "RTC used to synchronize NTP adjustment"
61 depends on RTC_SYSTOHC
62 default RTC_HCTOSYS_DEVICE if RTC_HCTOSYS
63 default "rtc0"
64 help
65 The RTC device used for NTP synchronization. The main difference
66 between RTC_HCTOSYS_DEVICE and RTC_SYSTOHC_DEVICE is that this
67 one can sleep when setting time, because it runs in the workqueue
68 context.
69
9e86ecb6
DB
70config RTC_DEBUG
71 bool "RTC debug support"
9e86ecb6
DB
72 help
73 Say yes here to enable debugging support in the RTC framework
74 and individual RTC drivers.
75
0c86edc0 76comment "RTC interfaces"
0c86edc0 77
c5c3e192 78config RTC_INTF_SYSFS
6341e62b 79 bool "/sys/class/rtc/rtcN (sysfs)"
bb35fb20 80 depends on SYSFS
8dc08395 81 default RTC_CLASS
c5c3e192 82 help
9e86ecb6
DB
83 Say yes here if you want to use your RTCs using sysfs interfaces,
84 /sys/class/rtc/rtc0 through /sys/.../rtcN.
c5c3e192 85
ae64d169 86 If unsure, say Y.
c5c3e192 87
728a2947 88config RTC_INTF_PROC
6341e62b 89 bool "/proc/driver/rtc (procfs for rtcN)"
bb35fb20 90 depends on PROC_FS
8dc08395 91 default RTC_CLASS
728a2947 92 help
92589c98
KM
93 Say yes here if you want to use your system clock RTC through
94 the proc interface, /proc/driver/rtc.
95 Other RTCs will not be available through that API.
96 If there is no RTC for the system clock, then the first RTC(rtc0)
97 is used by default.
728a2947 98
ae64d169 99 If unsure, say Y.
728a2947 100
e824290e 101config RTC_INTF_DEV
6341e62b 102 bool "/dev/rtcN (character devices)"
8dc08395 103 default RTC_CLASS
e824290e 104 help
9e86ecb6
DB
105 Say yes here if you want to use your RTCs using the /dev
106 interfaces, which "udev" sets up as /dev/rtc0 through
ae64d169 107 /dev/rtcN.
e824290e 108
ae64d169
AZ
109 You may want to set up a symbolic link so one of these
110 can be accessed as /dev/rtc, which is a name
111 expected by "hwclock" and some other programs. Recent
112 versions of "udev" are known to set up the symlink for you.
113
114 If unsure, say Y.
e824290e 115
6e57b1d6
JS
116config RTC_INTF_DEV_UIE_EMUL
117 bool "RTC UIE emulation on dev interface"
118 depends on RTC_INTF_DEV
119 help
120 Provides an emulation for RTC_UIE if the underlying rtc chip
121 driver does not expose RTC_UIE ioctls. Those requests generate
122 once-per-second update interrupts, used for synchronization.
123
124 The emulation code will read the time from the hardware
125 clock several times per second, please enable this option
126 only if you know that you really need it.
127
09a21e56
AZ
128config RTC_DRV_TEST
129 tristate "Test driver/device"
1fec7c66
AZ
130 help
131 If you say yes here you get support for the
09a21e56
AZ
132 RTC test driver. It's a software RTC which can be
133 used to test the RTC subsystem APIs. It gets
134 the time from the system clock.
135 You want this driver only if you are doing development
136 on the RTC subsystem. Please read the source code
137 for further details.
1fec7c66
AZ
138
139 This driver can also be built as a module. If so, the module
09a21e56
AZ
140 will be called rtc-test.
141
142comment "I2C RTC drivers"
bb35fb20
JE
143 depends on I2C
144
145if I2C
1fec7c66 146
008b3040
HZ
147config RTC_DRV_88PM860X
148 tristate "Marvell 88PM860x"
3783055e 149 depends on MFD_88PM860X
008b3040
HZ
150 help
151 If you say yes here you get support for RTC function in Marvell
152 88PM860x chips.
153
154 This driver can also be built as a module. If so, the module
155 will be called rtc-88pm860x.
156
2985c29c
QZ
157config RTC_DRV_88PM80X
158 tristate "Marvell 88PM80x"
3783055e 159 depends on MFD_88PM800
2985c29c
QZ
160 help
161 If you say yes here you get support for RTC function in Marvell
162 88PM80x chips.
163
164 This driver can also be built as a module. If so, the module
165 will be called rtc-88pm80x.
166
0b2f6228 167config RTC_DRV_ABB5ZES3
98ab2c93
AB
168 select REGMAP_I2C
169 tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
170 help
0b2f6228
AE
171 If you say yes here you get support for the Abracon
172 AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip.
173
174 This driver can also be built as a module. If so, the module
175 will be called rtc-ab-b5ze-s3.
176
4d61ff6b
PDM
177config RTC_DRV_ABX80X
178 tristate "Abracon ABx80x"
179 help
180 If you say yes here you get support for Abracon AB080X and AB180X
181 families of ultra-low-power battery- and capacitor-backed real-time
182 clock chips.
183
184 This driver can also be built as a module. If so, the module
185 will be called rtc-abx80x.
186
b4506261
LD
187config RTC_DRV_AS3722
188 tristate "ams AS3722 RTC driver"
189 depends on MFD_AS3722
190 help
191 If you say yes here you get support for the RTC of ams AS3722 PMIC
192 chips.
193
194 This driver can also be built as a module. If so, the module
195 will be called rtc-as3722.
196
1abb0dc9 197config RTC_DRV_DS1307
a2166858 198 tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00, EPSON RX-8025"
1abb0dc9
DB
199 help
200 If you say yes here you get support for various compatible RTC
ae64d169 201 chips (often with battery backup) connected with I2C. This driver
1abb0dc9 202 should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
a2166858
MF
203 EPSON RX-8025 and probably other chips. In some cases the RTC
204 must already have been initialized (by manufacturing or a
205 bootloader).
1abb0dc9
DB
206
207 The first seven registers on these chips hold an RTC, and other
208 registers may add features such as NVRAM, a trickle charger for
ae64d169 209 the RTC/NVRAM backup power, and alarms. NVRAM is visible in
682d73f6 210 sysfs, but other chip features may not be available.
1abb0dc9
DB
211
212 This driver can also be built as a module. If so, the module
213 will be called rtc-ds1307.
214
445c0207
AM
215config RTC_DRV_DS1307_HWMON
216 bool "HWMON support for rtc-ds1307"
217 depends on RTC_DRV_DS1307 && HWMON
218 depends on !(RTC_DRV_DS1307=y && HWMON=m)
219 default y
220 help
221 Say Y here if you want to expose temperature sensor data on
222 rtc-ds1307 (only DS3231)
223
bf4994d7 224config RTC_DRV_DS1374
09b6bdb3 225 tristate "Dallas/Maxim DS1374"
bf4994d7
SW
226 help
227 If you say yes here you get support for Dallas Semiconductor
ae64d169 228 DS1374 real-time clock chips. If an interrupt is associated
bf4994d7
SW
229 with the device, the alarm functionality is supported.
230
ae64d169 231 This driver can also be built as a module. If so, the module
bf4994d7
SW
232 will be called rtc-ds1374.
233
920f91e5
SA
234config RTC_DRV_DS1374_WDT
235 bool "Dallas/Maxim DS1374 watchdog timer"
236 depends on RTC_DRV_DS1374
237 help
238 If you say Y here you will get support for the
239 watchdog timer in the Dallas Semiconductor DS1374
240 real-time clock chips.
241
09a21e56
AZ
242config RTC_DRV_DS1672
243 tristate "Dallas/Maxim DS1672"
9bf5b4f5
AN
244 help
245 If you say yes here you get support for the
09a21e56 246 Dallas/Maxim DS1672 timekeeping chip.
9bf5b4f5
AN
247
248 This driver can also be built as a module. If so, the module
09a21e56 249 will be called rtc-ds1672.
9bf5b4f5 250
c03675f0
RZ
251config RTC_DRV_DS3232
252 tristate "Dallas/Maxim DS3232"
c03675f0
RZ
253 help
254 If you say yes here you get support for Dallas Semiconductor
f46418c5
LCB
255 DS3232 real-time clock chips. If an interrupt is associated
256 with the device, the alarm functionality is supported.
c03675f0
RZ
257
258 This driver can also be built as a module. If so, the module
259 will be called rtc-ds3232.
260
dcaf0384
HS
261config RTC_DRV_HYM8563
262 tristate "Haoyu Microelectronics HYM8563"
3783055e 263 depends on OF
dcaf0384
HS
264 help
265 Say Y to enable support for the HYM8563 I2C RTC chip. Apart
266 from the usual rtc functions it provides a clock output of
267 up to 32kHz.
268
269 This driver can also be built as a module. If so, the module
270 will be called rtc-hym8563.
271
38ae176e
KM
272config RTC_DRV_LP8788
273 tristate "TI LP8788 RTC driver"
274 depends on MFD_LP8788
275 help
276 Say Y to enable support for the LP8788 RTC/ALARM driver.
277
09a21e56 278config RTC_DRV_MAX6900
09b6bdb3 279 tristate "Maxim MAX6900"
7e56a7dc 280 help
09a21e56
AZ
281 If you say yes here you will get support for the
282 Maxim MAX6900 I2C RTC chip.
7e56a7dc
HVR
283
284 This driver can also be built as a module. If so, the module
09a21e56 285 will be called rtc-max6900.
7e56a7dc 286
94c01ab6
SW
287config RTC_DRV_MAX8907
288 tristate "Maxim MAX8907"
289 depends on MFD_MAX8907
290 help
291 If you say yes here you will get support for the
292 RTC of Maxim MAX8907 PMIC.
293
294 This driver can also be built as a module. If so, the module
295 will be called rtc-max8907.
296
a39069f6
HZ
297config RTC_DRV_MAX8925
298 tristate "Maxim MAX8925"
299 depends on MFD_MAX8925
300 help
301 If you say yes here you will get support for the
302 RTC of Maxim MAX8925 PMIC.
303
304 This driver can also be built as a module. If so, the module
305 will be called rtc-max8925.
306
9b16c0a4
JS
307config RTC_DRV_MAX8998
308 tristate "Maxim MAX8998"
309 depends on MFD_MAX8998
310 help
311 If you say yes here you will get support for the
312 RTC of Maxim MAX8998 PMIC.
313
314 This driver can also be built as a module. If so, the module
315 will be called rtc-max8998.
316
5e0b2704
JL
317config RTC_DRV_MAX8997
318 tristate "Maxim MAX8997"
319 depends on MFD_MAX8997
320 help
321 If you say yes here you will get support for the
322 RTC of Maxim MAX8997 PMIC.
323
324 This driver can also be built as a module. If so, the module
325 will be called rtc-max8997.
326
fca1dd03
JL
327config RTC_DRV_MAX77686
328 tristate "Maxim MAX77686"
329 depends on MFD_MAX77686
330 help
331 If you say yes here you will get support for the
332 RTC of Maxim MAX77686 PMIC.
333
334 This driver can also be built as a module. If so, the module
335 will be called rtc-max77686.
336
3ca1e326
CZ
337config RTC_DRV_RK808
338 tristate "Rockchip RK808 RTC"
339 depends on MFD_RK808
340 help
341 If you say yes here you will get support for the
342 RTC of RK808 PMIC.
343
344 This driver can also be built as a module. If so, the module
345 will be called rk808-rtc.
346
09a21e56 347config RTC_DRV_RS5C372
5d4529be 348 tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
edf1aaa3
AZ
349 help
350 If you say yes here you get support for the
5d4529be 351 Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
edf1aaa3
AZ
352
353 This driver can also be built as a module. If so, the module
09a21e56 354 will be called rtc-rs5c372.
edf1aaa3 355
09a21e56 356config RTC_DRV_ISL1208
09b6bdb3 357 tristate "Intersil ISL1208"
5ec3e4b7
AN
358 help
359 If you say yes here you get support for the
09b6bdb3 360 Intersil ISL1208 RTC chip.
5ec3e4b7
AN
361
362 This driver can also be built as a module. If so, the module
09a21e56 363 will be called rtc-isl1208.
5ec3e4b7 364
d6c7428f
RF
365config RTC_DRV_ISL12022
366 tristate "Intersil ISL12022"
367 help
368 If you say yes here you get support for the
369 Intersil ISL12022 RTC chip.
370
371 This driver can also be built as a module. If so, the module
372 will be called rtc-isl12022.
373
70e12337 374config RTC_DRV_ISL12057
98ab2c93
AB
375 select REGMAP_I2C
376 tristate "Intersil ISL12057"
377 help
70e12337
AE
378 If you say yes here you get support for the Intersil ISL12057
379 I2C RTC chip.
380
381 This driver can also be built as a module. If so, the module
382 will be called rtc-isl12057.
383
09a21e56
AZ
384config RTC_DRV_X1205
385 tristate "Xicor/Intersil X1205"
db68b189 386 help
09a21e56
AZ
387 If you say yes here you get support for the
388 Xicor/Intersil X1205 RTC chip.
389
390 This driver can also be built as a module. If so, the module
391 will be called rtc-x1205.
db68b189 392
0101e53c
LD
393config RTC_DRV_PALMAS
394 tristate "TI Palmas RTC driver"
395 depends on MFD_PALMAS
396 help
397 If you say yes here you get support for the RTC of TI PALMA series PMIC
398 chips.
399
400 This driver can also be built as a module. If so, the module
401 will be called rtc-palma.
402
18cb6368
RC
403config RTC_DRV_PCF2127
404 tristate "NXP PCF2127"
405 help
406 If you say yes here you get support for the NXP PCF2127/29 RTC
407 chips.
408
409 This driver can also be built as a module. If so, the module
410 will be called rtc-pcf2127.
411
f803f0d0
TR
412config RTC_DRV_PCF8523
413 tristate "NXP PCF8523"
414 help
415 If you say yes here you get support for the NXP PCF8523 RTC
416 chips.
417
418 This driver can also be built as a module. If so, the module
419 will be called rtc-pcf8523.
420
b5a82d62
AZ
421config RTC_DRV_PCF8563
422 tristate "Philips PCF8563/Epson RTC8564"
b5a82d62
AZ
423 help
424 If you say yes here you get support for the
425 Philips PCF8563 RTC chip. The Epson RTC8564
426 should work as well.
427
428 This driver can also be built as a module. If so, the module
429 will be called rtc-pcf8563.
430
796b7abb
SA
431config RTC_DRV_PCF85063
432 tristate "nxp PCF85063"
433 help
434 If you say yes here you get support for the PCF85063 RTC chip
435
436 This driver can also be built as a module. If so, the module
437 will be called rtc-pcf85063.
438
9c0c5705
L
439config RTC_DRV_PCF8583
440 tristate "Philips PCF8583"
9c0c5705 441 help
bb71f99f 442 If you say yes here you get support for the Philips PCF8583
09a21e56 443 RTC chip found on Acorn RiscPCs. This driver supports the
bb71f99f 444 platform specific method of retrieving the current year from
09a21e56
AZ
445 the RTC's SRAM. It will work on other platforms with the same
446 chip, but the year will probably have to be tweaked.
9c0c5705
L
447
448 This driver can also be built as a module. If so, the module
449 will be called rtc-pcf8583.
450
caaff562 451config RTC_DRV_M41T80
6b1a5235 452 tristate "ST M41T62/65/M41T80/81/82/83/84/85/87 and compatible"
caaff562 453 help
d3a126fc
SF
454 If you say Y here you will get support for the ST M41T60
455 and M41T80 RTC chips series. Currently, the following chips are
f30281f4 456 supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
6b1a5235 457 M41ST85, M41ST87, and MicroCrystal RV4162.
caaff562
AN
458
459 This driver can also be built as a module. If so, the module
460 will be called rtc-m41t80.
461
617780d2 462config RTC_DRV_M41T80_WDT
d3a126fc 463 bool "ST M41T65/M41T80 series RTC watchdog timer"
617780d2
AN
464 depends on RTC_DRV_M41T80
465 help
466 If you say Y here you will get support for the
d3a126fc 467 watchdog timer in the ST M41T60 and M41T80 RTC chips series.
617780d2 468
1ce7c83f
PZ
469config RTC_DRV_BQ32K
470 tristate "TI BQ32000"
471 help
472 If you say Y here you will get support for the TI
473 BQ32000 I2C RTC chip.
474
475 This driver can also be built as a module. If so, the module
476 will be called rtc-bq32k.
477
afd8d0f9
DB
478config RTC_DRV_DM355EVM
479 tristate "TI DaVinci DM355 EVM RTC"
480 depends on MFD_DM355EVM_MSP
481 help
482 Supports the RTC firmware in the MSP430 on the DM355 EVM.
483
0c4a59fe 484config RTC_DRV_TWL92330
6341e62b 485 bool "TI TWL92330/Menelaus"
bb35fb20 486 depends on MENELAUS
0c4a59fe
TL
487 help
488 If you say yes here you get support for the RTC on the
01dd2fbf 489 TWL92330 "Menelaus" power management chip, used with OMAP2
ae64d169 490 platforms. The support is integrated with the rest of
0c4a59fe
TL
491 the Menelaus driver; it's not separate module.
492
f96411ab 493config RTC_DRV_TWL4030
a6b49ffd 494 tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
6b8029fa 495 depends on TWL4030_CORE
f96411ab
DB
496 help
497 If you say yes here you get support for the RTC on the
a6b49ffd 498 TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
f96411ab
DB
499
500 This driver can also be built as a module. If so, the module
a6b49ffd 501 will be called rtc-twl.
f96411ab 502
dc59ed38
LD
503config RTC_DRV_TPS6586X
504 tristate "TI TPS6586X RTC driver"
505 depends on MFD_TPS6586X
506 help
a895d57d 507 TI Power Management IC TPS6586X supports RTC functionality
dc59ed38
LD
508 along with alarm. This driver supports the RTC driver for
509 the TPS6586X RTC module.
510
0e783980
VB
511config RTC_DRV_TPS65910
512 tristate "TI TPS65910 RTC driver"
513 depends on RTC_CLASS && MFD_TPS65910
514 help
515 If you say yes here you get support for the RTC on the
516 TPS65910 chips.
517
518 This driver can also be built as a module. If so, the module
519 will be called rtc-tps65910.
520
36d61824
LD
521config RTC_DRV_TPS80031
522 tristate "TI TPS80031/TPS80032 RTC driver"
523 depends on MFD_TPS80031
524 help
a895d57d 525 TI Power Management IC TPS80031 supports RTC functionality
36d61824
LD
526 along with alarm. This driver supports the RTC driver for
527 the TPS80031 RTC module.
528
90829c08
VB
529config RTC_DRV_RC5T583
530 tristate "RICOH 5T583 RTC driver"
531 depends on MFD_RC5T583
532 help
533 If you say yes here you get support for the RTC on the
534 RICOH 5T583 chips.
535
536 This driver can also be built as a module. If so, the module
537 will be called rtc-rc5t583.
538
c46288b0
BB
539config RTC_DRV_S35390A
540 tristate "Seiko Instruments S-35390A"
d479540d 541 select BITREVERSE
c46288b0
BB
542 help
543 If you say yes here you will get support for the Seiko
544 Instruments S-35390A.
545
546 This driver can also be built as a module. If so the module
547 will be called rtc-s35390a.
548
c6d8f400
SL
549config RTC_DRV_FM3130
550 tristate "Ramtron FM3130"
551 help
552 If you say Y here you will get support for the
553 Ramtron FM3130 RTC chips.
554 Ramtron FM3130 is a chip with two separate devices inside,
555 RTC clock and FRAM. This driver provides only RTC functionality.
556
557 This driver can also be built as a module. If so the module
558 will be called rtc-fm3130.
559
ed13d89b
AB
560config RTC_DRV_RX8010
561 tristate "Epson RX8010SJ"
562 depends on I2C
563 help
564 If you say yes here you get support for the Epson RX8010SJ RTC
565 chip.
566
567 This driver can also be built as a module. If so, the module
568 will be called rtc-rx8010.
569
a7fa9851
MW
570config RTC_DRV_RX8581
571 tristate "Epson RX-8581"
572 help
573 If you say yes here you will get support for the Epson RX-8581.
574
575 This driver can also be built as a module. If so the module
576 will be called rtc-rx8581.
577
3c2b9075
WG
578config RTC_DRV_RX8025
579 tristate "Epson RX-8025SA/NB"
580 help
581 If you say yes here you get support for the Epson
582 RX-8025SA/NB RTC chips.
583
584 This driver can also be built as a module. If so, the module
585 will be called rtc-rx8025.
586
ae3551f9
MR
587config RTC_DRV_EM3027
588 tristate "EM Microelectronic EM3027"
589 help
590 If you say yes here you get support for the EM
591 Microelectronic EM3027 RTC chips.
592
593 This driver can also be built as a module. If so, the module
594 will be called rtc-em3027.
595
52365230
HS
596config RTC_DRV_RV3029C2
597 tristate "Micro Crystal RTC"
598 help
599 If you say yes here you get support for the Micro Crystal
600 RV3029-C2 RTC chips.
601
602 This driver can also be built as a module. If so, the module
603 will be called rtc-rv3029c2.
604
1e3929ef
AB
605config RTC_DRV_RV8803
606 tristate "Micro Crystal RV8803"
607 help
608 If you say yes here you get support for the Micro Crystal
609 RV8803 RTC chips.
610
611 This driver can also be built as a module. If so, the module
612 will be called rtc-rv8803.
613
5bccae6e 614config RTC_DRV_S5M
0c5deb1e 615 tristate "Samsung S2M/S5M series"
5bccae6e
SK
616 depends on MFD_SEC_CORE
617 help
618 If you say yes here you will get support for the
0c5deb1e 619 RTC of Samsung S2MPS14 and S5M PMIC series.
5bccae6e
SK
620
621 This driver can also be built as a module. If so, the module
622 will be called rtc-s5m.
623
bb35fb20
JE
624endif # I2C
625
09a21e56 626comment "SPI RTC drivers"
bb35fb20
JE
627
628if SPI_MASTER
09a21e56 629
74d34d4b 630config RTC_DRV_M41T93
98ab2c93
AB
631 tristate "ST M41T93"
632 help
633 If you say yes here you will get support for the
634 ST M41T93 SPI RTC chip.
74d34d4b 635
98ab2c93
AB
636 This driver can also be built as a module. If so, the module
637 will be called rtc-m41t93.
74d34d4b 638
8fc2c767
KH
639config RTC_DRV_M41T94
640 tristate "ST M41T94"
641 help
642 If you say yes here you will get support for the
643 ST M41T94 SPI RTC chip.
644
645 This driver can also be built as a module. If so, the module
646 will be called rtc-m41t94.
647
53e84b67
DB
648config RTC_DRV_DS1305
649 tristate "Dallas/Maxim DS1305/DS1306"
650 help
651 Select this driver to get support for the Dallas/Maxim DS1305
ae64d169 652 and DS1306 real time clock chips. These support a trickle
53e84b67
DB
653 charger, alarms, and NVRAM in addition to the clock.
654
655 This driver can also be built as a module. If so, the module
656 will be called rtc-ds1305.
657
1d6316f5 658config RTC_DRV_DS1343
0dd449b1 659 select REGMAP_SPI
1d6316f5
RG
660 tristate "Dallas/Maxim DS1343/DS1344"
661 help
662 If you say yes here you get support for the
663 Dallas/Maxim DS1343 and DS1344 real time clock chips.
664 Support for trickle charger, alarm is provided.
665
666 This driver can also be built as a module. If so, the module
667 will be called rtc-ds1343.
668
617b26a0
RG
669config RTC_DRV_DS1347
670 tristate "Dallas/Maxim DS1347"
671 help
672 If you say yes here you get support for the
673 Dallas/Maxim DS1347 chips.
674
675 This driver only supports the RTC feature, and not other chip
676 features such as alarms.
677
678 This driver can also be built as a module. If so, the module
679 will be called rtc-ds1347.
680
06de1808
MJ
681config RTC_DRV_DS1390
682 tristate "Dallas/Maxim DS1390/93/94"
683 help
7b9b2ef1
AZ
684 If you say yes here you get support for the
685 Dallas/Maxim DS1390/93/94 chips.
06de1808 686
fa395fb8
IG
687 This driver supports the RTC feature and trickle charging but not
688 other chip features such as alarms.
06de1808
MJ
689
690 This driver can also be built as a module. If so, the module
691 will be called rtc-ds1390.
692
09b6bdb3
AZ
693config RTC_DRV_MAX6902
694 tristate "Maxim MAX6902"
695 help
696 If you say yes here you will get support for the
697 Maxim MAX6902 SPI RTC chip.
698
699 This driver can also be built as a module. If so, the module
700 will be called rtc-max6902.
701
2805b969
MD
702config RTC_DRV_R9701
703 tristate "Epson RTC-9701JE"
704 help
705 If you say yes here you will get support for the
706 Epson RTC-9701JE SPI RTC chip.
707
708 This driver can also be built as a module. If so, the module
709 will be called rtc-r9701.
710
e0ac4761
AN
711config RTC_DRV_RS5C348
712 tristate "Ricoh RS5C348A/B"
e0ac4761
AN
713 help
714 If you say yes here you get support for the
715 Ricoh RS5C348A and RS5C348B RTC chips.
716
717 This driver can also be built as a module. If so, the module
718 will be called rtc-rs5c348.
719
2f9b75e0
DA
720config RTC_DRV_DS3234
721 tristate "Maxim/Dallas DS3234"
722 help
723 If you say yes here you get support for the
724 Maxim/Dallas DS3234 SPI RTC chip.
725
726 This driver can also be built as a module. If so, the module
727 will be called rtc-ds3234.
728
7f3923a1
CV
729config RTC_DRV_PCF2123
730 tristate "NXP PCF2123"
731 help
732 If you say yes here you get support for the NXP PCF2123
733 RTC chip.
734
735 This driver can also be built as a module. If so, the module
736 will be called rtc-pcf2123.
737
cce2da9a
TH
738config RTC_DRV_RX4581
739 tristate "Epson RX-4581"
740 help
741 If you say yes here you will get support for the Epson RX-4581.
742
743 This driver can also be built as a module. If so the module
744 will be called rtc-rx4581.
745
68298c2d
ST
746config RTC_DRV_RX6110
747 tristate "Epson RX-6110"
748 select REGMAP_SPI
749 help
750 If you say yes here you will get support for the Epson RX-6610.
751
752 This driver can also be built as a module. If so the module
753 will be called rtc-rx6110.
754
1fcbe42c
JG
755config RTC_DRV_MCP795
756 tristate "Microchip MCP795"
757 help
758 If you say yes here you will get support for the Microchip MCP795.
759
760 This driver can also be built as a module. If so the module
761 will be called rtc-mcp795.
762
bb35fb20
JE
763endif # SPI_MASTER
764
09a21e56 765comment "Platform RTC drivers"
09a21e56
AZ
766
767# this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h>
768# requires <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
769# global rtc_lock ... it's not yet just another platform_device.
770
771config RTC_DRV_CMOS
772 tristate "PC-style 'CMOS'"
41c9dbf4 773 depends on X86 || ARM || M32R || PPC || MIPS || SPARC64
c7500900 774 default y if X86
09a21e56
AZ
775 help
776 Say "yes" here to get direct support for the real time clock
777 found in every PC or ACPI-based system, and some other boards.
778 Specifically the original MC146818, compatibles like those in
779 PC south bridges, the DS12887 or M48T86, some multifunction
780 or LPC bus chips, and so on.
781
782 Your system will need to define the platform device used by
ae64d169 783 this driver, otherwise it won't be accessible. This means
09a21e56
AZ
784 you can safely enable this driver if you don't know whether
785 or not your board has this kind of hardware.
786
787 This driver can also be built as a module. If so, the module
788 will be called rtc-cmos.
789
85d0b3a5
RH
790config RTC_DRV_ALPHA
791 bool "Alpha PC-style CMOS"
792 depends on ALPHA
793 default y
794 help
795 Direct support for the real-time clock found on every Alpha
796 system, specifically MC146818 compatibles. If in doubt, say Y.
797
0146f261 798config RTC_DRV_VRTC
933b9463
AC
799 tristate "Virtual RTC for Intel MID platforms"
800 depends on X86_INTEL_MID
801 default y if X86_INTEL_MID
0146f261
FT
802
803 help
804 Say "yes" here to get direct support for the real time clock
805 found on Moorestown platforms. The VRTC is a emulated RTC that
806 derives its clock source from a real RTC in the PMIC. The MC146818
807 style programming interface is mostly conserved, but any
808 updates are done via IPC calls to the system controller FW.
809
537739de
TB
810config RTC_DRV_DS1216
811 tristate "Dallas DS1216"
bb35fb20 812 depends on SNI_RM
537739de
TB
813 help
814 If you say yes here you get support for the Dallas DS1216 RTC chips.
815
5f119f29
TB
816config RTC_DRV_DS1286
817 tristate "Dallas DS1286"
706b632d 818 depends on HAS_IOMEM
5f119f29
TB
819 help
820 If you say yes here you get support for the Dallas DS1286 RTC chips.
821
739d340d
PM
822config RTC_DRV_DS1302
823 tristate "Dallas DS1302"
824 depends on SH_SECUREEDGE5410
825 help
826 If you say yes here you get support for the Dallas DS1302 RTC chips.
827
8f26795a
AS
828config RTC_DRV_DS1511
829 tristate "Dallas DS1511"
706b632d 830 depends on HAS_IOMEM
8f26795a
AS
831 help
832 If you say yes here you get support for the
833 Dallas DS1511 timekeeping/watchdog chip.
834
835 This driver can also be built as a module. If so, the module
836 will be called rtc-ds1511.
837
09a21e56 838config RTC_DRV_DS1553
09b6bdb3 839 tristate "Maxim/Dallas DS1553"
706b632d 840 depends on HAS_IOMEM
7520b94d
AZ
841 help
842 If you say yes here you get support for the
09b6bdb3 843 Maxim/Dallas DS1553 timekeeping chip.
7520b94d
AZ
844
845 This driver can also be built as a module. If so, the module
09a21e56
AZ
846 will be called rtc-ds1553.
847
aaaf5fbf
JK
848config RTC_DRV_DS1685_FAMILY
849 tristate "Dallas/Maxim DS1685 Family"
850 help
851 If you say yes here you get support for the Dallas/Maxim DS1685
852 family of real time chips. This family includes the DS1685/DS1687,
853 DS1689/DS1693, DS17285/DS17287, DS17485/DS17487, and
854 DS17885/DS17887 chips.
855
856 This driver can also be built as a module. If so, the module
857 will be called rtc-ds1685.
858
859choice
860 prompt "Subtype"
861 depends on RTC_DRV_DS1685_FAMILY
862 default RTC_DRV_DS1685
863
864config RTC_DRV_DS1685
865 bool "DS1685/DS1687"
866 help
867 This enables support for the Dallas/Maxim DS1685/DS1687 real time
868 clock chip.
869
870 This chip is commonly found in SGI O2 (IP32) and SGI Octane (IP30)
871 systems, as well as EPPC-405-UC modules by electronic system design
872 GmbH.
873
874config RTC_DRV_DS1689
875 bool "DS1689/DS1693"
876 help
877 This enables support for the Dallas/Maxim DS1689/DS1693 real time
878 clock chip.
879
880 This is an older RTC chip, supplanted by the DS1685/DS1687 above,
881 which supports a few minor features such as Vcc, Vbat, and Power
882 Cycle counters, plus a customer-specific, 8-byte ROM/Serial number.
883
884 It also works for the even older DS1688/DS1691 RTC chips, which are
885 virtually the same and carry the same model number. Both chips
886 have 114 bytes of user NVRAM.
887
888config RTC_DRV_DS17285
889 bool "DS17285/DS17287"
890 help
891 This enables support for the Dallas/Maxim DS17285/DS17287 real time
892 clock chip.
893
894 This chip features 2kb of extended NV-SRAM. It may possibly be
895 found in some SGI O2 systems (rare).
896
897config RTC_DRV_DS17485
898 bool "DS17485/DS17487"
899 help
900 This enables support for the Dallas/Maxim DS17485/DS17487 real time
901 clock chip.
902
903 This chip features 4kb of extended NV-SRAM.
904
905config RTC_DRV_DS17885
906 bool "DS17885/DS17887"
907 help
908 This enables support for the Dallas/Maxim DS17885/DS17887 real time
909 clock chip.
910
911 This chip features 8kb of extended NV-SRAM.
912
913endchoice
914
915config RTC_DS1685_PROC_REGS
916 bool "Display register values in /proc"
917 depends on RTC_DRV_DS1685_FAMILY && PROC_FS
918 help
919 Enable this to display a readout of all of the RTC registers in
920 /proc/drivers/rtc. Keep in mind that this can potentially lead
921 to lost interrupts, as reading Control Register C will clear
922 all pending IRQ flags.
923
924 Unless you are debugging this driver, choose N.
925
926config RTC_DS1685_SYSFS_REGS
927 bool "SysFS access to RTC register bits"
928 depends on RTC_DRV_DS1685_FAMILY && SYSFS
929 help
930 Enable this to provide access to the RTC control register bits
931 in /sys. Some of the bits are read-write, others are read-only.
932
933 Keep in mind that reading Control C's bits automatically clears
934 all pending IRQ flags - this can cause lost interrupts.
935
936 If you know that you need access to these bits, choose Y, Else N.
937
09b6bdb3
AZ
938config RTC_DRV_DS1742
939 tristate "Maxim/Dallas DS1742/1743"
706b632d 940 depends on HAS_IOMEM
02964115
TH
941 help
942 If you say yes here you get support for the
09b6bdb3 943 Maxim/Dallas DS1742/1743 timekeeping chip.
02964115
TH
944
945 This driver can also be built as a module. If so, the module
09b6bdb3 946 will be called rtc-ds1742.
02964115 947
ad0200f7
JD
948config RTC_DRV_DS2404
949 tristate "Maxim/Dallas DS2404"
950 help
951 If you say yes here you get support for the
952 Dallas DS2404 RTC chip.
953
954 This driver can also be built as a module. If so, the module
955 will be called rtc-ds2404.
956
fef931ff
AJ
957config RTC_DRV_DA9052
958 tristate "Dialog DA9052/DA9053 RTC"
959 depends on PMIC_DA9052
960 help
961 Say y here to support the RTC driver for Dialog Semiconductor
962 DA9052-BC and DA9053-AA/Bx PMICs.
963
6920d996
AJ
964config RTC_DRV_DA9055
965 tristate "Dialog Semiconductor DA9055 RTC"
966 depends on MFD_DA9055
967 help
968 If you say yes here you will get support for the
969 RTC of the Dialog DA9055 PMIC.
970
971 This driver can also be built as a module. If so, the module
972 will be called rtc-da9055
973
c2a57550 974config RTC_DRV_DA9063
80ca3277
T
975 tristate "Dialog Semiconductor DA9063/DA9062 RTC"
976 depends on MFD_DA9063 || MFD_DA9062
c2a57550
OST
977 help
978 If you say yes here you will get support for the RTC subsystem
80ca3277 979 for the Dialog Semiconductor PMIC chips DA9063 and DA9062.
c2a57550
OST
980
981 This driver can also be built as a module. If so, the module
982 will be called "rtc-da9063".
983
5e3fd9e5 984config RTC_DRV_EFI
985 tristate "EFI RTC"
7efe6659 986 depends on EFI && !X86
5e3fd9e5 987 help
988 If you say yes here you will get support for the EFI
989 Real Time Clock.
990
991 This driver can also be built as a module. If so, the module
992 will be called rtc-efi.
993
09b6bdb3
AZ
994config RTC_DRV_STK17TA8
995 tristate "Simtek STK17TA8"
706b632d 996 depends on HAS_IOMEM
09a21e56
AZ
997 help
998 If you say yes here you get support for the
09b6bdb3 999 Simtek STK17TA8 timekeeping chip.
09a21e56
AZ
1000
1001 This driver can also be built as a module. If so, the module
09b6bdb3 1002 will be called rtc-stk17ta8.
09a21e56
AZ
1003
1004config RTC_DRV_M48T86
1005 tristate "ST M48T86/Dallas DS12887"
09a21e56
AZ
1006 help
1007 If you say Y here you will get support for the
1008 ST M48T86 and Dallas DS12887 RTC chips.
1009
1010 This driver can also be built as a module. If so, the module
1011 will be called rtc-m48t86.
1012
d1dbd82e
TB
1013config RTC_DRV_M48T35
1014 tristate "ST M48T35"
706b632d 1015 depends on HAS_IOMEM
d1dbd82e
TB
1016 help
1017 If you say Y here you will get support for the
1018 ST M48T35 RTC chip.
1019
1020 This driver can also be built as a module, if so, the module
1021 will be called "rtc-m48t35".
1022
2e774c7c 1023config RTC_DRV_M48T59
94fe7424 1024 tristate "ST M48T59/M48T08/M48T02"
706b632d 1025 depends on HAS_IOMEM
2e774c7c
MZ
1026 help
1027 If you say Y here you will get support for the
94fe7424
KH
1028 ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
1029
1030 These chips are usually found in Sun SPARC and UltraSPARC
1031 workstations.
2e774c7c
MZ
1032
1033 This driver can also be built as a module, if so, the module
1034 will be called "rtc-m48t59".
1035
4f9b9bba
GU
1036config RTC_DRV_MSM6242
1037 tristate "Oki MSM6242"
706b632d 1038 depends on HAS_IOMEM
4f9b9bba
GU
1039 help
1040 If you say yes here you get support for the Oki MSM6242
1041 timekeeping chip. It is used in some Amiga models (e.g. A2000).
1042
1043 This driver can also be built as a module. If so, the module
1044 will be called rtc-msm6242.
1045
cca4c231
DM
1046config RTC_DRV_BQ4802
1047 tristate "TI BQ4802"
706b632d 1048 depends on HAS_IOMEM
cca4c231
DM
1049 help
1050 If you say Y here you will get support for the TI
1051 BQ4802 RTC chip.
1052
1053 This driver can also be built as a module. If so, the module
1054 will be called rtc-bq4802.
1055
4f672ce2
GU
1056config RTC_DRV_RP5C01
1057 tristate "Ricoh RP5C01"
706b632d 1058 depends on HAS_IOMEM
4f672ce2
GU
1059 help
1060 If you say yes here you get support for the Ricoh RP5C01
1061 timekeeping chip. It is used in some Amiga models (e.g. A3000
1062 and A4000).
1063
1064 This driver can also be built as a module. If so, the module
1065 will be called rtc-rp5c01.
1066
09a21e56
AZ
1067config RTC_DRV_V3020
1068 tristate "EM Microelectronic V3020"
09a21e56
AZ
1069 help
1070 If you say yes here you will get support for the
1071 EM Microelectronic v3020 RTC chip.
1072
1073 This driver can also be built as a module. If so, the module
1074 will be called rtc-v3020.
1075
35c86bf6
MB
1076config RTC_DRV_WM831X
1077 tristate "Wolfson Microelectronics WM831x RTC"
1078 depends on MFD_WM831X
1079 help
1080 If you say yes here you will get support for the RTC subsystem
1081 of the Wolfson Microelectronics WM831X series PMICs.
1082
1083 This driver can also be built as a module. If so, the module
1084 will be called "rtc-wm831x".
1085
077eaf5b
MB
1086config RTC_DRV_WM8350
1087 tristate "Wolfson Microelectronics WM8350 RTC"
1088 depends on MFD_WM8350
1089 help
1090 If you say yes here you will get support for the RTC subsystem
1091 of the Wolfson Microelectronics WM8350.
1092
1093 This driver can also be built as a module. If so, the module
1094 will be called "rtc-wm8350".
1095
0942a71e
RK
1096config RTC_DRV_SPEAR
1097 tristate "SPEAR ST RTC"
1098 depends on PLAT_SPEAR
1099 default y
1100 help
1101 If you say Y here you will get support for the RTC found on
1102 spear
1103
eae854b2
BR
1104config RTC_DRV_PCF50633
1105 depends on MFD_PCF50633
1106 tristate "NXP PCF50633 RTC"
1107 help
1108 If you say yes here you get support for the RTC subsystem of the
1109 NXP PCF50633 used in embedded systems.
1110
bd207cfb
LW
1111config RTC_DRV_AB3100
1112 tristate "ST-Ericsson AB3100 RTC"
1113 depends on AB3100_CORE
1114 default y if AB3100_CORE
1115 help
1116 Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
1117 support. This chip contains a battery- and capacitor-backed RTC.
1118
0af62f4d
VS
1119config RTC_DRV_AB8500
1120 tristate "ST-Ericsson AB8500 RTC"
1121 depends on AB8500_CORE
651fb480 1122 select RTC_INTF_DEV
dc43d4a2 1123 select RTC_INTF_DEV_UIE_EMUL
0af62f4d
VS
1124 help
1125 Select this to enable the ST-Ericsson AB8500 power management IC RTC
1126 support. This chip contains a battery- and capacitor-backed RTC.
1127
afd49a7e
WZ
1128config RTC_DRV_NUC900
1129 tristate "NUC910/NUC920 RTC driver"
6b8029fa 1130 depends on ARCH_W90X900
afd49a7e
WZ
1131 help
1132 If you say yes here you get support for the RTC subsystem of the
1133 NUC910/NUC920 used in embedded systems.
bd207cfb 1134
16b1d26e
NG
1135config RTC_DRV_OPAL
1136 tristate "IBM OPAL RTC driver"
1137 depends on PPC_POWERNV
1138 default y
1139 help
1140 If you say yes here you get support for the PowerNV platform RTC
1141 driver based on OPAL interfaces.
1142
1143 This driver can also be built as a module. If so, the module
1144 will be called rtc-opal.
1145
11143c19
SG
1146config RTC_DRV_ZYNQMP
1147 tristate "Xilinx Zynq Ultrascale+ MPSoC RTC"
1148 depends on OF
1149 help
1150 If you say yes here you get support for the RTC controller found on
1151 Xilinx Zynq Ultrascale+ MPSoC.
1152
09a21e56 1153comment "on-CPU RTC drivers"
09a21e56 1154
125e550f
OR
1155config RTC_DRV_ASM9260
1156 tristate "Alphascale asm9260 RTC"
1157 depends on MACH_ASM9260
1158 help
1159 If you say yes here you get support for the RTC on the
1160 Alphascale asm9260 SoC.
1161
1162 This driver can also be built as a module. If so, the module
1163 will be called rtc-asm9260.
1164
8ecf6c54
MA
1165config RTC_DRV_DAVINCI
1166 tristate "TI DaVinci RTC"
1167 depends on ARCH_DAVINCI_DM365
1168 help
1169 If you say yes here you get support for the RTC on the
1170 DaVinci platforms (DM365).
1171
1172 This driver can also be built as a module. If so, the module
1173 will be called rtc-davinci.
1174
ba172208
BS
1175config RTC_DRV_DIGICOLOR
1176 tristate "Conexant Digicolor RTC"
1177 depends on ARCH_DIGICOLOR
1178 help
1179 If you say yes here you get support for the RTC on Conexant
1180 Digicolor platforms. This currently includes the CX92755 SoC.
1181
1182 This driver can also be built as a module. If so, the module
1183 will be called rtc-digicolor.
1184
b224b9ac
FE
1185config RTC_DRV_IMXDI
1186 tristate "Freescale IMX DryIce Real Time Clock"
ef216ad0 1187 depends on ARCH_MXC
b224b9ac
FE
1188 help
1189 Support for Freescale IMX DryIce RTC
1190
1191 This driver can also be built as a module, if so, the module
1192 will be called "rtc-imxdi".
1193
09a21e56 1194config RTC_DRV_OMAP
8608976e
LV
1195 tristate "TI OMAP Real Time Clock"
1196 depends on ARCH_OMAP || ARCH_DAVINCI
09a21e56 1197 help
427af9a6 1198 Say "yes" here to support the on chip real time clock
8608976e 1199 present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
427af9a6
AM
1200
1201 This driver can also be built as a module, if so, module
1202 will be called rtc-omap.
7520b94d 1203
16f4efe7
AD
1204config HAVE_S3C_RTC
1205 bool
1206 help
1207 This will include RTC support for Samsung SoCs. If
1208 you want to include RTC support for any machine, kindly
1209 select this in the respective mach-XXXX/Kconfig file.
1210
1add6781
BD
1211config RTC_DRV_S3C
1212 tristate "Samsung S3C series SoC RTC"
b130d5c2 1213 depends on ARCH_S3C64XX || HAVE_S3C_RTC
1add6781
BD
1214 help
1215 RTC (Realtime Clock) driver for the clock inbuilt into the
1216 Samsung S3C24XX series of SoCs. This can provide periodic
1217 interrupt rates from 1Hz to 64Hz for user programs, and
1218 wakeup from Alarm.
1219
1220 The driver currently supports the common features on all the
1221 S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
1222 and S3C2442.
1223
1224 This driver can also be build as a module. If so, the module
1225 will be called rtc-s3c.
1226
fd507e2f
AZ
1227config RTC_DRV_EP93XX
1228 tristate "Cirrus Logic EP93XX"
bb35fb20 1229 depends on ARCH_EP93XX
fd507e2f
AZ
1230 help
1231 If you say yes here you get support for the
1232 RTC embedded in the Cirrus Logic EP93XX processors.
1233
1234 This driver can also be built as a module. If so, the module
1235 will be called rtc-ep93xx.
1236
e842f1c8 1237config RTC_DRV_SA1100
3888c090
HZ
1238 tristate "SA11x0/PXA2xx/PXA910"
1239 depends on ARCH_SA1100 || ARCH_PXA || ARCH_MMP
e842f1c8
RP
1240 help
1241 If you say Y here you will get access to the real time clock
1242 built into your SA11x0 or PXA2xx CPU.
1243
1244 To compile this driver as a module, choose M here: the
1245 module will be called rtc-sa1100.
fd507e2f 1246
317a6104
PM
1247config RTC_DRV_SH
1248 tristate "SuperH On-Chip RTC"
6b8029fa 1249 depends on SUPERH && HAVE_CLK
317a6104
PM
1250 help
1251 Say Y here to enable support for the on-chip RTC found in
1252 most SuperH processors.
1253
98ab2c93 1254 To compile this driver as a module, choose M here: the
317a6104
PM
1255 module will be called rtc-sh.
1256
8417eb7a 1257config RTC_DRV_VR41XX
3e16f6af 1258 tristate "NEC VR41XX"
bb35fb20 1259 depends on CPU_VR41XX
3e16f6af
AZ
1260 help
1261 If you say Y here you will get access to the real time clock
1262 built into your NEC VR41XX CPU.
1263
1264 To compile this driver as a module, choose M here: the
1265 module will be called rtc-vr41xx.
8417eb7a 1266
a190901c
RK
1267config RTC_DRV_PL030
1268 tristate "ARM AMBA PL030 RTC"
1269 depends on ARM_AMBA
1270 help
1271 If you say Y here you will get access to ARM AMBA
1272 PrimeCell PL030 RTC found on certain ARM SOCs.
1273
1274 To compile this driver as a module, choose M here: the
1275 module will be called rtc-pl030.
1276
8ae6e163
DS
1277config RTC_DRV_PL031
1278 tristate "ARM AMBA PL031 RTC"
bb35fb20 1279 depends on ARM_AMBA
8ae6e163
DS
1280 help
1281 If you say Y here you will get access to ARM AMBA
09a21e56 1282 PrimeCell PL031 RTC found on certain ARM SOCs.
8ae6e163
DS
1283
1284 To compile this driver as a module, choose M here: the
1285 module will be called rtc-pl031.
1286
fa04e78b
HCE
1287config RTC_DRV_AT32AP700X
1288 tristate "AT32AP700X series RTC"
bb35fb20 1289 depends on PLATFORM_AT32AP
fa04e78b
HCE
1290 help
1291 Driver for the internal RTC (Realtime Clock) on Atmel AVR32
1292 AT32AP700x family processors.
1293
7fc39f6d 1294config RTC_DRV_AT91RM9200
24cecc1b 1295 tristate "AT91RM9200 or some AT91SAM9 RTC"
938f970e 1296 depends on ARCH_AT91
4cdf854f
DB
1297 help
1298 Driver for the internal RTC (Realtime Clock) module found on
24cecc1b 1299 Atmel AT91RM9200's and some AT91SAM9 chips. On AT91SAM9 chips
4cdf854f
DB
1300 this is powered by the backup power supply.
1301
1302config RTC_DRV_AT91SAM9
3969eb48 1303 tristate "AT91SAM9 RTT as RTC"
ee72f18b 1304 depends on ARCH_AT91
43e112bb 1305 select MFD_SYSCON
4cdf854f 1306 help
3969eb48
BB
1307 Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which
1308 can be used as an RTC thanks to the backup power supply (e.g. a
1309 small coin cell battery) which keeps this block and the GPBR
1310 (General Purpose Backup Registers) block powered when the device
1311 is shutdown.
1312 Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd
1313 probably want to use the real RTC block instead of the "RTT as an
1314 RTC" driver.
4cdf854f 1315
45fd8a0c
ML
1316config RTC_DRV_AU1XXX
1317 tristate "Au1xxx Counter0 RTC support"
42a4f17d 1318 depends on MIPS_ALCHEMY
45fd8a0c
ML
1319 help
1320 This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
1321 counter) to be used as a RTC.
1322
1323 This driver can also be built as a module. If so, the module
1324 will be called rtc-au1xxx.
1325
8cc75c9a
WB
1326config RTC_DRV_BFIN
1327 tristate "Blackfin On-Chip RTC"
7f604599 1328 depends on BLACKFIN && !BF561
8cc75c9a
WB
1329 help
1330 If you say yes here you will get support for the
1331 Blackfin On-Chip Real Time Clock.
1332
1333 This driver can also be built as a module. If so, the module
1334 will be called rtc-bfin.
1335
e9f2bd81
NI
1336config RTC_DRV_RS5C313
1337 tristate "Ricoh RS5C313"
bb35fb20 1338 depends on SH_LANDISK
e9f2bd81
NI
1339 help
1340 If you say yes here you get support for the Ricoh RS5C313 RTC chips.
1341
3afe6d04
GU
1342config RTC_DRV_GENERIC
1343 tristate "Generic RTC support"
1344 # Please consider writing a new RTC driver instead of using the generic
1345 # RTC abstraction
47c8a08b 1346 depends on PARISC || M68K || PPC || SUPERH32
9eb16864 1347 help
3afe6d04
GU
1348 Say Y or M here to enable RTC support on systems using the generic
1349 RTC abstraction. If you do not know what you are doing, you should
9eb16864
KM
1350 just say Y.
1351
dc944368 1352config RTC_DRV_PXA
3cdf4ad9
RH
1353 tristate "PXA27x/PXA3xx"
1354 depends on ARCH_PXA
1355 select RTC_DRV_SA1100
1356 help
1357 If you say Y here you will get access to the real time clock
1358 built into your PXA27x or PXA3xx CPU. This RTC is actually 2 RTCs
1359 consisting of an SA1100 compatible RTC and the extended PXA RTC.
dc944368 1360
98ab2c93
AB
1361 This RTC driver uses PXA RTC registers available since pxa27x
1362 series (RDxR, RYxR) instead of legacy RCNR, RTAR.
dc944368 1363
f77fbdf9
AC
1364config RTC_DRV_VT8500
1365 tristate "VIA/WonderMedia 85xx SoC RTC"
1366 depends on ARCH_VT8500
1367 help
1368 If you say Y here you will get access to the real time clock
1369 built into your VIA VT8500 SoC or its relatives.
1370
dc944368 1371
7a138ede
DM
1372config RTC_DRV_SUN4V
1373 bool "SUN4V Hypervisor RTC"
1374 depends on SPARC64
1375 help
1376 If you say Y here you will get support for the Hypervisor
1377 based RTC on SUN4V systems.
1378
9765d2d9
CYT
1379config RTC_DRV_SUN6I
1380 tristate "Allwinner A31 RTC"
2863934e
AP
1381 default MACH_SUN6I || MACH_SUN8I
1382 depends on ARCH_SUNXI
9765d2d9 1383 help
2863934e
AP
1384 If you say Y here you will get support for the RTC found in
1385 some Allwinner SoCs like the A31 or the A64.
9765d2d9 1386
594c6fb9
CC
1387config RTC_DRV_SUNXI
1388 tristate "Allwinner sun4i/sun7i RTC"
64a1925c 1389 depends on MACH_SUN4I || MACH_SUN7I
594c6fb9
CC
1390 help
1391 If you say Y here you will get support for the RTC found on
1392 Allwinner A10/A20.
1393
de2cf332
DM
1394config RTC_DRV_STARFIRE
1395 bool "Starfire RTC"
1396 depends on SPARC64
1397 help
1398 If you say Y here you will get support for the RTC found on
1399 Starfire systems.
1400
0e149233
AN
1401config RTC_DRV_TX4939
1402 tristate "TX4939 SoC"
1403 depends on SOC_TX4939
1404 help
1405 Driver for the internal RTC (Realtime Clock) module found on
1406 Toshiba TX4939 SoC.
1407
defb4514
SB
1408config RTC_DRV_MV
1409 tristate "Marvell SoC RTC"
ace2c020 1410 depends on ARCH_DOVE || ARCH_MVEBU
defb4514
SB
1411 help
1412 If you say yes here you will get support for the in-chip RTC
1413 that can be found in some of Marvell's SoC devices, such as
1414 the Kirkwood 88F6281 and 88F6192.
1415
1416 This driver can also be built as a module. If so, the module
1417 will be called rtc-mv.
1418
a3a42806
GC
1419config RTC_DRV_ARMADA38X
1420 tristate "Armada 38x Marvell SoC RTC"
1421 depends on ARCH_MVEBU
1422 help
1423 If you say yes here you will get support for the in-chip RTC
1424 that can be found in the Armada 38x Marvell's SoC device
1425
1426 This driver can also be built as a module. If so, the module
1427 will be called armada38x-rtc.
1428
98a9bb5b
HUK
1429config RTC_DRV_GEMINI
1430 tristate "Gemini SoC RTC"
1431 depends on ARCH_GEMINI || COMPILE_TEST
1432 depends on HAS_IOMEM
1433 help
1434 If you say Y here you will get support for the
1435 RTC found on Gemini SoC's.
1436
1437 This driver can also be built as a module. If so, the module
1438 will be called rtc-gemini.
1439
0b5f037a
GU
1440config RTC_DRV_PS3
1441 tristate "PS3 RTC"
1442 depends on PPC_PS3
1443 help
1444 If you say yes here you will get support for the RTC on PS3.
1445
1446 This driver can also be built as a module. If so, the module
1447 will be called rtc-ps3.
1448
aa958f57
LW
1449config RTC_DRV_COH901331
1450 tristate "ST-Ericsson COH 901 331 RTC"
1451 depends on ARCH_U300
1452 help
1453 If you say Y here you will get access to ST-Ericsson
1454 COH 901 331 RTC clock found in some ST-Ericsson Mobile
1455 Platforms.
1456
1457 This driver can also be built as a module. If so, the module
1458 will be called "rtc-coh901331".
1459
1460
df17f631 1461config RTC_DRV_STMP
46b21218
WS
1462 tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
1463 depends on ARCH_MXS
20d048ac 1464 select STMP_DEVICE
df17f631 1465 help
1466 If you say yes here you will get support for the onboard
46b21218 1467 STMP3xxx/i.MX23/i.MX28 RTC.
df17f631 1468
1469 This driver can also be built as a module. If so, the module
1470 will be called rtc-stmp3xxx.
1471
d3c7a3f7
DR
1472config RTC_DRV_PCAP
1473 tristate "PCAP RTC"
1474 depends on EZX_PCAP
1475 help
1476 If you say Y here you will get support for the RTC found on
1477 the PCAP2 ASIC used on some Motorola phones.
1478
1c97872b
UKK
1479config RTC_DRV_MC13XXX
1480 depends on MFD_MC13XXX
1481 tristate "Freescale MC13xxx RTC"
43299f28 1482 help
1c97872b
UKK
1483 This enables support for the RTCs found on Freescale's PMICs
1484 MC13783 and MC13892.
43299f28 1485
50aae724
AG
1486config RTC_DRV_MPC5121
1487 tristate "Freescale MPC5121 built-in RTC"
955dbea3 1488 depends on PPC_MPC512x || PPC_MPC52xx
50aae724
AG
1489 help
1490 If you say yes here you will get support for the
955dbea3 1491 built-in RTC on MPC5121 or on MPC5200.
50aae724
AG
1492
1493 This driver can also be built as a module. If so, the module
1494 will be called rtc-mpc5121.
1495
3bf0eea8
LPC
1496config RTC_DRV_JZ4740
1497 tristate "Ingenic JZ4740 SoC"
3bf0eea8
LPC
1498 depends on MACH_JZ4740
1499 help
1500 If you say yes here you get support for the Ingenic JZ4740 SoC RTC
1501 controller.
1502
1503 This driver can also be buillt as a module. If so, the module
1504 will be called rtc-jz4740.
1505
c28b42e3
JE
1506config RTC_DRV_LPC24XX
1507 tristate "NXP RTC for LPC178x/18xx/408x/43xx"
1508 depends on ARCH_LPC18XX || COMPILE_TEST
1509 depends on OF && HAS_IOMEM
1510 help
1511 This enables support for the NXP RTC found which can be found on
1512 NXP LPC178x/18xx/408x/43xx devices.
1513
1514 If you have one of the devices above enable this driver to use
1515 the hardware RTC. This driver can also be buillt as a module. If
1516 so, the module will be called rtc-lpc24xx.
1517
9aa449be
KW
1518config RTC_DRV_LPC32XX
1519 depends on ARCH_LPC32XX
1520 tristate "NXP LPC32XX RTC"
1521 help
1522 This enables support for the NXP RTC in the LPC32XX
1523
1524 This driver can also be buillt as a module. If so, the module
1525 will be called rtc-lpc32xx.
1526
9a9a54ad
AG
1527config RTC_DRV_PM8XXX
1528 tristate "Qualcomm PMIC8XXX RTC"
c8d523a4 1529 depends on MFD_PM8XXX || MFD_SPMI_PMIC
9a9a54ad
AG
1530 help
1531 If you say yes here you get support for the
1532 Qualcomm PMIC8XXX RTC.
1533
1534 To compile this driver as a module, choose M here: the
1535 module will be called rtc-pm8xxx.
1536
ff859ba6
AC
1537config RTC_DRV_TEGRA
1538 tristate "NVIDIA Tegra Internal RTC driver"
6b8029fa 1539 depends on ARCH_TEGRA
ff859ba6
AC
1540 help
1541 If you say yes here you get support for the
1542 Tegra 200 series internal RTC module.
1543
1544 This drive can also be built as a module. If so, the module
1545 will be called rtc-tegra.
1546
dd196a2b
CM
1547config RTC_DRV_TILE
1548 tristate "Tilera hypervisor RTC support"
1549 depends on TILE
1550 help
1551 Enable support for the Linux driver side of the Tilera
1552 hypervisor's real-time clock interface.
1553
2809e80b
GX
1554config RTC_DRV_PUV3
1555 tristate "PKUnity v3 RTC support"
1556 depends on ARCH_PUV3
1557 help
1558 This enables support for the RTC in the PKUnity-v3 SoCs.
1559
1560 This drive can also be built as a module. If so, the module
1561 will be called rtc-puv3.
1562
b4f0b880 1563config RTC_DRV_LOONGSON1
1564 tristate "loongson1 RTC support"
30ad29bb 1565 depends on MACH_LOONGSON32
b4f0b880 1566 help
1567 This is a driver for the loongson1 on-chip Counter0 (Time-Of-Year
1568 counter) to be used as a RTC.
1569
1570 This driver can also be built as a module. If so, the module
1571 will be called rtc-ls1x.
1572
79811595 1573config RTC_DRV_MXC
b224b9ac
FE
1574 tristate "Freescale MXC Real Time Clock"
1575 depends on ARCH_MXC
b224b9ac
FE
1576 help
1577 If you say yes here you get support for the Freescale MXC
1578 RTC module.
1579
1580 This driver can also be built as a module, if so, the module
1581 will be called "rtc-mxc".
1582
179a502f
SG
1583config RTC_DRV_SNVS
1584 tristate "Freescale SNVS RTC support"
8a0fa184 1585 select REGMAP_MMIO
179a502f
SG
1586 depends on HAS_IOMEM
1587 depends on OF
1588 help
1589 If you say yes here you get support for the Freescale SNVS
1590 Low Power (LP) RTC module.
1591
1592 This driver can also be built as a module, if so, the module
1593 will be called "rtc-snvs".
1594
e88b815e
XD
1595config RTC_DRV_SIRFSOC
1596 tristate "SiRFSOC RTC"
1597 depends on ARCH_SIRF
1598 help
1599 Say "yes" here to support the real time clock on SiRF SOC chips.
1600 This driver can also be built as a module called rtc-sirfsoc.
1601
b5b2bdfc
LJ
1602config RTC_DRV_ST_LPC
1603 tristate "STMicroelectronics LPC RTC"
1604 depends on ARCH_STI
1605 depends on OF
1606 help
1607 Say Y here to include STMicroelectronics Low Power Controller
1608 (LPC) based RTC support.
1609
1610 To compile this driver as a module, choose M here: the
1611 module will be called rtc-st-lpc.
1612
453b4c6d
JJ
1613config RTC_DRV_MOXART
1614 tristate "MOXA ART RTC"
441fb768 1615 depends on ARCH_MOXART || COMPILE_TEST
453b4c6d
JJ
1616 help
1617 If you say yes here you get support for the MOXA ART
1618 RTC module.
1619
1620 This driver can also be built as a module. If so, the module
1621 will be called rtc-moxart
1622
fc297911
TF
1623config RTC_DRV_MT6397
1624 tristate "Mediatek Real Time Clock driver"
04d3ba70 1625 depends on MFD_MT6397 || (COMPILE_TEST && IRQ_DOMAIN)
fc297911
TF
1626 help
1627 This selects the Mediatek(R) RTC driver. RTC is part of Mediatek
1628 MT6397 PMIC. You should enable MT6397 PMIC MFD before select
1629 Mediatek(R) RTC driver.
1630
1631 If you want to use Mediatek(R) RTC interface, select Y or M here.
1632
f12d8695
LH
1633config RTC_DRV_XGENE
1634 tristate "APM X-Gene RTC"
706b632d 1635 depends on HAS_IOMEM
fdf8afa1 1636 depends on ARCH_XGENE || COMPILE_TEST
f12d8695
LH
1637 help
1638 If you say yes here you get support for the APM X-Gene SoC real time
1639 clock.
1640
1641 This driver can also be built as a module, if so, the module
1642 will be called "rtc-xgene".
1643
62e00cb9
AH
1644comment "HID Sensor RTC drivers"
1645
1646config RTC_DRV_HID_SENSOR_TIME
1647 tristate "HID Sensor Time"
1648 depends on USB_HID
1649 select IIO
1650 select HID_SENSOR_HUB
1651 select HID_SENSOR_IIO_COMMON
1652 help
1653 Say yes here to build support for the HID Sensors of type Time.
1654 This drivers makes such sensors available as RTCs.
1655
1656 If this driver is compiled as a module, it will be named
1657 rtc-hid-sensor-time.
1658
1659
bb35fb20 1660endif # RTC_CLASS