blob: eed335c16cb0120ac5eabd59ee8d41268d2292ec [file] [log] [blame]
David Brownell7be2c7c2007-02-10 01:46:02 -08001#
Alessandro Zummoc58411e2006-03-27 01:16:34 -08002# RTC class/drivers configuration
3#
4
5config RTC_LIB
John Stultzb4d246b2011-04-29 15:03:11 -07006 bool
Alessandro Zummo0c86edc2006-03-27 01:16:37 -08007
Jan Engelhardtbb35fb22007-07-31 00:39:46 -07008menuconfig RTC_CLASS
John Stultzb4d246b2011-04-29 15:03:11 -07009 bool "Real Time Clock"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080010 default n
Al Viro33694652011-08-18 20:11:59 +010011 depends on !S390 && !UML
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080012 select RTC_LIB
13 help
14 Generic RTC class support. If you say yes here, you will
15 be allowed to plug one or more RTCs to your system. You will
Adrian Bunk27ae4102006-06-30 18:18:41 +020016 probably want to enable one or more of the interfaces below.
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080017
Jan Engelhardtbb35fb22007-07-31 00:39:46 -070018if RTC_CLASS
19
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080020config RTC_HCTOSYS
David Brownell7ca1d482007-05-08 00:33:42 -070021 bool "Set system time from RTC on startup and resume"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080022 default y
23 help
David Brownell7ca1d482007-05-08 00:33:42 -070024 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.
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080027
28config RTC_HCTOSYS_DEVICE
David Brownell7ca1d482007-05-08 00:33:42 -070029 string "RTC used to set the system time"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080030 depends on RTC_HCTOSYS = y
31 default "rtc0"
32 help
David Brownell7ca1d482007-05-08 00:33:42 -070033 The RTC device that will be used to (re)initialize the system
Alessandro Zummoae64d162009-01-06 14:42:17 -080034 clock, usually rtc0. Initialization is done when the system
35 starts up, and when it resumes from a low power state. This
David Brownell779d2082007-11-14 16:58:29 -080036 device should record time in UTC, since the kernel won't do
37 timezone correction.
David Brownell7ca1d482007-05-08 00:33:42 -070038
David Brownell55ff1ab2007-07-21 04:37:56 -070039 The driver for this RTC device must be loaded before late_initcall
40 functions run, so it must usually be statically linked.
41
David Brownell7ca1d482007-05-08 00:33:42 -070042 This clock should be battery-backed, so that it reads the correct
Alessandro Zummoae64d162009-01-06 14:42:17 -080043 time when the system boots from a power-off state. Otherwise, your
David Brownell7ca1d482007-05-08 00:33:42 -070044 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
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -080048 sleep states. Do not specify an RTC here unless it stays powered
David Brownell7ca1d482007-05-08 00:33:42 -070049 during all this system's supported sleep states.
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080050
David Brownell9e86ecb2006-09-30 23:28:14 -070051config RTC_DEBUG
52 bool "RTC debug support"
David Brownell9e86ecb2006-09-30 23:28:14 -070053 help
54 Say yes here to enable debugging support in the RTC framework
55 and individual RTC drivers.
56
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080057comment "RTC interfaces"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080058
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080059config RTC_INTF_SYSFS
David Brownelle40659c2007-05-16 22:11:15 -070060 boolean "/sys/class/rtc/rtcN (sysfs)"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -070061 depends on SYSFS
Kevin Hilman8dc08392012-10-10 15:54:06 -070062 default RTC_CLASS
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080063 help
David Brownell9e86ecb2006-09-30 23:28:14 -070064 Say yes here if you want to use your RTCs using sysfs interfaces,
65 /sys/class/rtc/rtc0 through /sys/.../rtcN.
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080066
Alessandro Zummoae64d162009-01-06 14:42:17 -080067 If unsure, say Y.
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080068
Alessandro Zummo728a2942006-03-27 01:16:40 -080069config RTC_INTF_PROC
Kim, Milo92589c92012-10-04 17:13:45 -070070 boolean "/proc/driver/rtc (procfs for rtcN)"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -070071 depends on PROC_FS
Kevin Hilman8dc08392012-10-10 15:54:06 -070072 default RTC_CLASS
Alessandro Zummo728a2942006-03-27 01:16:40 -080073 help
Kim, Milo92589c92012-10-04 17:13:45 -070074 Say yes here if you want to use your system clock RTC through
75 the proc interface, /proc/driver/rtc.
76 Other RTCs will not be available through that API.
77 If there is no RTC for the system clock, then the first RTC(rtc0)
78 is used by default.
Alessandro Zummo728a2942006-03-27 01:16:40 -080079
Alessandro Zummoae64d162009-01-06 14:42:17 -080080 If unsure, say Y.
Alessandro Zummo728a2942006-03-27 01:16:40 -080081
Alessandro Zummoe8242902006-03-27 01:16:41 -080082config RTC_INTF_DEV
David Brownelle40659c2007-05-16 22:11:15 -070083 boolean "/dev/rtcN (character devices)"
Kevin Hilman8dc08392012-10-10 15:54:06 -070084 default RTC_CLASS
Alessandro Zummoe8242902006-03-27 01:16:41 -080085 help
David Brownell9e86ecb2006-09-30 23:28:14 -070086 Say yes here if you want to use your RTCs using the /dev
87 interfaces, which "udev" sets up as /dev/rtc0 through
Alessandro Zummoae64d162009-01-06 14:42:17 -080088 /dev/rtcN.
Alessandro Zummoe8242902006-03-27 01:16:41 -080089
Alessandro Zummoae64d162009-01-06 14:42:17 -080090 You may want to set up a symbolic link so one of these
91 can be accessed as /dev/rtc, which is a name
92 expected by "hwclock" and some other programs. Recent
93 versions of "udev" are known to set up the symlink for you.
94
95 If unsure, say Y.
Alessandro Zummoe8242902006-03-27 01:16:41 -080096
John Stultz6e57b1d2011-02-11 17:45:40 -080097config RTC_INTF_DEV_UIE_EMUL
98 bool "RTC UIE emulation on dev interface"
99 depends on RTC_INTF_DEV
100 help
101 Provides an emulation for RTC_UIE if the underlying rtc chip
102 driver does not expose RTC_UIE ioctls. Those requests generate
103 once-per-second update interrupts, used for synchronization.
104
105 The emulation code will read the time from the hardware
106 clock several times per second, please enable this option
107 only if you know that you really need it.
108
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700109config RTC_DRV_TEST
110 tristate "Test driver/device"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700111 help
112 If you say yes here you get support for the
113 RTC test driver. It's a software RTC which can be
114 used to test the RTC subsystem APIs. It gets
115 the time from the system clock.
116 You want this driver only if you are doing development
117 on the RTC subsystem. Please read the source code
118 for further details.
119
120 This driver can also be built as a module. If so, the module
121 will be called rtc-test.
122
123comment "I2C RTC drivers"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700124 depends on I2C
125
126if I2C
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700127
Haojian Zhuang008b3042011-05-06 17:21:20 +0800128config RTC_DRV_88PM860X
129 tristate "Marvell 88PM860x"
Venu Byravarasu6b8029f2012-10-04 17:13:59 -0700130 depends on I2C && MFD_88PM860X
Haojian Zhuang008b3042011-05-06 17:21:20 +0800131 help
132 If you say yes here you get support for RTC function in Marvell
133 88PM860x chips.
134
135 This driver can also be built as a module. If so, the module
136 will be called rtc-88pm860x.
137
Qiao Zhou2985c292012-07-09 14:37:34 +0800138config RTC_DRV_88PM80X
139 tristate "Marvell 88PM80x"
Venu Byravarasu6b8029f2012-10-04 17:13:59 -0700140 depends on I2C && MFD_88PM800
Qiao Zhou2985c292012-07-09 14:37:34 +0800141 help
142 If you say yes here you get support for RTC function in Marvell
143 88PM80x chips.
144
145 This driver can also be built as a module. If so, the module
146 will be called rtc-88pm80x.
147
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700148config RTC_DRV_DS1307
Matthias Fuchsa2166852009-03-31 15:24:58 -0700149 tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00, EPSON RX-8025"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700150 help
151 If you say yes here you get support for various compatible RTC
Alessandro Zummoae64d162009-01-06 14:42:17 -0800152 chips (often with battery backup) connected with I2C. This driver
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700153 should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
Matthias Fuchsa2166852009-03-31 15:24:58 -0700154 EPSON RX-8025 and probably other chips. In some cases the RTC
155 must already have been initialized (by manufacturing or a
156 bootloader).
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700157
158 The first seven registers on these chips hold an RTC, and other
159 registers may add features such as NVRAM, a trickle charger for
Alessandro Zummoae64d162009-01-06 14:42:17 -0800160 the RTC/NVRAM backup power, and alarms. NVRAM is visible in
David Brownell682d73f2007-11-14 16:58:32 -0800161 sysfs, but other chip features may not be available.
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700162
163 This driver can also be built as a module. If so, the module
164 will be called rtc-ds1307.
165
Scott Woodbf4994d2007-10-16 01:28:19 -0700166config RTC_DRV_DS1374
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800167 tristate "Dallas/Maxim DS1374"
Venu Byravarasu6b8029f2012-10-04 17:13:59 -0700168 depends on I2C
Scott Woodbf4994d2007-10-16 01:28:19 -0700169 help
170 If you say yes here you get support for Dallas Semiconductor
Alessandro Zummoae64d162009-01-06 14:42:17 -0800171 DS1374 real-time clock chips. If an interrupt is associated
Scott Woodbf4994d2007-10-16 01:28:19 -0700172 with the device, the alarm functionality is supported.
173
Alessandro Zummoae64d162009-01-06 14:42:17 -0800174 This driver can also be built as a module. If so, the module
Scott Woodbf4994d2007-10-16 01:28:19 -0700175 will be called rtc-ds1374.
176
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700177config RTC_DRV_DS1672
178 tristate "Dallas/Maxim DS1672"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700179 help
180 If you say yes here you get support for the
181 Dallas/Maxim DS1672 timekeeping chip.
182
183 This driver can also be built as a module. If so, the module
184 will be called rtc-ds1672.
185
Roy Zangc03675f2010-08-10 18:02:20 -0700186config RTC_DRV_DS3232
187 tristate "Dallas/Maxim DS3232"
Venu Byravarasu6b8029f2012-10-04 17:13:59 -0700188 depends on I2C
Roy Zangc03675f2010-08-10 18:02:20 -0700189 help
190 If you say yes here you get support for Dallas Semiconductor
Lan Chunhe-B25806f46418c2010-10-27 15:33:12 -0700191 DS3232 real-time clock chips. If an interrupt is associated
192 with the device, the alarm functionality is supported.
Roy Zangc03675f2010-08-10 18:02:20 -0700193
194 This driver can also be built as a module. If so, the module
195 will be called rtc-ds3232.
196
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700197config RTC_DRV_MAX6900
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800198 tristate "Maxim MAX6900"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700199 help
200 If you say yes here you will get support for the
201 Maxim MAX6900 I2C RTC chip.
202
203 This driver can also be built as a module. If so, the module
204 will be called rtc-max6900.
205
Stephen Warren94c01ab2012-10-04 17:13:56 -0700206config RTC_DRV_MAX8907
207 tristate "Maxim MAX8907"
208 depends on MFD_MAX8907
209 help
210 If you say yes here you will get support for the
211 RTC of Maxim MAX8907 PMIC.
212
213 This driver can also be built as a module. If so, the module
214 will be called rtc-max8907.
215
Haojian Zhuanga39069f2010-01-25 06:30:29 -0500216config RTC_DRV_MAX8925
217 tristate "Maxim MAX8925"
218 depends on MFD_MAX8925
219 help
220 If you say yes here you will get support for the
221 RTC of Maxim MAX8925 PMIC.
222
223 This driver can also be built as a module. If so, the module
224 will be called rtc-max8925.
225
Joonyoung Shim9b16c0a2010-08-06 11:28:08 +0900226config RTC_DRV_MAX8998
227 tristate "Maxim MAX8998"
228 depends on MFD_MAX8998
229 help
230 If you say yes here you will get support for the
231 RTC of Maxim MAX8998 PMIC.
232
233 This driver can also be built as a module. If so, the module
234 will be called rtc-max8998.
235
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700236config RTC_DRV_RS5C372
Paul Mundt5d4529b2008-10-21 20:12:59 +0900237 tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700238 help
239 If you say yes here you get support for the
Paul Mundt5d4529b2008-10-21 20:12:59 +0900240 Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700241
242 This driver can also be built as a module. If so, the module
243 will be called rtc-rs5c372.
244
245config RTC_DRV_ISL1208
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800246 tristate "Intersil ISL1208"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700247 help
248 If you say yes here you get support for the
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800249 Intersil ISL1208 RTC chip.
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700250
251 This driver can also be built as a module. If so, the module
252 will be called rtc-isl1208.
253
Roman Fietzed6c74282010-08-10 18:02:14 -0700254config RTC_DRV_ISL12022
255 tristate "Intersil ISL12022"
256 help
257 If you say yes here you get support for the
258 Intersil ISL12022 RTC chip.
259
260 This driver can also be built as a module. If so, the module
261 will be called rtc-isl12022.
262
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700263config RTC_DRV_X1205
264 tristate "Xicor/Intersil X1205"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700265 help
266 If you say yes here you get support for the
267 Xicor/Intersil X1205 RTC chip.
268
269 This driver can also be built as a module. If so, the module
270 will be called rtc-x1205.
271
Thierry Redingf803f0d2012-12-17 16:02:44 -0800272config RTC_DRV_PCF8523
273 tristate "NXP PCF8523"
274 help
275 If you say yes here you get support for the NXP PCF8523 RTC
276 chips.
277
278 This driver can also be built as a module. If so, the module
279 will be called rtc-pcf8523.
280
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700281config RTC_DRV_PCF8563
282 tristate "Philips PCF8563/Epson RTC8564"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700283 help
284 If you say yes here you get support for the
285 Philips PCF8563 RTC chip. The Epson RTC8564
286 should work as well.
287
288 This driver can also be built as a module. If so, the module
289 will be called rtc-pcf8563.
290
291config RTC_DRV_PCF8583
292 tristate "Philips PCF8583"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700293 help
294 If you say yes here you get support for the Philips PCF8583
295 RTC chip found on Acorn RiscPCs. This driver supports the
296 platform specific method of retrieving the current year from
297 the RTC's SRAM. It will work on other platforms with the same
298 chip, but the year will probably have to be tweaked.
299
300 This driver can also be built as a module. If so, the module
301 will be called rtc-pcf8583.
302
Atsushi Nemotocaaff562007-07-17 04:05:02 -0700303config RTC_DRV_M41T80
Daniel Glocknerf30281f2009-04-02 16:57:03 -0700304 tristate "ST M41T62/65/M41T80/81/82/83/84/85/87"
Atsushi Nemotocaaff562007-07-17 04:05:02 -0700305 help
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700306 If you say Y here you will get support for the ST M41T60
307 and M41T80 RTC chips series. Currently, the following chips are
Daniel Glocknerf30281f2009-04-02 16:57:03 -0700308 supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700309 M41ST85, and M41ST87.
Atsushi Nemotocaaff562007-07-17 04:05:02 -0700310
311 This driver can also be built as a module. If so, the module
312 will be called rtc-m41t80.
313
Atsushi Nemoto617780d2007-07-17 04:05:04 -0700314config RTC_DRV_M41T80_WDT
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700315 bool "ST M41T65/M41T80 series RTC watchdog timer"
Atsushi Nemoto617780d2007-07-17 04:05:04 -0700316 depends on RTC_DRV_M41T80
317 help
318 If you say Y here you will get support for the
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700319 watchdog timer in the ST M41T60 and M41T80 RTC chips series.
Atsushi Nemoto617780d2007-07-17 04:05:04 -0700320
Piotr Ziecik1ce7c832009-12-15 16:46:12 -0800321config RTC_DRV_BQ32K
322 tristate "TI BQ32000"
323 help
324 If you say Y here you will get support for the TI
325 BQ32000 I2C RTC chip.
326
327 This driver can also be built as a module. If so, the module
328 will be called rtc-bq32k.
329
David Brownellafd8d0f2009-02-04 15:12:01 -0800330config RTC_DRV_DM355EVM
331 tristate "TI DaVinci DM355 EVM RTC"
332 depends on MFD_DM355EVM_MSP
333 help
334 Supports the RTC firmware in the MSP430 on the DM355 EVM.
335
Tony Lindgren0c4a59f2007-07-17 04:06:09 -0700336config RTC_DRV_TWL92330
337 boolean "TI TWL92330/Menelaus"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700338 depends on MENELAUS
Tony Lindgren0c4a59f2007-07-17 04:06:09 -0700339 help
340 If you say yes here you get support for the RTC on the
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200341 TWL92330 "Menelaus" power management chip, used with OMAP2
Alessandro Zummoae64d162009-01-06 14:42:17 -0800342 platforms. The support is integrated with the rest of
Tony Lindgren0c4a59f2007-07-17 04:06:09 -0700343 the Menelaus driver; it's not separate module.
344
David Brownellf96411a2008-10-20 23:50:05 +0200345config RTC_DRV_TWL4030
Balaji T Ka6b49ff2009-12-13 22:16:31 +0100346 tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
Venu Byravarasu6b8029f2012-10-04 17:13:59 -0700347 depends on TWL4030_CORE
David Brownellf96411a2008-10-20 23:50:05 +0200348 help
349 If you say yes here you get support for the RTC on the
Balaji T Ka6b49ff2009-12-13 22:16:31 +0100350 TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
David Brownellf96411a2008-10-20 23:50:05 +0200351
352 This driver can also be built as a module. If so, the module
Balaji T Ka6b49ff2009-12-13 22:16:31 +0100353 will be called rtc-twl.
David Brownellf96411a2008-10-20 23:50:05 +0200354
Venu Byravarasu0e783982012-10-04 17:13:55 -0700355config RTC_DRV_TPS65910
356 tristate "TI TPS65910 RTC driver"
357 depends on RTC_CLASS && MFD_TPS65910
358 help
359 If you say yes here you get support for the RTC on the
360 TPS65910 chips.
361
362 This driver can also be built as a module. If so, the module
363 will be called rtc-tps65910.
364
Venu Byravarasu90829c02012-10-04 17:14:04 -0700365config RTC_DRV_RC5T583
366 tristate "RICOH 5T583 RTC driver"
367 depends on MFD_RC5T583
368 help
369 If you say yes here you get support for the RTC on the
370 RICOH 5T583 chips.
371
372 This driver can also be built as a module. If so, the module
373 will be called rtc-rc5t583.
374
Byron Bradleyc46288b2008-03-04 14:28:25 -0800375config RTC_DRV_S35390A
376 tristate "Seiko Instruments S-35390A"
Randy Dunlapd4795402008-04-10 21:29:18 -0700377 select BITREVERSE
Byron Bradleyc46288b2008-03-04 14:28:25 -0800378 help
379 If you say yes here you will get support for the Seiko
380 Instruments S-35390A.
381
382 This driver can also be built as a module. If so the module
383 will be called rtc-s35390a.
384
Sergey Lapinc6d8f402008-06-12 15:21:55 -0700385config RTC_DRV_FM3130
386 tristate "Ramtron FM3130"
387 help
388 If you say Y here you will get support for the
389 Ramtron FM3130 RTC chips.
390 Ramtron FM3130 is a chip with two separate devices inside,
391 RTC clock and FRAM. This driver provides only RTC functionality.
392
393 This driver can also be built as a module. If so the module
394 will be called rtc-fm3130.
395
Martyn Welcha7fa9852008-11-12 13:27:06 -0800396config RTC_DRV_RX8581
397 tristate "Epson RX-8581"
398 help
399 If you say yes here you will get support for the Epson RX-8581.
400
401 This driver can also be built as a module. If so the module
402 will be called rtc-rx8581.
403
Wolfgang Grandegger3c2b9072009-06-17 16:26:11 -0700404config RTC_DRV_RX8025
405 tristate "Epson RX-8025SA/NB"
406 help
407 If you say yes here you get support for the Epson
408 RX-8025SA/NB RTC chips.
409
410 This driver can also be built as a module. If so, the module
411 will be called rtc-rx8025.
412
Mike Rapoportae3551f2011-05-26 16:25:04 -0700413config RTC_DRV_EM3027
414 tristate "EM Microelectronic EM3027"
415 help
416 If you say yes here you get support for the EM
417 Microelectronic EM3027 RTC chips.
418
419 This driver can also be built as a module. If so, the module
420 will be called rtc-em3027.
421
Heiko Schocher52365232011-05-26 16:25:05 -0700422config RTC_DRV_RV3029C2
423 tristate "Micro Crystal RTC"
424 help
425 If you say yes here you get support for the Micro Crystal
426 RV3029-C2 RTC chips.
427
428 This driver can also be built as a module. If so, the module
429 will be called rtc-rv3029c2.
430
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700431endif # I2C
432
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700433comment "SPI RTC drivers"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700434
435if SPI_MASTER
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700436
Voss, Nikolaus74d34d42011-05-26 16:25:07 -0700437config RTC_DRV_M41T93
438 tristate "ST M41T93"
439 help
440 If you say yes here you will get support for the
441 ST M41T93 SPI RTC chip.
442
443 This driver can also be built as a module. If so, the module
444 will be called rtc-m41t93.
445
Kim B. Heino8fc2c762008-07-23 21:30:34 -0700446config RTC_DRV_M41T94
447 tristate "ST M41T94"
448 help
449 If you say yes here you will get support for the
450 ST M41T94 SPI RTC chip.
451
452 This driver can also be built as a module. If so, the module
453 will be called rtc-m41t94.
454
David Brownell53e84b62008-07-23 21:30:36 -0700455config RTC_DRV_DS1305
456 tristate "Dallas/Maxim DS1305/DS1306"
457 help
458 Select this driver to get support for the Dallas/Maxim DS1305
Alessandro Zummoae64d162009-01-06 14:42:17 -0800459 and DS1306 real time clock chips. These support a trickle
David Brownell53e84b62008-07-23 21:30:36 -0700460 charger, alarms, and NVRAM in addition to the clock.
461
462 This driver can also be built as a module. If so, the module
463 will be called rtc-ds1305.
464
Mark Jackson06de1802008-11-12 13:27:07 -0800465config RTC_DRV_DS1390
466 tristate "Dallas/Maxim DS1390/93/94"
467 help
Alessandro Zummo7b9b2ef2009-01-06 14:42:16 -0800468 If you say yes here you get support for the
469 Dallas/Maxim DS1390/93/94 chips.
Mark Jackson06de1802008-11-12 13:27:07 -0800470
471 This driver only supports the RTC feature, and not other chip
472 features such as alarms and trickle charging.
473
474 This driver can also be built as a module. If so, the module
475 will be called rtc-ds1390.
476
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800477config RTC_DRV_MAX6902
478 tristate "Maxim MAX6902"
479 help
480 If you say yes here you will get support for the
481 Maxim MAX6902 SPI RTC chip.
482
483 This driver can also be built as a module. If so, the module
484 will be called rtc-max6902.
485
Magnus Damm2805b962008-02-06 01:38:53 -0800486config RTC_DRV_R9701
487 tristate "Epson RTC-9701JE"
488 help
489 If you say yes here you will get support for the
490 Epson RTC-9701JE SPI RTC chip.
491
492 This driver can also be built as a module. If so, the module
493 will be called rtc-r9701.
494
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700495config RTC_DRV_RS5C348
496 tristate "Ricoh RS5C348A/B"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700497 help
498 If you say yes here you get support for the
499 Ricoh RS5C348A and RS5C348B RTC chips.
500
501 This driver can also be built as a module. If so, the module
502 will be called rtc-rs5c348.
503
Dennis Aberilla2f9b75e2008-10-15 22:02:57 -0700504config RTC_DRV_DS3234
505 tristate "Maxim/Dallas DS3234"
506 help
507 If you say yes here you get support for the
508 Maxim/Dallas DS3234 SPI RTC chip.
509
510 This driver can also be built as a module. If so, the module
511 will be called rtc-ds3234.
512
Chris Verges7f3923a2009-09-22 16:46:20 -0700513config RTC_DRV_PCF2123
514 tristate "NXP PCF2123"
515 help
516 If you say yes here you get support for the NXP PCF2123
517 RTC chip.
518
519 This driver can also be built as a module. If so, the module
520 will be called rtc-pcf2123.
521
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700522endif # SPI_MASTER
523
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700524comment "Platform RTC drivers"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -0800525
David Brownell7be2c7c2007-02-10 01:46:02 -0800526# this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h>
527# requires <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
528# global rtc_lock ... it's not yet just another platform_device.
529
530config RTC_DRV_CMOS
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700531 tristate "PC-style 'CMOS'"
Andrew Morton5ec87702008-09-22 21:40:04 -0700532 depends on X86 || ALPHA || ARM || M32R || ATARI || PPC || MIPS || SPARC64
David Brownellc7500902008-04-28 02:11:52 -0700533 default y if X86
David Brownell7be2c7c2007-02-10 01:46:02 -0800534 help
535 Say "yes" here to get direct support for the real time clock
536 found in every PC or ACPI-based system, and some other boards.
537 Specifically the original MC146818, compatibles like those in
538 PC south bridges, the DS12887 or M48T86, some multifunction
539 or LPC bus chips, and so on.
540
541 Your system will need to define the platform device used by
Alessandro Zummoae64d162009-01-06 14:42:17 -0800542 this driver, otherwise it won't be accessible. This means
David Brownell7be2c7c2007-02-10 01:46:02 -0800543 you can safely enable this driver if you don't know whether
544 or not your board has this kind of hardware.
545
546 This driver can also be built as a module. If so, the module
547 will be called rtc-cmos.
548
Feng Tang0146f262010-11-10 17:29:17 +0000549config RTC_DRV_VRTC
Alan Cox933b9462011-12-17 17:43:40 +0000550 tristate "Virtual RTC for Intel MID platforms"
551 depends on X86_INTEL_MID
552 default y if X86_INTEL_MID
Feng Tang0146f262010-11-10 17:29:17 +0000553
554 help
555 Say "yes" here to get direct support for the real time clock
556 found on Moorestown platforms. The VRTC is a emulated RTC that
557 derives its clock source from a real RTC in the PMIC. The MC146818
558 style programming interface is mostly conserved, but any
559 updates are done via IPC calls to the system controller FW.
560
Thomas Bogendoerfer537739d2007-07-17 04:05:06 -0700561config RTC_DRV_DS1216
562 tristate "Dallas DS1216"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700563 depends on SNI_RM
Thomas Bogendoerfer537739d2007-07-17 04:05:06 -0700564 help
565 If you say yes here you get support for the Dallas DS1216 RTC chips.
566
Thomas Bogendoerfer5f119f22008-10-14 17:16:59 +0200567config RTC_DRV_DS1286
568 tristate "Dallas DS1286"
569 help
570 If you say yes here you get support for the Dallas DS1286 RTC chips.
571
Paul Mundt739d3402008-02-06 01:38:44 -0800572config RTC_DRV_DS1302
573 tristate "Dallas DS1302"
574 depends on SH_SECUREEDGE5410
575 help
576 If you say yes here you get support for the Dallas DS1302 RTC chips.
577
Andrew Sharp8f267952008-02-06 01:38:46 -0800578config RTC_DRV_DS1511
579 tristate "Dallas DS1511"
Andrew Sharp8f267952008-02-06 01:38:46 -0800580 help
581 If you say yes here you get support for the
582 Dallas DS1511 timekeeping/watchdog chip.
583
584 This driver can also be built as a module. If so, the module
585 will be called rtc-ds1511.
586
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700587config RTC_DRV_DS1553
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800588 tristate "Maxim/Dallas DS1553"
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700589 help
590 If you say yes here you get support for the
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800591 Maxim/Dallas DS1553 timekeeping chip.
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700592
593 This driver can also be built as a module. If so, the module
594 will be called rtc-ds1553.
595
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800596config RTC_DRV_DS1742
597 tristate "Maxim/Dallas DS1742/1743"
598 help
599 If you say yes here you get support for the
600 Maxim/Dallas DS1742/1743 timekeeping chip.
601
602 This driver can also be built as a module. If so, the module
603 will be called rtc-ds1742.
604
Ashish Jangamfef931f2012-03-23 15:02:36 -0700605config RTC_DRV_DA9052
606 tristate "Dialog DA9052/DA9053 RTC"
607 depends on PMIC_DA9052
608 help
609 Say y here to support the RTC driver for Dialog Semiconductor
610 DA9052-BC and DA9053-AA/Bx PMICs.
611
Ashish Jangam6920d992012-12-17 16:02:53 -0800612config RTC_DRV_DA9055
613 tristate "Dialog Semiconductor DA9055 RTC"
614 depends on MFD_DA9055
615 help
616 If you say yes here you will get support for the
617 RTC of the Dialog DA9055 PMIC.
618
619 This driver can also be built as a module. If so, the module
620 will be called rtc-da9055
621
dann frazier5e3fd9e2009-03-31 15:24:48 -0700622config RTC_DRV_EFI
623 tristate "EFI RTC"
624 depends on IA64
625 help
626 If you say yes here you will get support for the EFI
627 Real Time Clock.
628
629 This driver can also be built as a module. If so, the module
630 will be called rtc-efi.
631
Thomas Hommel02964112007-07-21 04:37:58 -0700632config RTC_DRV_STK17TA8
633 tristate "Simtek STK17TA8"
Thomas Hommel02964112007-07-21 04:37:58 -0700634 help
635 If you say yes here you get support for the
636 Simtek STK17TA8 timekeeping chip.
637
638 This driver can also be built as a module. If so, the module
639 will be called rtc-stk17ta8.
640
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700641config RTC_DRV_M48T86
642 tristate "ST M48T86/Dallas DS12887"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700643 help
644 If you say Y here you will get support for the
645 ST M48T86 and Dallas DS12887 RTC chips.
646
647 This driver can also be built as a module. If so, the module
648 will be called rtc-m48t86.
649
Thomas Bogendoerferd1dbd82e2008-10-14 17:17:32 +0200650config RTC_DRV_M48T35
651 tristate "ST M48T35"
652 help
653 If you say Y here you will get support for the
654 ST M48T35 RTC chip.
655
656 This driver can also be built as a module, if so, the module
657 will be called "rtc-m48t35".
658
Mark Zhan2e774c72007-07-17 04:05:05 -0700659config RTC_DRV_M48T59
Krzysztof Helt94fe7422008-09-03 15:12:34 -0700660 tristate "ST M48T59/M48T08/M48T02"
Mark Zhan2e774c72007-07-17 04:05:05 -0700661 help
662 If you say Y here you will get support for the
Krzysztof Helt94fe7422008-09-03 15:12:34 -0700663 ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
664
665 These chips are usually found in Sun SPARC and UltraSPARC
666 workstations.
Mark Zhan2e774c72007-07-17 04:05:05 -0700667
668 This driver can also be built as a module, if so, the module
669 will be called "rtc-m48t59".
670
Geert Uytterhoeven4f9b9bb2009-03-18 23:29:27 +0100671config RTC_DRV_MSM6242
672 tristate "Oki MSM6242"
673 help
674 If you say yes here you get support for the Oki MSM6242
675 timekeeping chip. It is used in some Amiga models (e.g. A2000).
676
677 This driver can also be built as a module. If so, the module
678 will be called rtc-msm6242.
679
David S. Millercca4c232008-08-29 01:29:53 -0700680config RTC_DRV_BQ4802
681 tristate "TI BQ4802"
682 help
683 If you say Y here you will get support for the TI
684 BQ4802 RTC chip.
685
686 This driver can also be built as a module. If so, the module
687 will be called rtc-bq4802.
688
Geert Uytterhoeven4f672ce2009-03-18 23:29:27 +0100689config RTC_DRV_RP5C01
690 tristate "Ricoh RP5C01"
691 help
692 If you say yes here you get support for the Ricoh RP5C01
693 timekeeping chip. It is used in some Amiga models (e.g. A3000
694 and A4000).
695
696 This driver can also be built as a module. If so, the module
697 will be called rtc-rp5c01.
698
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700699config RTC_DRV_V3020
700 tristate "EM Microelectronic V3020"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700701 help
702 If you say yes here you will get support for the
703 EM Microelectronic v3020 RTC chip.
704
705 This driver can also be built as a module. If so, the module
706 will be called rtc-v3020.
707
Sven Schnelle7418a112012-10-04 17:13:47 -0700708config RTC_DRV_DS2404
709 tristate "Dallas DS2404"
710 help
711 If you say yes here you get support for the
712 Dallas DS2404 RTC chip.
713
714 This driver can also be built as a module. If so, the module
715 will be called rtc-ds2404.
716
Mark Brown35c86bf2009-08-27 19:59:05 +0200717config RTC_DRV_WM831X
718 tristate "Wolfson Microelectronics WM831x RTC"
719 depends on MFD_WM831X
720 help
721 If you say yes here you will get support for the RTC subsystem
722 of the Wolfson Microelectronics WM831X series PMICs.
723
724 This driver can also be built as a module. If so, the module
725 will be called "rtc-wm831x".
726
Mark Brown077eaf52008-11-12 13:27:04 -0800727config RTC_DRV_WM8350
728 tristate "Wolfson Microelectronics WM8350 RTC"
729 depends on MFD_WM8350
730 help
731 If you say yes here you will get support for the RTC subsystem
732 of the Wolfson Microelectronics WM8350.
733
734 This driver can also be built as a module. If so, the module
735 will be called "rtc-wm8350".
736
Rajeev Kumar0942a712011-05-26 16:25:09 -0700737config RTC_DRV_SPEAR
738 tristate "SPEAR ST RTC"
739 depends on PLAT_SPEAR
740 default y
741 help
742 If you say Y here you will get support for the RTC found on
743 spear
744
Balaji Raoeae854b2009-01-09 01:50:51 +0100745config RTC_DRV_PCF50633
746 depends on MFD_PCF50633
747 tristate "NXP PCF50633 RTC"
748 help
749 If you say yes here you get support for the RTC subsystem of the
750 NXP PCF50633 used in embedded systems.
751
Linus Walleijbd207cf2009-08-30 23:49:04 +0200752config RTC_DRV_AB3100
753 tristate "ST-Ericsson AB3100 RTC"
754 depends on AB3100_CORE
755 default y if AB3100_CORE
756 help
757 Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
758 support. This chip contains a battery- and capacitor-backed RTC.
759
Virupax Sadashivpetimath0af62f42010-05-26 14:42:14 -0700760config RTC_DRV_AB8500
761 tristate "ST-Ericsson AB8500 RTC"
762 depends on AB8500_CORE
Ulf Hansson651fb482012-10-04 17:14:32 -0700763 select RTC_INTF_DEV
Ramesh Chandrasekarandc43d4a2012-07-30 14:41:41 -0700764 select RTC_INTF_DEV_UIE_EMUL
Virupax Sadashivpetimath0af62f42010-05-26 14:42:14 -0700765 help
766 Select this to enable the ST-Ericsson AB8500 power management IC RTC
767 support. This chip contains a battery- and capacitor-backed RTC.
768
Wan ZongShunafd49a7e2009-12-15 16:46:17 -0800769config RTC_DRV_NUC900
770 tristate "NUC910/NUC920 RTC driver"
Venu Byravarasu6b8029f2012-10-04 17:13:59 -0700771 depends on ARCH_W90X900
Wan ZongShunafd49a7e2009-12-15 16:46:17 -0800772 help
773 If you say yes here you get support for the RTC subsystem of the
774 NUC910/NUC920 used in embedded systems.
Linus Walleijbd207cf2009-08-30 23:49:04 +0200775
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700776comment "on-CPU RTC drivers"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700777
Miguel Aguilar8ecf6c52009-11-05 08:51:34 -0600778config RTC_DRV_DAVINCI
779 tristate "TI DaVinci RTC"
780 depends on ARCH_DAVINCI_DM365
781 help
782 If you say yes here you get support for the RTC on the
783 DaVinci platforms (DM365).
784
785 This driver can also be built as a module. If so, the module
786 will be called rtc-davinci.
787
Fabio Estevamb224b9a2012-05-29 15:07:37 -0700788config RTC_DRV_IMXDI
789 tristate "Freescale IMX DryIce Real Time Clock"
Roland Stiggeef216ad2012-12-17 16:02:22 -0800790 depends on ARCH_MXC
Fabio Estevamb224b9a2012-05-29 15:07:37 -0700791 help
792 Support for Freescale IMX DryIce RTC
793
794 This driver can also be built as a module, if so, the module
795 will be called "rtc-imxdi".
796
David Brownelldb68b182006-12-06 20:38:36 -0800797config RTC_DRV_OMAP
798 tristate "TI OMAP1"
Afzal Mohammed427af9a2012-12-17 16:02:17 -0800799 depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730 || ARCH_DAVINCI_DA8XX || SOC_AM33XX
David Brownelldb68b182006-12-06 20:38:36 -0800800 help
Afzal Mohammed427af9a2012-12-17 16:02:17 -0800801 Say "yes" here to support the on chip real time clock
802 present on TI OMAP1, AM33xx and DA8xx/OMAP-L13x.
803
804 This driver can also be built as a module, if so, module
805 will be called rtc-omap.
David Brownelldb68b182006-12-06 20:38:36 -0800806
Atul Dahiya16f4efe2010-07-20 16:38:49 +0530807config HAVE_S3C_RTC
808 bool
809 help
810 This will include RTC support for Samsung SoCs. If
811 you want to include RTC support for any machine, kindly
812 select this in the respective mach-XXXX/Kconfig file.
813
Ben Dooks1add6782006-07-01 04:36:26 -0700814config RTC_DRV_S3C
815 tristate "Samsung S3C series SoC RTC"
Kukjin Kimb130d5c2012-02-03 14:29:23 +0900816 depends on ARCH_S3C64XX || HAVE_S3C_RTC
Ben Dooks1add6782006-07-01 04:36:26 -0700817 help
818 RTC (Realtime Clock) driver for the clock inbuilt into the
819 Samsung S3C24XX series of SoCs. This can provide periodic
820 interrupt rates from 1Hz to 64Hz for user programs, and
821 wakeup from Alarm.
822
823 The driver currently supports the common features on all the
824 S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
825 and S3C2442.
826
827 This driver can also be build as a module. If so, the module
828 will be called rtc-s3c.
829
Alessandro Zummofd507e22006-03-27 01:16:45 -0800830config RTC_DRV_EP93XX
831 tristate "Cirrus Logic EP93XX"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700832 depends on ARCH_EP93XX
Alessandro Zummofd507e22006-03-27 01:16:45 -0800833 help
834 If you say yes here you get support for the
835 RTC embedded in the Cirrus Logic EP93XX processors.
836
837 This driver can also be built as a module. If so, the module
838 will be called rtc-ep93xx.
839
Richard Purdiee842f1c2006-03-27 01:16:46 -0800840config RTC_DRV_SA1100
Haojian Zhuang3888c092012-02-21 11:51:13 +0800841 tristate "SA11x0/PXA2xx/PXA910"
842 depends on ARCH_SA1100 || ARCH_PXA || ARCH_MMP
Richard Purdiee842f1c2006-03-27 01:16:46 -0800843 help
844 If you say Y here you will get access to the real time clock
845 built into your SA11x0 or PXA2xx CPU.
846
847 To compile this driver as a module, choose M here: the
848 module will be called rtc-sa1100.
Alessandro Zummofd507e22006-03-27 01:16:45 -0800849
Paul Mundt317a6102006-09-27 17:13:19 +0900850config RTC_DRV_SH
851 tristate "SuperH On-Chip RTC"
Venu Byravarasu6b8029f2012-10-04 17:13:59 -0700852 depends on SUPERH && HAVE_CLK
Paul Mundt317a6102006-09-27 17:13:19 +0900853 help
854 Say Y here to enable support for the on-chip RTC found in
855 most SuperH processors.
856
857 To compile this driver as a module, choose M here: the
858 module will be called rtc-sh.
859
Yoichi Yuasa8417eb72006-04-10 22:54:47 -0700860config RTC_DRV_VR41XX
Alessandro Zummo3e16f6a2006-04-10 22:54:48 -0700861 tristate "NEC VR41XX"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700862 depends on CPU_VR41XX
Alessandro Zummo3e16f6a2006-04-10 22:54:48 -0700863 help
864 If you say Y here you will get access to the real time clock
865 built into your NEC VR41XX CPU.
866
867 To compile this driver as a module, choose M here: the
868 module will be called rtc-vr41xx.
Yoichi Yuasa8417eb72006-04-10 22:54:47 -0700869
Russell Kinga1909012008-04-20 12:08:36 +0100870config RTC_DRV_PL030
871 tristate "ARM AMBA PL030 RTC"
872 depends on ARM_AMBA
873 help
874 If you say Y here you will get access to ARM AMBA
875 PrimeCell PL030 RTC found on certain ARM SOCs.
876
877 To compile this driver as a module, choose M here: the
878 module will be called rtc-pl030.
879
Deepak Saxena8ae6e162006-06-25 05:47:38 -0700880config RTC_DRV_PL031
881 tristate "ARM AMBA PL031 RTC"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700882 depends on ARM_AMBA
Deepak Saxena8ae6e162006-06-25 05:47:38 -0700883 help
884 If you say Y here you will get access to ARM AMBA
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700885 PrimeCell PL031 RTC found on certain ARM SOCs.
Deepak Saxena8ae6e162006-06-25 05:47:38 -0700886
887 To compile this driver as a module, choose M here: the
888 module will be called rtc-pl031.
889
Hans-Christian Egtvedtfa04e782007-07-17 04:05:00 -0700890config RTC_DRV_AT32AP700X
891 tristate "AT32AP700X series RTC"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700892 depends on PLATFORM_AT32AP
Hans-Christian Egtvedtfa04e782007-07-17 04:05:00 -0700893 help
894 Driver for the internal RTC (Realtime Clock) on Atmel AVR32
895 AT32AP700x family processors.
896
Andrew Victor7fc39f62006-12-10 02:19:03 -0800897config RTC_DRV_AT91RM9200
Nicolas Ferre24cecc12010-10-22 19:12:52 +0200898 tristate "AT91RM9200 or some AT91SAM9 RTC"
Nicolas Ferre938f9702012-03-15 14:38:09 +0100899 depends on ARCH_AT91
Andrew Victor788b1fc2006-06-25 05:48:27 -0700900 help
David Brownell4cdf8542008-02-06 01:38:59 -0800901 Driver for the internal RTC (Realtime Clock) module found on
Nicolas Ferre24cecc12010-10-22 19:12:52 +0200902 Atmel AT91RM9200's and some AT91SAM9 chips. On AT91SAM9 chips
David Brownell4cdf8542008-02-06 01:38:59 -0800903 this is powered by the backup power supply.
904
905config RTC_DRV_AT91SAM9
Nicolas Ferre24cecc12010-10-22 19:12:52 +0200906 tristate "AT91SAM9x/AT91CAP9 RTT as RTC"
David Brownell4cdf8542008-02-06 01:38:59 -0800907 depends on ARCH_AT91 && !(ARCH_AT91RM9200 || ARCH_AT91X40)
908 help
Stelian Pop6b71dbf2008-04-05 21:16:15 +0100909 RTC driver for the Atmel AT91SAM9x and AT91CAP9 internal RTT
910 (Real Time Timer). These timers are powered by the backup power
911 supply (such as a small coin cell battery), but do not need to
912 be used as RTCs.
David Brownell4cdf8542008-02-06 01:38:59 -0800913
Nicolas Ferre24cecc12010-10-22 19:12:52 +0200914 (On AT91SAM9rl and AT91SAM9G45 chips you probably want to use the
915 dedicated RTC module and leave the RTT available for other uses.)
David Brownell4cdf8542008-02-06 01:38:59 -0800916
917config RTC_DRV_AT91SAM9_RTT
918 int
919 range 0 1
920 default 0
921 prompt "RTT module Number" if ARCH_AT91SAM9263
922 depends on RTC_DRV_AT91SAM9
923 help
Alessandro Zummoae64d162009-01-06 14:42:17 -0800924 More than one RTT module is available. You can choose which
925 one will be used as an RTC. The default of zero is normally
David Brownell4cdf8542008-02-06 01:38:59 -0800926 OK to use, though some systems use that for non-RTC purposes.
927
928config RTC_DRV_AT91SAM9_GPBR
929 int
930 range 0 3 if !ARCH_AT91SAM9263
931 range 0 15 if ARCH_AT91SAM9263
932 default 0
933 prompt "Backup Register Number"
934 depends on RTC_DRV_AT91SAM9
935 help
936 The RTC driver needs to use one of the General Purpose Backup
Alessandro Zummoae64d162009-01-06 14:42:17 -0800937 Registers (GPBRs) as well as the RTT. You can choose which one
938 will be used. The default of zero is normally OK to use, but
David Brownell4cdf8542008-02-06 01:38:59 -0800939 on some systems other software needs to use that register.
Andrew Victor788b1fc2006-06-25 05:48:27 -0700940
Manuel Lauss45fd8a02009-01-06 14:42:18 -0800941config RTC_DRV_AU1XXX
942 tristate "Au1xxx Counter0 RTC support"
Manuel Lauss42a4f172010-07-15 21:45:04 +0200943 depends on MIPS_ALCHEMY
Manuel Lauss45fd8a02009-01-06 14:42:18 -0800944 help
945 This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
946 counter) to be used as a RTC.
947
948 This driver can also be built as a module. If so, the module
949 will be called rtc-au1xxx.
950
Wu, Bryan8cc75c92007-05-06 14:50:32 -0700951config RTC_DRV_BFIN
952 tristate "Blackfin On-Chip RTC"
Graf Yang7f604592008-08-20 14:09:02 -0700953 depends on BLACKFIN && !BF561
Wu, Bryan8cc75c92007-05-06 14:50:32 -0700954 help
955 If you say yes here you will get support for the
956 Blackfin On-Chip Real Time Clock.
957
958 This driver can also be built as a module. If so, the module
959 will be called rtc-bfin.
960
Nobuhiro Iwamatsue9f2bd82007-05-08 00:26:37 -0700961config RTC_DRV_RS5C313
962 tristate "Ricoh RS5C313"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700963 depends on SH_LANDISK
Nobuhiro Iwamatsue9f2bd82007-05-08 00:26:37 -0700964 help
965 If you say yes here you get support for the Ricoh RS5C313 RTC chips.
966
Geert Uytterhoeven3afe6d02009-02-19 16:46:49 +0100967config RTC_DRV_GENERIC
968 tristate "Generic RTC support"
969 # Please consider writing a new RTC driver instead of using the generic
970 # RTC abstraction
Paul Mundt47c8a082009-04-27 17:34:39 +0900971 depends on PARISC || M68K || PPC || SUPERH32
Kyle McMartin9eb16862008-09-10 14:24:07 +0000972 help
Geert Uytterhoeven3afe6d02009-02-19 16:46:49 +0100973 Say Y or M here to enable RTC support on systems using the generic
974 RTC abstraction. If you do not know what you are doing, you should
Kyle McMartin9eb16862008-09-10 14:24:07 +0000975 just say Y.
976
Robert Jarzmikdc944362009-01-06 14:42:14 -0800977config RTC_DRV_PXA
978 tristate "PXA27x/PXA3xx"
979 depends on ARCH_PXA
980 help
981 If you say Y here you will get access to the real time clock
982 built into your PXA27x or PXA3xx CPU.
983
984 This RTC driver uses PXA RTC registers available since pxa27x
985 series (RDxR, RYxR) instead of legacy RCNR, RTAR.
986
Alexey Charkovf77fbdf2011-05-26 16:25:03 -0700987config RTC_DRV_VT8500
988 tristate "VIA/WonderMedia 85xx SoC RTC"
989 depends on ARCH_VT8500
990 help
991 If you say Y here you will get access to the real time clock
992 built into your VIA VT8500 SoC or its relatives.
993
Robert Jarzmikdc944362009-01-06 14:42:14 -0800994
David S. Miller7a138ed2008-08-29 01:32:43 -0700995config RTC_DRV_SUN4V
996 bool "SUN4V Hypervisor RTC"
997 depends on SPARC64
998 help
999 If you say Y here you will get support for the Hypervisor
1000 based RTC on SUN4V systems.
1001
David S. Millerde2cf332008-08-28 23:02:36 -07001002config RTC_DRV_STARFIRE
1003 bool "Starfire RTC"
1004 depends on SPARC64
1005 help
1006 If you say Y here you will get support for the RTC found on
1007 Starfire systems.
1008
Atsushi Nemoto0e149232009-01-06 14:42:22 -08001009config RTC_DRV_TX4939
1010 tristate "TX4939 SoC"
1011 depends on SOC_TX4939
1012 help
1013 Driver for the internal RTC (Realtime Clock) module found on
1014 Toshiba TX4939 SoC.
1015
Saeed Bisharadefb4512009-01-06 14:42:24 -08001016config RTC_DRV_MV
1017 tristate "Marvell SoC RTC"
Saeed Bisharada432432009-11-24 19:33:53 +02001018 depends on ARCH_KIRKWOOD || ARCH_DOVE
Saeed Bisharadefb4512009-01-06 14:42:24 -08001019 help
1020 If you say yes here you will get support for the in-chip RTC
1021 that can be found in some of Marvell's SoC devices, such as
1022 the Kirkwood 88F6281 and 88F6192.
1023
1024 This driver can also be built as a module. If so, the module
1025 will be called rtc-mv.
1026
Geert Uytterhoeven0b5f0372009-02-24 14:04:20 +01001027config RTC_DRV_PS3
1028 tristate "PS3 RTC"
1029 depends on PPC_PS3
1030 help
1031 If you say yes here you will get support for the RTC on PS3.
1032
1033 This driver can also be built as a module. If so, the module
1034 will be called rtc-ps3.
1035
Linus Walleijaa958f52009-09-22 16:46:24 -07001036config RTC_DRV_COH901331
1037 tristate "ST-Ericsson COH 901 331 RTC"
1038 depends on ARCH_U300
1039 help
1040 If you say Y here you will get access to ST-Ericsson
1041 COH 901 331 RTC clock found in some ST-Ericsson Mobile
1042 Platforms.
1043
1044 This driver can also be built as a module. If so, the module
1045 will be called "rtc-coh901331".
1046
1047
dmitry pervushindf17f632009-09-22 16:46:26 -07001048config RTC_DRV_STMP
Wolfram Sang46b21212011-05-25 12:56:50 +02001049 tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
1050 depends on ARCH_MXS
dmitry pervushindf17f632009-09-22 16:46:26 -07001051 help
1052 If you say yes here you will get support for the onboard
Wolfram Sang46b21212011-05-25 12:56:50 +02001053 STMP3xxx/i.MX23/i.MX28 RTC.
dmitry pervushindf17f632009-09-22 16:46:26 -07001054
1055 This driver can also be built as a module. If so, the module
1056 will be called rtc-stmp3xxx.
1057
Daniel Ribeirod3c7a3f2009-09-22 16:46:27 -07001058config RTC_DRV_PCAP
1059 tristate "PCAP RTC"
1060 depends on EZX_PCAP
1061 help
1062 If you say Y here you will get support for the RTC found on
1063 the PCAP2 ASIC used on some Motorola phones.
1064
Uwe Kleine-König1c978722010-10-28 12:30:53 +02001065config RTC_DRV_MC13XXX
1066 depends on MFD_MC13XXX
1067 tristate "Freescale MC13xxx RTC"
Uwe Kleine-König43299f2852009-12-15 16:46:09 -08001068 help
Uwe Kleine-König1c978722010-10-28 12:30:53 +02001069 This enables support for the RTCs found on Freescale's PMICs
1070 MC13783 and MC13892.
Uwe Kleine-König43299f2852009-12-15 16:46:09 -08001071
Anatolij Gustschin50aae722010-02-16 10:47:35 -07001072config RTC_DRV_MPC5121
1073 tristate "Freescale MPC5121 built-in RTC"
Dmitry Eremin-Solenikov955dbea2011-07-25 17:13:30 -07001074 depends on PPC_MPC512x || PPC_MPC52xx
Anatolij Gustschin50aae722010-02-16 10:47:35 -07001075 help
1076 If you say yes here you will get support for the
Dmitry Eremin-Solenikov955dbea2011-07-25 17:13:30 -07001077 built-in RTC on MPC5121 or on MPC5200.
Anatolij Gustschin50aae722010-02-16 10:47:35 -07001078
1079 This driver can also be built as a module. If so, the module
1080 will be called rtc-mpc5121.
1081
Lars-Peter Clausen3bf0eea2010-06-19 18:29:50 +00001082config RTC_DRV_JZ4740
1083 tristate "Ingenic JZ4740 SoC"
Lars-Peter Clausen3bf0eea2010-06-19 18:29:50 +00001084 depends on MACH_JZ4740
1085 help
1086 If you say yes here you get support for the Ingenic JZ4740 SoC RTC
1087 controller.
1088
1089 This driver can also be buillt as a module. If so, the module
1090 will be called rtc-jz4740.
1091
Kevin Wells9aa449b2010-10-27 15:33:01 -07001092config RTC_DRV_LPC32XX
1093 depends on ARCH_LPC32XX
1094 tristate "NXP LPC32XX RTC"
1095 help
1096 This enables support for the NXP RTC in the LPC32XX
1097
1098 This driver can also be buillt as a module. If so, the module
1099 will be called rtc-lpc32xx.
1100
Anirudh Ghayal9a9a54a2011-07-25 17:13:33 -07001101config RTC_DRV_PM8XXX
1102 tristate "Qualcomm PMIC8XXX RTC"
1103 depends on MFD_PM8XXX
1104 help
1105 If you say yes here you get support for the
1106 Qualcomm PMIC8XXX RTC.
1107
1108 To compile this driver as a module, choose M here: the
1109 module will be called rtc-pm8xxx.
1110
Andrew Chewff859ba2011-03-22 16:34:55 -07001111config RTC_DRV_TEGRA
1112 tristate "NVIDIA Tegra Internal RTC driver"
Venu Byravarasu6b8029f2012-10-04 17:13:59 -07001113 depends on ARCH_TEGRA
Andrew Chewff859ba2011-03-22 16:34:55 -07001114 help
1115 If you say yes here you get support for the
1116 Tegra 200 series internal RTC module.
1117
1118 This drive can also be built as a module. If so, the module
1119 will be called rtc-tegra.
1120
Chris Metcalfdd196a22011-05-09 13:28:43 -04001121config RTC_DRV_TILE
1122 tristate "Tilera hypervisor RTC support"
1123 depends on TILE
1124 help
1125 Enable support for the Linux driver side of the Tilera
1126 hypervisor's real-time clock interface.
1127
Guan Xuetao2809e802011-05-26 16:43:27 +08001128config RTC_DRV_PUV3
1129 tristate "PKUnity v3 RTC support"
1130 depends on ARCH_PUV3
1131 help
1132 This enables support for the RTC in the PKUnity-v3 SoCs.
1133
1134 This drive can also be built as a module. If so, the module
1135 will be called rtc-puv3.
1136
zhao zhangb4f0b882012-03-23 15:02:32 -07001137config RTC_DRV_LOONGSON1
1138 tristate "loongson1 RTC support"
1139 depends on MACH_LOONGSON1
1140 help
1141 This is a driver for the loongson1 on-chip Counter0 (Time-Of-Year
1142 counter) to be used as a RTC.
1143
1144 This driver can also be built as a module. If so, the module
1145 will be called rtc-ls1x.
1146
Fabio Estevam79811592012-05-29 15:07:37 -07001147config RTC_DRV_MXC
Fabio Estevamb224b9a2012-05-29 15:07:37 -07001148 tristate "Freescale MXC Real Time Clock"
1149 depends on ARCH_MXC
Fabio Estevamb224b9a2012-05-29 15:07:37 -07001150 help
1151 If you say yes here you get support for the Freescale MXC
1152 RTC module.
1153
1154 This driver can also be built as a module, if so, the module
1155 will be called "rtc-mxc".
1156
Shawn Guo179a5022012-10-04 17:13:49 -07001157config RTC_DRV_SNVS
1158 tristate "Freescale SNVS RTC support"
1159 depends on HAS_IOMEM
1160 depends on OF
1161 help
1162 If you say yes here you get support for the Freescale SNVS
1163 Low Power (LP) RTC module.
1164
1165 This driver can also be built as a module, if so, the module
1166 will be called "rtc-snvs".
1167
Alexander Holler62e00cb2012-12-15 12:45:00 +00001168comment "HID Sensor RTC drivers"
1169
1170config RTC_DRV_HID_SENSOR_TIME
1171 tristate "HID Sensor Time"
1172 depends on USB_HID
1173 select IIO
1174 select HID_SENSOR_HUB
1175 select HID_SENSOR_IIO_COMMON
1176 help
1177 Say yes here to build support for the HID Sensors of type Time.
1178 This drivers makes such sensors available as RTCs.
1179
1180 If this driver is compiled as a module, it will be named
1181 rtc-hid-sensor-time.
1182
1183
Jan Engelhardtbb35fb22007-07-31 00:39:46 -07001184endif # RTC_CLASS