blob: fc0d02a79dd9cec942e624ef517a44dcb8b7f46f [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 depends on RTC_CLASS = y
23 default y
24 help
David Brownell7ca1d482007-05-08 00:33:42 -070025 If you say yes here, the system time (wall clock) will be set using
26 the value read from a specified RTC device. This is useful to avoid
27 unnecessary fsck runs at boot time, and to network better.
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080028
29config RTC_HCTOSYS_DEVICE
David Brownell7ca1d482007-05-08 00:33:42 -070030 string "RTC used to set the system time"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080031 depends on RTC_HCTOSYS = y
32 default "rtc0"
33 help
David Brownell7ca1d482007-05-08 00:33:42 -070034 The RTC device that will be used to (re)initialize the system
Alessandro Zummoae64d162009-01-06 14:42:17 -080035 clock, usually rtc0. Initialization is done when the system
36 starts up, and when it resumes from a low power state. This
David Brownell779d2082007-11-14 16:58:29 -080037 device should record time in UTC, since the kernel won't do
38 timezone correction.
David Brownell7ca1d482007-05-08 00:33:42 -070039
David Brownell55ff1ab2007-07-21 04:37:56 -070040 The driver for this RTC device must be loaded before late_initcall
41 functions run, so it must usually be statically linked.
42
David Brownell7ca1d482007-05-08 00:33:42 -070043 This clock should be battery-backed, so that it reads the correct
Alessandro Zummoae64d162009-01-06 14:42:17 -080044 time when the system boots from a power-off state. Otherwise, your
David Brownell7ca1d482007-05-08 00:33:42 -070045 system will need an external clock source (like an NTP server).
46
47 If the clock you specify here is not battery backed, it may still
48 be useful to reinitialize system time when resuming from system
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -080049 sleep states. Do not specify an RTC here unless it stays powered
David Brownell7ca1d482007-05-08 00:33:42 -070050 during all this system's supported sleep states.
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080051
David Brownell9e86ecb2006-09-30 23:28:14 -070052config RTC_DEBUG
53 bool "RTC debug support"
54 depends on RTC_CLASS = y
55 help
56 Say yes here to enable debugging support in the RTC framework
57 and individual RTC drivers.
58
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080059comment "RTC interfaces"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080060
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080061config RTC_INTF_SYSFS
David Brownelle40659c2007-05-16 22:11:15 -070062 boolean "/sys/class/rtc/rtcN (sysfs)"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -070063 depends on SYSFS
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080064 default RTC_CLASS
65 help
David Brownell9e86ecb2006-09-30 23:28:14 -070066 Say yes here if you want to use your RTCs using sysfs interfaces,
67 /sys/class/rtc/rtc0 through /sys/.../rtcN.
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080068
Alessandro Zummoae64d162009-01-06 14:42:17 -080069 If unsure, say Y.
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080070
Alessandro Zummo728a2942006-03-27 01:16:40 -080071config RTC_INTF_PROC
David Brownelle40659c2007-05-16 22:11:15 -070072 boolean "/proc/driver/rtc (procfs for rtc0)"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -070073 depends on PROC_FS
Alessandro Zummo728a2942006-03-27 01:16:40 -080074 default RTC_CLASS
75 help
David Brownell9e86ecb2006-09-30 23:28:14 -070076 Say yes here if you want to use your first RTC through the proc
Alessandro Zummoae64d162009-01-06 14:42:17 -080077 interface, /proc/driver/rtc. Other RTCs will not be available
David Brownell9e86ecb2006-09-30 23:28:14 -070078 through that API.
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)"
Alessandro Zummoe8242902006-03-27 01:16:41 -080084 default RTC_CLASS
85 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
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070097config RTC_INTF_ALARM
98 bool "Android alarm driver"
99 depends on RTC_CLASS
100 default y
101 help
102 Provides non-wakeup and rtc backed wakeup alarms based on rtc or
103 elapsed realtime, and a non-wakeup alarm on the monotonic clock.
104 Also provides an interface to set the wall time which must be used
105 for elapsed realtime to work.
106
107config RTC_INTF_ALARM_DEV
108 bool "Android alarm device"
109 depends on RTC_INTF_ALARM
110 default y
111 help
112 Exports the alarm interface to user-space.
113
John Stultz6e57b1d2011-02-11 17:45:40 -0800114config RTC_INTF_DEV_UIE_EMUL
115 bool "RTC UIE emulation on dev interface"
116 depends on RTC_INTF_DEV
117 help
118 Provides an emulation for RTC_UIE if the underlying rtc chip
119 driver does not expose RTC_UIE ioctls. Those requests generate
120 once-per-second update interrupts, used for synchronization.
121
122 The emulation code will read the time from the hardware
123 clock several times per second, please enable this option
124 only if you know that you really need it.
125
Arve Hjønnevågb54b33d2008-10-14 17:38:04 -0700126config RTC_INTF_ALARM
127 bool "Android alarm driver"
128 depends on RTC_CLASS
129 default y
130 help
131 Provides non-wakeup and rtc backed wakeup alarms based on rtc or
132 elapsed realtime, and a non-wakeup alarm on the monotonic clock.
Arve Hjønnevågfa565402009-05-04 14:09:15 -0700133 Also provides an interface to set the wall time which must be used
Arve Hjønnevågb54b33d2008-10-14 17:38:04 -0700134 for elapsed realtime to work.
135
Arve Hjønnevågfa565402009-05-04 14:09:15 -0700136config RTC_INTF_ALARM_DEV
137 bool "Android alarm device"
138 depends on RTC_INTF_ALARM
139 default y
140 help
141 Exports the alarm interface to user-space.
142
143
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700144config RTC_DRV_TEST
145 tristate "Test driver/device"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700146 help
147 If you say yes here you get support for the
148 RTC test driver. It's a software RTC which can be
149 used to test the RTC subsystem APIs. It gets
150 the time from the system clock.
151 You want this driver only if you are doing development
152 on the RTC subsystem. Please read the source code
153 for further details.
154
155 This driver can also be built as a module. If so, the module
156 will be called rtc-test.
157
158comment "I2C RTC drivers"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700159 depends on I2C
160
161if I2C
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700162
Haojian Zhuang008b3042011-05-06 17:21:20 +0800163config RTC_DRV_88PM860X
164 tristate "Marvell 88PM860x"
165 depends on RTC_CLASS && I2C && MFD_88PM860X
166 help
167 If you say yes here you get support for RTC function in Marvell
168 88PM860x chips.
169
170 This driver can also be built as a module. If so, the module
171 will be called rtc-88pm860x.
172
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700173config RTC_DRV_DS1307
Matthias Fuchsa2166852009-03-31 15:24:58 -0700174 tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00, EPSON RX-8025"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700175 help
176 If you say yes here you get support for various compatible RTC
Alessandro Zummoae64d162009-01-06 14:42:17 -0800177 chips (often with battery backup) connected with I2C. This driver
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700178 should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
Matthias Fuchsa2166852009-03-31 15:24:58 -0700179 EPSON RX-8025 and probably other chips. In some cases the RTC
180 must already have been initialized (by manufacturing or a
181 bootloader).
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700182
183 The first seven registers on these chips hold an RTC, and other
184 registers may add features such as NVRAM, a trickle charger for
Alessandro Zummoae64d162009-01-06 14:42:17 -0800185 the RTC/NVRAM backup power, and alarms. NVRAM is visible in
David Brownell682d73f2007-11-14 16:58:32 -0800186 sysfs, but other chip features may not be available.
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700187
188 This driver can also be built as a module. If so, the module
189 will be called rtc-ds1307.
190
Scott Woodbf4994d2007-10-16 01:28:19 -0700191config RTC_DRV_DS1374
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800192 tristate "Dallas/Maxim DS1374"
Scott Woodbf4994d2007-10-16 01:28:19 -0700193 depends on RTC_CLASS && I2C
194 help
195 If you say yes here you get support for Dallas Semiconductor
Alessandro Zummoae64d162009-01-06 14:42:17 -0800196 DS1374 real-time clock chips. If an interrupt is associated
Scott Woodbf4994d2007-10-16 01:28:19 -0700197 with the device, the alarm functionality is supported.
198
Alessandro Zummoae64d162009-01-06 14:42:17 -0800199 This driver can also be built as a module. If so, the module
Scott Woodbf4994d2007-10-16 01:28:19 -0700200 will be called rtc-ds1374.
201
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700202config RTC_DRV_DS1672
203 tristate "Dallas/Maxim DS1672"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700204 help
205 If you say yes here you get support for the
206 Dallas/Maxim DS1672 timekeeping chip.
207
208 This driver can also be built as a module. If so, the module
209 will be called rtc-ds1672.
210
Roy Zangc03675f2010-08-10 18:02:20 -0700211config RTC_DRV_DS3232
212 tristate "Dallas/Maxim DS3232"
213 depends on RTC_CLASS && I2C
214 help
215 If you say yes here you get support for Dallas Semiconductor
Lan Chunhe-B25806f46418c2010-10-27 15:33:12 -0700216 DS3232 real-time clock chips. If an interrupt is associated
217 with the device, the alarm functionality is supported.
Roy Zangc03675f2010-08-10 18:02:20 -0700218
219 This driver can also be built as a module. If so, the module
220 will be called rtc-ds3232.
221
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700222config RTC_DRV_MAX6900
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800223 tristate "Maxim MAX6900"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700224 help
225 If you say yes here you will get support for the
226 Maxim MAX6900 I2C RTC chip.
227
228 This driver can also be built as a module. If so, the module
229 will be called rtc-max6900.
230
Haojian Zhuanga39069f2010-01-25 06:30:29 -0500231config RTC_DRV_MAX8925
232 tristate "Maxim MAX8925"
233 depends on MFD_MAX8925
234 help
235 If you say yes here you will get support for the
236 RTC of Maxim MAX8925 PMIC.
237
238 This driver can also be built as a module. If so, the module
239 will be called rtc-max8925.
240
Joonyoung Shim9b16c0a2010-08-06 11:28:08 +0900241config RTC_DRV_MAX8998
242 tristate "Maxim MAX8998"
243 depends on MFD_MAX8998
244 help
245 If you say yes here you will get support for the
246 RTC of Maxim MAX8998 PMIC.
247
248 This driver can also be built as a module. If so, the module
249 will be called rtc-max8998.
250
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700251config RTC_DRV_RS5C372
Paul Mundt5d4529b2008-10-21 20:12:59 +0900252 tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700253 help
254 If you say yes here you get support for the
Paul Mundt5d4529b2008-10-21 20:12:59 +0900255 Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700256
257 This driver can also be built as a module. If so, the module
258 will be called rtc-rs5c372.
259
260config RTC_DRV_ISL1208
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800261 tristate "Intersil ISL1208"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700262 help
263 If you say yes here you get support for the
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800264 Intersil ISL1208 RTC chip.
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700265
266 This driver can also be built as a module. If so, the module
267 will be called rtc-isl1208.
268
Roman Fietzed6c74282010-08-10 18:02:14 -0700269config RTC_DRV_ISL12022
270 tristate "Intersil ISL12022"
271 help
272 If you say yes here you get support for the
273 Intersil ISL12022 RTC chip.
274
275 This driver can also be built as a module. If so, the module
276 will be called rtc-isl12022.
277
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700278config RTC_DRV_X1205
279 tristate "Xicor/Intersil X1205"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700280 help
281 If you say yes here you get support for the
282 Xicor/Intersil X1205 RTC chip.
283
284 This driver can also be built as a module. If so, the module
285 will be called rtc-x1205.
286
287config RTC_DRV_PCF8563
288 tristate "Philips PCF8563/Epson RTC8564"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700289 help
290 If you say yes here you get support for the
291 Philips PCF8563 RTC chip. The Epson RTC8564
292 should work as well.
293
294 This driver can also be built as a module. If so, the module
295 will be called rtc-pcf8563.
296
297config RTC_DRV_PCF8583
298 tristate "Philips PCF8583"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700299 help
300 If you say yes here you get support for the Philips PCF8583
301 RTC chip found on Acorn RiscPCs. This driver supports the
302 platform specific method of retrieving the current year from
303 the RTC's SRAM. It will work on other platforms with the same
304 chip, but the year will probably have to be tweaked.
305
306 This driver can also be built as a module. If so, the module
307 will be called rtc-pcf8583.
308
Atsushi Nemotocaaff562007-07-17 04:05:02 -0700309config RTC_DRV_M41T80
Daniel Glocknerf30281f2009-04-02 16:57:03 -0700310 tristate "ST M41T62/65/M41T80/81/82/83/84/85/87"
Atsushi Nemotocaaff562007-07-17 04:05:02 -0700311 help
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700312 If you say Y here you will get support for the ST M41T60
313 and M41T80 RTC chips series. Currently, the following chips are
Daniel Glocknerf30281f2009-04-02 16:57:03 -0700314 supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700315 M41ST85, and M41ST87.
Atsushi Nemotocaaff562007-07-17 04:05:02 -0700316
317 This driver can also be built as a module. If so, the module
318 will be called rtc-m41t80.
319
Atsushi Nemoto617780d2007-07-17 04:05:04 -0700320config RTC_DRV_M41T80_WDT
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700321 bool "ST M41T65/M41T80 series RTC watchdog timer"
Atsushi Nemoto617780d2007-07-17 04:05:04 -0700322 depends on RTC_DRV_M41T80
323 help
324 If you say Y here you will get support for the
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700325 watchdog timer in the ST M41T60 and M41T80 RTC chips series.
Atsushi Nemoto617780d2007-07-17 04:05:04 -0700326
Piotr Ziecik1ce7c832009-12-15 16:46:12 -0800327config RTC_DRV_BQ32K
328 tristate "TI BQ32000"
329 help
330 If you say Y here you will get support for the TI
331 BQ32000 I2C RTC chip.
332
333 This driver can also be built as a module. If so, the module
334 will be called rtc-bq32k.
335
David Brownellafd8d0f2009-02-04 15:12:01 -0800336config RTC_DRV_DM355EVM
337 tristate "TI DaVinci DM355 EVM RTC"
338 depends on MFD_DM355EVM_MSP
339 help
340 Supports the RTC firmware in the MSP430 on the DM355 EVM.
341
Tony Lindgren0c4a59f2007-07-17 04:06:09 -0700342config RTC_DRV_TWL92330
343 boolean "TI TWL92330/Menelaus"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700344 depends on MENELAUS
Tony Lindgren0c4a59f2007-07-17 04:06:09 -0700345 help
346 If you say yes here you get support for the RTC on the
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200347 TWL92330 "Menelaus" power management chip, used with OMAP2
Alessandro Zummoae64d162009-01-06 14:42:17 -0800348 platforms. The support is integrated with the rest of
Tony Lindgren0c4a59f2007-07-17 04:06:09 -0700349 the Menelaus driver; it's not separate module.
350
David Brownellf96411a2008-10-20 23:50:05 +0200351config RTC_DRV_TWL4030
Balaji T Ka6b49ff2009-12-13 22:16:31 +0100352 tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
David Brownellf96411a2008-10-20 23:50:05 +0200353 depends on RTC_CLASS && TWL4030_CORE
354 help
355 If you say yes here you get support for the RTC on the
Balaji T Ka6b49ff2009-12-13 22:16:31 +0100356 TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
David Brownellf96411a2008-10-20 23:50:05 +0200357
358 This driver can also be built as a module. If so, the module
Balaji T Ka6b49ff2009-12-13 22:16:31 +0100359 will be called rtc-twl.
David Brownellf96411a2008-10-20 23:50:05 +0200360
Byron Bradleyc46288b2008-03-04 14:28:25 -0800361config RTC_DRV_S35390A
362 tristate "Seiko Instruments S-35390A"
Randy Dunlapd4795402008-04-10 21:29:18 -0700363 select BITREVERSE
Byron Bradleyc46288b2008-03-04 14:28:25 -0800364 help
365 If you say yes here you will get support for the Seiko
366 Instruments S-35390A.
367
368 This driver can also be built as a module. If so the module
369 will be called rtc-s35390a.
370
Sergey Lapinc6d8f402008-06-12 15:21:55 -0700371config RTC_DRV_FM3130
372 tristate "Ramtron FM3130"
373 help
374 If you say Y here you will get support for the
375 Ramtron FM3130 RTC chips.
376 Ramtron FM3130 is a chip with two separate devices inside,
377 RTC clock and FRAM. This driver provides only RTC functionality.
378
379 This driver can also be built as a module. If so the module
380 will be called rtc-fm3130.
381
Martyn Welcha7fa9852008-11-12 13:27:06 -0800382config RTC_DRV_RX8581
383 tristate "Epson RX-8581"
384 help
385 If you say yes here you will get support for the Epson RX-8581.
386
387 This driver can also be built as a module. If so the module
388 will be called rtc-rx8581.
389
Wolfgang Grandegger3c2b9072009-06-17 16:26:11 -0700390config RTC_DRV_RX8025
391 tristate "Epson RX-8025SA/NB"
392 help
393 If you say yes here you get support for the Epson
394 RX-8025SA/NB RTC chips.
395
396 This driver can also be built as a module. If so, the module
397 will be called rtc-rx8025.
398
Mike Rapoportae3551f2011-05-26 16:25:04 -0700399config RTC_DRV_EM3027
400 tristate "EM Microelectronic EM3027"
401 help
402 If you say yes here you get support for the EM
403 Microelectronic EM3027 RTC chips.
404
405 This driver can also be built as a module. If so, the module
406 will be called rtc-em3027.
407
Heiko Schocher52365232011-05-26 16:25:05 -0700408config RTC_DRV_RV3029C2
409 tristate "Micro Crystal RTC"
410 help
411 If you say yes here you get support for the Micro Crystal
412 RV3029-C2 RTC chips.
413
414 This driver can also be built as a module. If so, the module
415 will be called rtc-rv3029c2.
416
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700417endif # I2C
418
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700419comment "SPI RTC drivers"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700420
421if SPI_MASTER
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700422
Voss, Nikolaus74d34d42011-05-26 16:25:07 -0700423config RTC_DRV_M41T93
424 tristate "ST M41T93"
425 help
426 If you say yes here you will get support for the
427 ST M41T93 SPI RTC chip.
428
429 This driver can also be built as a module. If so, the module
430 will be called rtc-m41t93.
431
Kim B. Heino8fc2c762008-07-23 21:30:34 -0700432config RTC_DRV_M41T94
433 tristate "ST M41T94"
434 help
435 If you say yes here you will get support for the
436 ST M41T94 SPI RTC chip.
437
438 This driver can also be built as a module. If so, the module
439 will be called rtc-m41t94.
440
David Brownell53e84b62008-07-23 21:30:36 -0700441config RTC_DRV_DS1305
442 tristate "Dallas/Maxim DS1305/DS1306"
443 help
444 Select this driver to get support for the Dallas/Maxim DS1305
Alessandro Zummoae64d162009-01-06 14:42:17 -0800445 and DS1306 real time clock chips. These support a trickle
David Brownell53e84b62008-07-23 21:30:36 -0700446 charger, alarms, and NVRAM in addition to the clock.
447
448 This driver can also be built as a module. If so, the module
449 will be called rtc-ds1305.
450
Mark Jackson06de1802008-11-12 13:27:07 -0800451config RTC_DRV_DS1390
452 tristate "Dallas/Maxim DS1390/93/94"
453 help
Alessandro Zummo7b9b2ef2009-01-06 14:42:16 -0800454 If you say yes here you get support for the
455 Dallas/Maxim DS1390/93/94 chips.
Mark Jackson06de1802008-11-12 13:27:07 -0800456
457 This driver only supports the RTC feature, and not other chip
458 features such as alarms and trickle charging.
459
460 This driver can also be built as a module. If so, the module
461 will be called rtc-ds1390.
462
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800463config RTC_DRV_MAX6902
464 tristate "Maxim MAX6902"
465 help
466 If you say yes here you will get support for the
467 Maxim MAX6902 SPI RTC chip.
468
469 This driver can also be built as a module. If so, the module
470 will be called rtc-max6902.
471
Magnus Damm2805b962008-02-06 01:38:53 -0800472config RTC_DRV_R9701
473 tristate "Epson RTC-9701JE"
474 help
475 If you say yes here you will get support for the
476 Epson RTC-9701JE SPI RTC chip.
477
478 This driver can also be built as a module. If so, the module
479 will be called rtc-r9701.
480
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700481config RTC_DRV_RS5C348
482 tristate "Ricoh RS5C348A/B"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700483 help
484 If you say yes here you get support for the
485 Ricoh RS5C348A and RS5C348B RTC chips.
486
487 This driver can also be built as a module. If so, the module
488 will be called rtc-rs5c348.
489
Dennis Aberilla2f9b75e2008-10-15 22:02:57 -0700490config RTC_DRV_DS3234
491 tristate "Maxim/Dallas DS3234"
492 help
493 If you say yes here you get support for the
494 Maxim/Dallas DS3234 SPI RTC chip.
495
496 This driver can also be built as a module. If so, the module
497 will be called rtc-ds3234.
498
Chris Verges7f3923a2009-09-22 16:46:20 -0700499config RTC_DRV_PCF2123
500 tristate "NXP PCF2123"
501 help
502 If you say yes here you get support for the NXP PCF2123
503 RTC chip.
504
505 This driver can also be built as a module. If so, the module
506 will be called rtc-pcf2123.
507
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700508endif # SPI_MASTER
509
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700510comment "Platform RTC drivers"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -0800511
David Brownell7be2c7c2007-02-10 01:46:02 -0800512# this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h>
513# requires <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
514# global rtc_lock ... it's not yet just another platform_device.
515
516config RTC_DRV_CMOS
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700517 tristate "PC-style 'CMOS'"
Andrew Morton5ec87702008-09-22 21:40:04 -0700518 depends on X86 || ALPHA || ARM || M32R || ATARI || PPC || MIPS || SPARC64
David Brownellc7500902008-04-28 02:11:52 -0700519 default y if X86
David Brownell7be2c7c2007-02-10 01:46:02 -0800520 help
521 Say "yes" here to get direct support for the real time clock
522 found in every PC or ACPI-based system, and some other boards.
523 Specifically the original MC146818, compatibles like those in
524 PC south bridges, the DS12887 or M48T86, some multifunction
525 or LPC bus chips, and so on.
526
527 Your system will need to define the platform device used by
Alessandro Zummoae64d162009-01-06 14:42:17 -0800528 this driver, otherwise it won't be accessible. This means
David Brownell7be2c7c2007-02-10 01:46:02 -0800529 you can safely enable this driver if you don't know whether
530 or not your board has this kind of hardware.
531
532 This driver can also be built as a module. If so, the module
533 will be called rtc-cmos.
534
Feng Tang0146f262010-11-10 17:29:17 +0000535config RTC_DRV_VRTC
Alan Cox933b9462011-12-17 17:43:40 +0000536 tristate "Virtual RTC for Intel MID platforms"
537 depends on X86_INTEL_MID
538 default y if X86_INTEL_MID
Feng Tang0146f262010-11-10 17:29:17 +0000539
540 help
541 Say "yes" here to get direct support for the real time clock
542 found on Moorestown platforms. The VRTC is a emulated RTC that
543 derives its clock source from a real RTC in the PMIC. The MC146818
544 style programming interface is mostly conserved, but any
545 updates are done via IPC calls to the system controller FW.
546
Thomas Bogendoerfer537739d2007-07-17 04:05:06 -0700547config RTC_DRV_DS1216
548 tristate "Dallas DS1216"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700549 depends on SNI_RM
Thomas Bogendoerfer537739d2007-07-17 04:05:06 -0700550 help
551 If you say yes here you get support for the Dallas DS1216 RTC chips.
552
Thomas Bogendoerfer5f119f22008-10-14 17:16:59 +0200553config RTC_DRV_DS1286
554 tristate "Dallas DS1286"
555 help
556 If you say yes here you get support for the Dallas DS1286 RTC chips.
557
Paul Mundt739d3402008-02-06 01:38:44 -0800558config RTC_DRV_DS1302
559 tristate "Dallas DS1302"
560 depends on SH_SECUREEDGE5410
561 help
562 If you say yes here you get support for the Dallas DS1302 RTC chips.
563
Andrew Sharp8f267952008-02-06 01:38:46 -0800564config RTC_DRV_DS1511
565 tristate "Dallas DS1511"
566 depends on RTC_CLASS
567 help
568 If you say yes here you get support for the
569 Dallas DS1511 timekeeping/watchdog chip.
570
571 This driver can also be built as a module. If so, the module
572 will be called rtc-ds1511.
573
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700574config RTC_DRV_DS1553
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800575 tristate "Maxim/Dallas DS1553"
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700576 help
577 If you say yes here you get support for the
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800578 Maxim/Dallas DS1553 timekeeping chip.
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700579
580 This driver can also be built as a module. If so, the module
581 will be called rtc-ds1553.
582
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800583config RTC_DRV_DS1742
584 tristate "Maxim/Dallas DS1742/1743"
585 help
586 If you say yes here you get support for the
587 Maxim/Dallas DS1742/1743 timekeeping chip.
588
589 This driver can also be built as a module. If so, the module
590 will be called rtc-ds1742.
591
Ashish Jangamfef931f2012-03-23 15:02:36 -0700592config RTC_DRV_DA9052
593 tristate "Dialog DA9052/DA9053 RTC"
594 depends on PMIC_DA9052
595 help
596 Say y here to support the RTC driver for Dialog Semiconductor
597 DA9052-BC and DA9053-AA/Bx PMICs.
598
dann frazier5e3fd9e2009-03-31 15:24:48 -0700599config RTC_DRV_EFI
600 tristate "EFI RTC"
601 depends on IA64
602 help
603 If you say yes here you will get support for the EFI
604 Real Time Clock.
605
606 This driver can also be built as a module. If so, the module
607 will be called rtc-efi.
608
Thomas Hommel02964112007-07-21 04:37:58 -0700609config RTC_DRV_STK17TA8
610 tristate "Simtek STK17TA8"
611 depends on RTC_CLASS
612 help
613 If you say yes here you get support for the
614 Simtek STK17TA8 timekeeping chip.
615
616 This driver can also be built as a module. If so, the module
617 will be called rtc-stk17ta8.
618
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700619config RTC_DRV_M48T86
620 tristate "ST M48T86/Dallas DS12887"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700621 help
622 If you say Y here you will get support for the
623 ST M48T86 and Dallas DS12887 RTC chips.
624
625 This driver can also be built as a module. If so, the module
626 will be called rtc-m48t86.
627
Thomas Bogendoerferd1dbd822008-10-14 17:17:32 +0200628config RTC_DRV_M48T35
629 tristate "ST M48T35"
630 help
631 If you say Y here you will get support for the
632 ST M48T35 RTC chip.
633
634 This driver can also be built as a module, if so, the module
635 will be called "rtc-m48t35".
636
Mark Zhan2e774c72007-07-17 04:05:05 -0700637config RTC_DRV_M48T59
Krzysztof Helt94fe7422008-09-03 15:12:34 -0700638 tristate "ST M48T59/M48T08/M48T02"
Mark Zhan2e774c72007-07-17 04:05:05 -0700639 help
640 If you say Y here you will get support for the
Krzysztof Helt94fe7422008-09-03 15:12:34 -0700641 ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
642
643 These chips are usually found in Sun SPARC and UltraSPARC
644 workstations.
Mark Zhan2e774c72007-07-17 04:05:05 -0700645
646 This driver can also be built as a module, if so, the module
647 will be called "rtc-m48t59".
648
Geert Uytterhoeven4f9b9bb2009-03-18 23:29:27 +0100649config RTC_DRV_MSM6242
650 tristate "Oki MSM6242"
651 help
652 If you say yes here you get support for the Oki MSM6242
653 timekeeping chip. It is used in some Amiga models (e.g. A2000).
654
655 This driver can also be built as a module. If so, the module
656 will be called rtc-msm6242.
657
Baruch Siacheba54542010-08-10 18:02:13 -0700658config RTC_DRV_IMXDI
659 tristate "Freescale IMX DryIce Real Time Clock"
660 depends on ARCH_MX25
661 depends on RTC_CLASS
662 help
663 Support for Freescale IMX DryIce RTC
664
665 This driver can also be built as a module, if so, the module
666 will be called "rtc-imxdi".
667
Daniel Mackd00ed3c2009-09-22 16:46:23 -0700668config RTC_MXC
669 tristate "Freescale MXC Real Time Clock"
670 depends on ARCH_MXC
671 depends on RTC_CLASS
672 help
673 If you say yes here you get support for the Freescale MXC
674 RTC module.
675
676 This driver can also be built as a module, if so, the module
677 will be called "rtc-mxc".
678
David S. Millercca4c232008-08-29 01:29:53 -0700679config RTC_DRV_BQ4802
680 tristate "TI BQ4802"
681 help
682 If you say Y here you will get support for the TI
683 BQ4802 RTC chip.
684
685 This driver can also be built as a module. If so, the module
686 will be called rtc-bq4802.
687
Geert Uytterhoeven4f672ce2009-03-18 23:29:27 +0100688config RTC_DRV_RP5C01
689 tristate "Ricoh RP5C01"
690 help
691 If you say yes here you get support for the Ricoh RP5C01
692 timekeeping chip. It is used in some Amiga models (e.g. A3000
693 and A4000).
694
695 This driver can also be built as a module. If so, the module
696 will be called rtc-rp5c01.
697
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700698config RTC_DRV_V3020
699 tristate "EM Microelectronic V3020"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700700 help
701 If you say yes here you will get support for the
702 EM Microelectronic v3020 RTC chip.
703
704 This driver can also be built as a module. If so, the module
705 will be called rtc-v3020.
706
Mark Brown35c86bf2009-08-27 19:59:05 +0200707config RTC_DRV_WM831X
708 tristate "Wolfson Microelectronics WM831x RTC"
709 depends on MFD_WM831X
710 help
711 If you say yes here you will get support for the RTC subsystem
712 of the Wolfson Microelectronics WM831X series PMICs.
713
714 This driver can also be built as a module. If so, the module
715 will be called "rtc-wm831x".
716
Mark Brown077eaf52008-11-12 13:27:04 -0800717config RTC_DRV_WM8350
718 tristate "Wolfson Microelectronics WM8350 RTC"
719 depends on MFD_WM8350
720 help
721 If you say yes here you will get support for the RTC subsystem
722 of the Wolfson Microelectronics WM8350.
723
724 This driver can also be built as a module. If so, the module
725 will be called "rtc-wm8350".
726
Rajeev Kumar0942a712011-05-26 16:25:09 -0700727config RTC_DRV_SPEAR
728 tristate "SPEAR ST RTC"
729 depends on PLAT_SPEAR
730 default y
731 help
732 If you say Y here you will get support for the RTC found on
733 spear
734
Balaji Raoeae854b2009-01-09 01:50:51 +0100735config RTC_DRV_PCF50633
736 depends on MFD_PCF50633
737 tristate "NXP PCF50633 RTC"
738 help
739 If you say yes here you get support for the RTC subsystem of the
740 NXP PCF50633 used in embedded systems.
741
Linus Walleijbd207cf2009-08-30 23:49:04 +0200742config RTC_DRV_AB3100
743 tristate "ST-Ericsson AB3100 RTC"
744 depends on AB3100_CORE
745 default y if AB3100_CORE
746 help
747 Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
748 support. This chip contains a battery- and capacitor-backed RTC.
749
Virupax Sadashivpetimath0af62f42010-05-26 14:42:14 -0700750config RTC_DRV_AB8500
751 tristate "ST-Ericsson AB8500 RTC"
752 depends on AB8500_CORE
753 help
754 Select this to enable the ST-Ericsson AB8500 power management IC RTC
755 support. This chip contains a battery- and capacitor-backed RTC.
756
Wan ZongShunafd49a7e2009-12-15 16:46:17 -0800757config RTC_DRV_NUC900
758 tristate "NUC910/NUC920 RTC driver"
759 depends on RTC_CLASS && ARCH_W90X900
760 help
761 If you say yes here you get support for the RTC subsystem of the
762 NUC910/NUC920 used in embedded systems.
Linus Walleijbd207cf2009-08-30 23:49:04 +0200763
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700764comment "on-CPU RTC drivers"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700765
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700766config RTC_DRV_MSM
767 tristate "RTC on Qualcomm Chipsets"
768 depends on ARCH_MSM
769 default y
770 help
771 RTC driver for Qualcomm chipsets
772
773
774config RTC_SECURE_TIME_SUPPORT
775 bool "Support for secure time on Qualcomm Chipsets"
776 depends on RTC_DRV_MSM = y
777 default y
778 help
779 Say yes here to have additional handle for reading secure time
780 maintained by ARM9.
781
782config RTC_ASYNC_MODEM_SUPPORT
783 bool "Support for time update on async modem boot"
784 depends on RTC_DRV_MSM && (ARCH_MSM8X60 || ARCH_QSD8X50)
785 default n
786 help
787 Say yes here to have the system time updated if there is
788 an asynchronous MODEM boot.
789
790config RTC_DRV_MSM7X00A
791 tristate "MSM7X00A"
792 depends on ARCH_MSM
793 default n
794 help
795 RTC driver for Qualcomm MSM7K chipsets
796
Miguel Aguilar8ecf6c52009-11-05 08:51:34 -0600797config RTC_DRV_DAVINCI
798 tristate "TI DaVinci RTC"
799 depends on ARCH_DAVINCI_DM365
800 help
801 If you say yes here you get support for the RTC on the
802 DaVinci platforms (DM365).
803
804 This driver can also be built as a module. If so, the module
805 will be called rtc-davinci.
806
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700807config RTC_DRV_MSM7X00A
808 tristate "MSM7X00A"
809 depends on ARCH_MSM
810 default y
811 help
812 RTC driver for Qualcomm MSM7K chipsets
813
David Brownelldb68b182006-12-06 20:38:36 -0800814config RTC_DRV_OMAP
815 tristate "TI OMAP1"
Mark A. Greer8cfde8c2009-12-15 16:46:11 -0800816 depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730 || ARCH_DAVINCI_DA8XX
David Brownelldb68b182006-12-06 20:38:36 -0800817 help
Mark A. Greer8cfde8c2009-12-15 16:46:11 -0800818 Say "yes" here to support the real time clock on TI OMAP1 and
819 DA8xx/OMAP-L13x chips. This driver can also be built as a
820 module called rtc-omap.
David Brownelldb68b182006-12-06 20:38:36 -0800821
Atul Dahiya16f4efe2010-07-20 16:38:49 +0530822config HAVE_S3C_RTC
823 bool
824 help
825 This will include RTC support for Samsung SoCs. If
826 you want to include RTC support for any machine, kindly
827 select this in the respective mach-XXXX/Kconfig file.
828
Ben Dooks1add6782006-07-01 04:36:26 -0700829config RTC_DRV_S3C
830 tristate "Samsung S3C series SoC RTC"
Kukjin Kimb130d5c2012-02-03 14:29:23 +0900831 depends on ARCH_S3C64XX || HAVE_S3C_RTC
Ben Dooks1add6782006-07-01 04:36:26 -0700832 help
833 RTC (Realtime Clock) driver for the clock inbuilt into the
834 Samsung S3C24XX series of SoCs. This can provide periodic
835 interrupt rates from 1Hz to 64Hz for user programs, and
836 wakeup from Alarm.
837
838 The driver currently supports the common features on all the
839 S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
840 and S3C2442.
841
842 This driver can also be build as a module. If so, the module
843 will be called rtc-s3c.
844
Alessandro Zummofd507e22006-03-27 01:16:45 -0800845config RTC_DRV_EP93XX
846 tristate "Cirrus Logic EP93XX"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700847 depends on ARCH_EP93XX
Alessandro Zummofd507e22006-03-27 01:16:45 -0800848 help
849 If you say yes here you get support for the
850 RTC embedded in the Cirrus Logic EP93XX processors.
851
852 This driver can also be built as a module. If so, the module
853 will be called rtc-ep93xx.
854
Richard Purdiee842f1c2006-03-27 01:16:46 -0800855config RTC_DRV_SA1100
Haojian Zhuang3888c092012-02-21 11:51:13 +0800856 tristate "SA11x0/PXA2xx/PXA910"
857 depends on ARCH_SA1100 || ARCH_PXA || ARCH_MMP
Richard Purdiee842f1c2006-03-27 01:16:46 -0800858 help
859 If you say Y here you will get access to the real time clock
860 built into your SA11x0 or PXA2xx CPU.
861
862 To compile this driver as a module, choose M here: the
863 module will be called rtc-sa1100.
Alessandro Zummofd507e22006-03-27 01:16:45 -0800864
Paul Mundt317a6102006-09-27 17:13:19 +0900865config RTC_DRV_SH
866 tristate "SuperH On-Chip RTC"
Paul Mundt063adc72009-04-16 14:12:22 +0900867 depends on RTC_CLASS && SUPERH && HAVE_CLK
Paul Mundt317a6102006-09-27 17:13:19 +0900868 help
869 Say Y here to enable support for the on-chip RTC found in
870 most SuperH processors.
871
872 To compile this driver as a module, choose M here: the
873 module will be called rtc-sh.
874
Yoichi Yuasa8417eb72006-04-10 22:54:47 -0700875config RTC_DRV_VR41XX
Alessandro Zummo3e16f6a2006-04-10 22:54:48 -0700876 tristate "NEC VR41XX"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700877 depends on CPU_VR41XX
Alessandro Zummo3e16f6a2006-04-10 22:54:48 -0700878 help
879 If you say Y here you will get access to the real time clock
880 built into your NEC VR41XX CPU.
881
882 To compile this driver as a module, choose M here: the
883 module will be called rtc-vr41xx.
Yoichi Yuasa8417eb72006-04-10 22:54:47 -0700884
Russell Kinga1909012008-04-20 12:08:36 +0100885config RTC_DRV_PL030
886 tristate "ARM AMBA PL030 RTC"
887 depends on ARM_AMBA
888 help
889 If you say Y here you will get access to ARM AMBA
890 PrimeCell PL030 RTC found on certain ARM SOCs.
891
892 To compile this driver as a module, choose M here: the
893 module will be called rtc-pl030.
894
Deepak Saxena8ae6e162006-06-25 05:47:38 -0700895config RTC_DRV_PL031
896 tristate "ARM AMBA PL031 RTC"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700897 depends on ARM_AMBA
Deepak Saxena8ae6e162006-06-25 05:47:38 -0700898 help
899 If you say Y here you will get access to ARM AMBA
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700900 PrimeCell PL031 RTC found on certain ARM SOCs.
Deepak Saxena8ae6e162006-06-25 05:47:38 -0700901
902 To compile this driver as a module, choose M here: the
903 module will be called rtc-pl031.
904
Hans-Christian Egtvedtfa04e782007-07-17 04:05:00 -0700905config RTC_DRV_AT32AP700X
906 tristate "AT32AP700X series RTC"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700907 depends on PLATFORM_AT32AP
Hans-Christian Egtvedtfa04e782007-07-17 04:05:00 -0700908 help
909 Driver for the internal RTC (Realtime Clock) on Atmel AVR32
910 AT32AP700x family processors.
911
Andrew Victor7fc39f62006-12-10 02:19:03 -0800912config RTC_DRV_AT91RM9200
Nicolas Ferre24cecc12010-10-22 19:12:52 +0200913 tristate "AT91RM9200 or some AT91SAM9 RTC"
914 depends on ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9G45
Andrew Victor788b1fc2006-06-25 05:48:27 -0700915 help
David Brownell4cdf8542008-02-06 01:38:59 -0800916 Driver for the internal RTC (Realtime Clock) module found on
Nicolas Ferre24cecc12010-10-22 19:12:52 +0200917 Atmel AT91RM9200's and some AT91SAM9 chips. On AT91SAM9 chips
David Brownell4cdf8542008-02-06 01:38:59 -0800918 this is powered by the backup power supply.
919
920config RTC_DRV_AT91SAM9
Nicolas Ferre24cecc12010-10-22 19:12:52 +0200921 tristate "AT91SAM9x/AT91CAP9 RTT as RTC"
David Brownell4cdf8542008-02-06 01:38:59 -0800922 depends on ARCH_AT91 && !(ARCH_AT91RM9200 || ARCH_AT91X40)
923 help
Stelian Pop6b71dbf2008-04-05 21:16:15 +0100924 RTC driver for the Atmel AT91SAM9x and AT91CAP9 internal RTT
925 (Real Time Timer). These timers are powered by the backup power
926 supply (such as a small coin cell battery), but do not need to
927 be used as RTCs.
David Brownell4cdf8542008-02-06 01:38:59 -0800928
Nicolas Ferre24cecc12010-10-22 19:12:52 +0200929 (On AT91SAM9rl and AT91SAM9G45 chips you probably want to use the
930 dedicated RTC module and leave the RTT available for other uses.)
David Brownell4cdf8542008-02-06 01:38:59 -0800931
932config RTC_DRV_AT91SAM9_RTT
933 int
934 range 0 1
935 default 0
936 prompt "RTT module Number" if ARCH_AT91SAM9263
937 depends on RTC_DRV_AT91SAM9
938 help
Alessandro Zummoae64d162009-01-06 14:42:17 -0800939 More than one RTT module is available. You can choose which
940 one will be used as an RTC. The default of zero is normally
David Brownell4cdf8542008-02-06 01:38:59 -0800941 OK to use, though some systems use that for non-RTC purposes.
942
943config RTC_DRV_AT91SAM9_GPBR
944 int
945 range 0 3 if !ARCH_AT91SAM9263
946 range 0 15 if ARCH_AT91SAM9263
947 default 0
948 prompt "Backup Register Number"
949 depends on RTC_DRV_AT91SAM9
950 help
951 The RTC driver needs to use one of the General Purpose Backup
Alessandro Zummoae64d162009-01-06 14:42:17 -0800952 Registers (GPBRs) as well as the RTT. You can choose which one
953 will be used. The default of zero is normally OK to use, but
David Brownell4cdf8542008-02-06 01:38:59 -0800954 on some systems other software needs to use that register.
Andrew Victor788b1fc2006-06-25 05:48:27 -0700955
Manuel Lauss45fd8a02009-01-06 14:42:18 -0800956config RTC_DRV_AU1XXX
957 tristate "Au1xxx Counter0 RTC support"
Manuel Lauss42a4f172010-07-15 21:45:04 +0200958 depends on MIPS_ALCHEMY
Manuel Lauss45fd8a02009-01-06 14:42:18 -0800959 help
960 This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
961 counter) to be used as a RTC.
962
963 This driver can also be built as a module. If so, the module
964 will be called rtc-au1xxx.
965
Wu, Bryan8cc75c92007-05-06 14:50:32 -0700966config RTC_DRV_BFIN
967 tristate "Blackfin On-Chip RTC"
Graf Yang7f604592008-08-20 14:09:02 -0700968 depends on BLACKFIN && !BF561
Wu, Bryan8cc75c92007-05-06 14:50:32 -0700969 help
970 If you say yes here you will get support for the
971 Blackfin On-Chip Real Time Clock.
972
973 This driver can also be built as a module. If so, the module
974 will be called rtc-bfin.
975
Nobuhiro Iwamatsue9f2bd82007-05-08 00:26:37 -0700976config RTC_DRV_RS5C313
977 tristate "Ricoh RS5C313"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700978 depends on SH_LANDISK
Nobuhiro Iwamatsue9f2bd82007-05-08 00:26:37 -0700979 help
980 If you say yes here you get support for the Ricoh RS5C313 RTC chips.
981
Geert Uytterhoeven3afe6d02009-02-19 16:46:49 +0100982config RTC_DRV_GENERIC
983 tristate "Generic RTC support"
984 # Please consider writing a new RTC driver instead of using the generic
985 # RTC abstraction
Paul Mundt47c8a082009-04-27 17:34:39 +0900986 depends on PARISC || M68K || PPC || SUPERH32
Kyle McMartin9eb16862008-09-10 14:24:07 +0000987 help
Geert Uytterhoeven3afe6d02009-02-19 16:46:49 +0100988 Say Y or M here to enable RTC support on systems using the generic
989 RTC abstraction. If you do not know what you are doing, you should
Kyle McMartin9eb16862008-09-10 14:24:07 +0000990 just say Y.
991
Robert Jarzmikdc944362009-01-06 14:42:14 -0800992config RTC_DRV_PXA
993 tristate "PXA27x/PXA3xx"
994 depends on ARCH_PXA
995 help
996 If you say Y here you will get access to the real time clock
997 built into your PXA27x or PXA3xx CPU.
998
999 This RTC driver uses PXA RTC registers available since pxa27x
1000 series (RDxR, RYxR) instead of legacy RCNR, RTAR.
1001
Alexey Charkovf77fbdf2011-05-26 16:25:03 -07001002config RTC_DRV_VT8500
1003 tristate "VIA/WonderMedia 85xx SoC RTC"
1004 depends on ARCH_VT8500
1005 help
1006 If you say Y here you will get access to the real time clock
1007 built into your VIA VT8500 SoC or its relatives.
1008
Robert Jarzmikdc944362009-01-06 14:42:14 -08001009
David S. Miller7a138ed2008-08-29 01:32:43 -07001010config RTC_DRV_SUN4V
1011 bool "SUN4V Hypervisor RTC"
1012 depends on SPARC64
1013 help
1014 If you say Y here you will get support for the Hypervisor
1015 based RTC on SUN4V systems.
1016
David S. Millerde2cf332008-08-28 23:02:36 -07001017config RTC_DRV_STARFIRE
1018 bool "Starfire RTC"
1019 depends on SPARC64
1020 help
1021 If you say Y here you will get support for the RTC found on
1022 Starfire systems.
1023
Atsushi Nemoto0e149232009-01-06 14:42:22 -08001024config RTC_DRV_TX4939
1025 tristate "TX4939 SoC"
1026 depends on SOC_TX4939
1027 help
1028 Driver for the internal RTC (Realtime Clock) module found on
1029 Toshiba TX4939 SoC.
1030
Saeed Bisharadefb4512009-01-06 14:42:24 -08001031config RTC_DRV_MV
1032 tristate "Marvell SoC RTC"
Saeed Bisharada432432009-11-24 19:33:53 +02001033 depends on ARCH_KIRKWOOD || ARCH_DOVE
Saeed Bisharadefb4512009-01-06 14:42:24 -08001034 help
1035 If you say yes here you will get support for the in-chip RTC
1036 that can be found in some of Marvell's SoC devices, such as
1037 the Kirkwood 88F6281 and 88F6192.
1038
1039 This driver can also be built as a module. If so, the module
1040 will be called rtc-mv.
1041
Geert Uytterhoeven0b5f0372009-02-24 14:04:20 +01001042config RTC_DRV_PS3
1043 tristate "PS3 RTC"
1044 depends on PPC_PS3
1045 help
1046 If you say yes here you will get support for the RTC on PS3.
1047
1048 This driver can also be built as a module. If so, the module
1049 will be called rtc-ps3.
1050
Linus Walleijaa958f52009-09-22 16:46:24 -07001051config RTC_DRV_COH901331
1052 tristate "ST-Ericsson COH 901 331 RTC"
1053 depends on ARCH_U300
1054 help
1055 If you say Y here you will get access to ST-Ericsson
1056 COH 901 331 RTC clock found in some ST-Ericsson Mobile
1057 Platforms.
1058
1059 This driver can also be built as a module. If so, the module
1060 will be called "rtc-coh901331".
1061
1062
dmitry pervushindf17f632009-09-22 16:46:26 -07001063config RTC_DRV_STMP
Wolfram Sang46b21212011-05-25 12:56:50 +02001064 tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
1065 depends on ARCH_MXS
dmitry pervushindf17f632009-09-22 16:46:26 -07001066 help
1067 If you say yes here you will get support for the onboard
Wolfram Sang46b21212011-05-25 12:56:50 +02001068 STMP3xxx/i.MX23/i.MX28 RTC.
dmitry pervushindf17f632009-09-22 16:46:26 -07001069
1070 This driver can also be built as a module. If so, the module
1071 will be called rtc-stmp3xxx.
1072
Daniel Ribeirod3c7a3f2009-09-22 16:46:27 -07001073config RTC_DRV_PCAP
1074 tristate "PCAP RTC"
1075 depends on EZX_PCAP
1076 help
1077 If you say Y here you will get support for the RTC found on
1078 the PCAP2 ASIC used on some Motorola phones.
1079
Uwe Kleine-König1c978722010-10-28 12:30:53 +02001080config RTC_DRV_MC13XXX
1081 depends on MFD_MC13XXX
1082 tristate "Freescale MC13xxx RTC"
Uwe Kleine-König43299f22009-12-15 16:46:09 -08001083 help
Uwe Kleine-König1c978722010-10-28 12:30:53 +02001084 This enables support for the RTCs found on Freescale's PMICs
1085 MC13783 and MC13892.
Uwe Kleine-König43299f22009-12-15 16:46:09 -08001086
Anatolij Gustschin50aae722010-02-16 10:47:35 -07001087config RTC_DRV_MPC5121
1088 tristate "Freescale MPC5121 built-in RTC"
Dmitry Eremin-Solenikov955dbea2011-07-25 17:13:30 -07001089 depends on PPC_MPC512x || PPC_MPC52xx
Anatolij Gustschin50aae722010-02-16 10:47:35 -07001090 help
1091 If you say yes here you will get support for the
Dmitry Eremin-Solenikov955dbea2011-07-25 17:13:30 -07001092 built-in RTC on MPC5121 or on MPC5200.
Anatolij Gustschin50aae722010-02-16 10:47:35 -07001093
1094 This driver can also be built as a module. If so, the module
1095 will be called rtc-mpc5121.
1096
Lars-Peter Clausen3bf0eea2010-06-19 18:29:50 +00001097config RTC_DRV_JZ4740
1098 tristate "Ingenic JZ4740 SoC"
1099 depends on RTC_CLASS
1100 depends on MACH_JZ4740
1101 help
1102 If you say yes here you get support for the Ingenic JZ4740 SoC RTC
1103 controller.
1104
1105 This driver can also be buillt as a module. If so, the module
1106 will be called rtc-jz4740.
1107
Kevin Wells9aa449b2010-10-27 15:33:01 -07001108config RTC_DRV_LPC32XX
1109 depends on ARCH_LPC32XX
1110 tristate "NXP LPC32XX RTC"
1111 help
1112 This enables support for the NXP RTC in the LPC32XX
1113
1114 This driver can also be buillt as a module. If so, the module
1115 will be called rtc-lpc32xx.
1116
Anirudh Ghayal9a9a54a2011-07-25 17:13:33 -07001117config RTC_DRV_PM8XXX
1118 tristate "Qualcomm PMIC8XXX RTC"
1119 depends on MFD_PM8XXX
1120 help
1121 If you say yes here you get support for the
1122 Qualcomm PMIC8XXX RTC.
1123
1124 To compile this driver as a module, choose M here: the
1125 module will be called rtc-pm8xxx.
1126
Andrew Chewff859ba2011-03-22 16:34:55 -07001127config RTC_DRV_TEGRA
1128 tristate "NVIDIA Tegra Internal RTC driver"
1129 depends on RTC_CLASS && ARCH_TEGRA
1130 help
1131 If you say yes here you get support for the
1132 Tegra 200 series internal RTC module.
1133
1134 This drive can also be built as a module. If so, the module
1135 will be called rtc-tegra.
1136
Chris Metcalfdd196a22011-05-09 13:28:43 -04001137config RTC_DRV_TILE
1138 tristate "Tilera hypervisor RTC support"
1139 depends on TILE
1140 help
1141 Enable support for the Linux driver side of the Tilera
1142 hypervisor's real-time clock interface.
1143
Guan Xuetao2809e802011-05-26 16:43:27 +08001144config RTC_DRV_PUV3
1145 tristate "PKUnity v3 RTC support"
1146 depends on ARCH_PUV3
1147 help
1148 This enables support for the RTC in the PKUnity-v3 SoCs.
1149
1150 This drive can also be built as a module. If so, the module
1151 will be called rtc-puv3.
1152
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001153config RTC_DRV_PM8XXX
1154 tristate "Qualcomm PMIC8XXX RTC"
1155 depends on MFD_PM8XXX
1156 help
1157 Say Y here if you want to support the Qualcomm PMIC8XXX RTC.
1158
1159 To compile this driver as a module, choose M here: the
1160 module will be called rtc-pm8xxx.
1161
zhao zhangb4f0b882012-03-23 15:02:32 -07001162config RTC_DRV_LOONGSON1
1163 tristate "loongson1 RTC support"
1164 depends on MACH_LOONGSON1
1165 help
1166 This is a driver for the loongson1 on-chip Counter0 (Time-Of-Year
1167 counter) to be used as a RTC.
1168
1169 This driver can also be built as a module. If so, the module
1170 will be called rtc-ls1x.
1171
Jan Engelhardtbb35fb22007-07-31 00:39:46 -07001172endif # RTC_CLASS