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