blob: 583c1e6412e5bbda50a3d5f5244b752cf823e1d4 [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
Alexandre Belloni98ab2c92015-05-09 21:21:54 +020015 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"
Xunlei Pang9c5150b2015-06-12 11:10:16 +080030 depends on RTC_HCTOSYS
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080031 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
Xunlei Pang9c5150b2015-06-12 11:10:16 +080051config RTC_SYSTOHC
52 bool "Set the RTC time based on NTP synchronization"
53 default y
54 help
55 If you say yes here, the system time (wall clock) will be stored
56 in the RTC specified by RTC_HCTOSYS_DEVICE approximately every 11
57 minutes if userspace reports synchronized NTP status.
58
59config RTC_SYSTOHC_DEVICE
60 string "RTC used to synchronize NTP adjustment"
61 depends on RTC_SYSTOHC
62 default RTC_HCTOSYS_DEVICE if RTC_HCTOSYS
63 default "rtc0"
64 help
65 The RTC device used for NTP synchronization. The main difference
66 between RTC_HCTOSYS_DEVICE and RTC_SYSTOHC_DEVICE is that this
67 one can sleep when setting time, because it runs in the workqueue
68 context.
69
David Brownell9e86ecb2006-09-30 23:28:14 -070070config RTC_DEBUG
71 bool "RTC debug support"
David Brownell9e86ecb2006-09-30 23:28:14 -070072 help
73 Say yes here to enable debugging support in the RTC framework
74 and individual RTC drivers.
75
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080076comment "RTC interfaces"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080077
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080078config RTC_INTF_SYSFS
Christoph Jaeger6341e622014-12-20 15:41:11 -050079 bool "/sys/class/rtc/rtcN (sysfs)"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -070080 depends on SYSFS
Kevin Hilman8dc08392012-10-10 15:54:06 -070081 default RTC_CLASS
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080082 help
David Brownell9e86ecb2006-09-30 23:28:14 -070083 Say yes here if you want to use your RTCs using sysfs interfaces,
84 /sys/class/rtc/rtc0 through /sys/.../rtcN.
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080085
Alessandro Zummoae64d162009-01-06 14:42:17 -080086 If unsure, say Y.
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080087
Alessandro Zummo728a2942006-03-27 01:16:40 -080088config RTC_INTF_PROC
Christoph Jaeger6341e622014-12-20 15:41:11 -050089 bool "/proc/driver/rtc (procfs for rtcN)"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -070090 depends on PROC_FS
Kevin Hilman8dc08392012-10-10 15:54:06 -070091 default RTC_CLASS
Alessandro Zummo728a2942006-03-27 01:16:40 -080092 help
Kim, Milo92589c92012-10-04 17:13:45 -070093 Say yes here if you want to use your system clock RTC through
94 the proc interface, /proc/driver/rtc.
95 Other RTCs will not be available through that API.
96 If there is no RTC for the system clock, then the first RTC(rtc0)
97 is used by default.
Alessandro Zummo728a2942006-03-27 01:16:40 -080098
Alessandro Zummoae64d162009-01-06 14:42:17 -080099 If unsure, say Y.
Alessandro Zummo728a2942006-03-27 01:16:40 -0800100
Alessandro Zummoe8242902006-03-27 01:16:41 -0800101config RTC_INTF_DEV
Christoph Jaeger6341e622014-12-20 15:41:11 -0500102 bool "/dev/rtcN (character devices)"
Kevin Hilman8dc08392012-10-10 15:54:06 -0700103 default RTC_CLASS
Alessandro Zummoe8242902006-03-27 01:16:41 -0800104 help
David Brownell9e86ecb2006-09-30 23:28:14 -0700105 Say yes here if you want to use your RTCs using the /dev
106 interfaces, which "udev" sets up as /dev/rtc0 through
Alessandro Zummoae64d162009-01-06 14:42:17 -0800107 /dev/rtcN.
Alessandro Zummoe8242902006-03-27 01:16:41 -0800108
Alessandro Zummoae64d162009-01-06 14:42:17 -0800109 You may want to set up a symbolic link so one of these
110 can be accessed as /dev/rtc, which is a name
111 expected by "hwclock" and some other programs. Recent
112 versions of "udev" are known to set up the symlink for you.
113
114 If unsure, say Y.
Alessandro Zummoe8242902006-03-27 01:16:41 -0800115
John Stultz6e57b1d2011-02-11 17:45:40 -0800116config RTC_INTF_DEV_UIE_EMUL
117 bool "RTC UIE emulation on dev interface"
118 depends on RTC_INTF_DEV
119 help
120 Provides an emulation for RTC_UIE if the underlying rtc chip
121 driver does not expose RTC_UIE ioctls. Those requests generate
122 once-per-second update interrupts, used for synchronization.
123
124 The emulation code will read the time from the hardware
125 clock several times per second, please enable this option
126 only if you know that you really need it.
127
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700128config RTC_DRV_TEST
129 tristate "Test driver/device"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700130 help
131 If you say yes here you get support for the
132 RTC test driver. It's a software RTC which can be
133 used to test the RTC subsystem APIs. It gets
134 the time from the system clock.
135 You want this driver only if you are doing development
136 on the RTC subsystem. Please read the source code
137 for further details.
138
139 This driver can also be built as a module. If so, the module
140 will be called rtc-test.
141
142comment "I2C RTC drivers"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700143 depends on I2C
144
145if I2C
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700146
Haojian Zhuang008b3042011-05-06 17:21:20 +0800147config RTC_DRV_88PM860X
148 tristate "Marvell 88PM860x"
Alexandre Belloni37830552015-06-08 19:27:37 +0200149 depends on MFD_88PM860X
Haojian Zhuang008b3042011-05-06 17:21:20 +0800150 help
151 If you say yes here you get support for RTC function in Marvell
152 88PM860x chips.
153
154 This driver can also be built as a module. If so, the module
155 will be called rtc-88pm860x.
156
Qiao Zhou2985c292012-07-09 14:37:34 +0800157config RTC_DRV_88PM80X
158 tristate "Marvell 88PM80x"
Alexandre Belloni37830552015-06-08 19:27:37 +0200159 depends on MFD_88PM800
Qiao Zhou2985c292012-07-09 14:37:34 +0800160 help
161 If you say yes here you get support for RTC function in Marvell
162 88PM80x chips.
163
164 This driver can also be built as a module. If so, the module
165 will be called rtc-88pm80x.
166
Arnaud Ebalard0b2f6222015-02-13 14:41:00 -0800167config RTC_DRV_ABB5ZES3
Alexandre Belloni98ab2c92015-05-09 21:21:54 +0200168 select REGMAP_I2C
169 tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
170 help
Arnaud Ebalard0b2f6222015-02-13 14:41:00 -0800171 If you say yes here you get support for the Abracon
172 AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip.
173
174 This driver can also be built as a module. If so, the module
175 will be called rtc-ab-b5ze-s3.
176
Philippe De Muyter4d61ff62015-05-05 16:23:44 -0700177config RTC_DRV_ABX80X
178 tristate "Abracon ABx80x"
179 help
180 If you say yes here you get support for Abracon AB080X and AB180X
181 families of ultra-low-power battery- and capacitor-backed real-time
182 clock chips.
183
184 This driver can also be built as a module. If so, the module
185 will be called rtc-abx80x.
186
Laxman Dewanganb4506262013-11-12 15:11:05 -0800187config RTC_DRV_AS3722
188 tristate "ams AS3722 RTC driver"
189 depends on MFD_AS3722
190 help
191 If you say yes here you get support for the RTC of ams AS3722 PMIC
192 chips.
193
194 This driver can also be built as a module. If so, the module
195 will be called rtc-as3722.
196
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700197config RTC_DRV_DS1307
Matthias Fuchsa2166852009-03-31 15:24:58 -0700198 tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00, EPSON RX-8025"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700199 help
200 If you say yes here you get support for various compatible RTC
Alessandro Zummoae64d162009-01-06 14:42:17 -0800201 chips (often with battery backup) connected with I2C. This driver
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700202 should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
Matthias Fuchsa2166852009-03-31 15:24:58 -0700203 EPSON RX-8025 and probably other chips. In some cases the RTC
204 must already have been initialized (by manufacturing or a
205 bootloader).
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700206
207 The first seven registers on these chips hold an RTC, and other
208 registers may add features such as NVRAM, a trickle charger for
Alessandro Zummoae64d162009-01-06 14:42:17 -0800209 the RTC/NVRAM backup power, and alarms. NVRAM is visible in
David Brownell682d73f2007-11-14 16:58:32 -0800210 sysfs, but other chip features may not be available.
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700211
212 This driver can also be built as a module. If so, the module
213 will be called rtc-ds1307.
214
Akinobu Mita445c0202016-01-25 00:22:16 +0900215config RTC_DRV_DS1307_HWMON
216 bool "HWMON support for rtc-ds1307"
217 depends on RTC_DRV_DS1307 && HWMON
218 depends on !(RTC_DRV_DS1307=y && HWMON=m)
219 default y
220 help
221 Say Y here if you want to expose temperature sensor data on
222 rtc-ds1307 (only DS3231)
223
Scott Woodbf4994d2007-10-16 01:28:19 -0700224config RTC_DRV_DS1374
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800225 tristate "Dallas/Maxim DS1374"
Scott Woodbf4994d2007-10-16 01:28:19 -0700226 help
227 If you say yes here you get support for Dallas Semiconductor
Alessandro Zummoae64d162009-01-06 14:42:17 -0800228 DS1374 real-time clock chips. If an interrupt is associated
Scott Woodbf4994d2007-10-16 01:28:19 -0700229 with the device, the alarm functionality is supported.
230
Alessandro Zummoae64d162009-01-06 14:42:17 -0800231 This driver can also be built as a module. If so, the module
Scott Woodbf4994d2007-10-16 01:28:19 -0700232 will be called rtc-ds1374.
233
Søren Andersen920f91e2014-12-10 15:53:54 -0800234config RTC_DRV_DS1374_WDT
235 bool "Dallas/Maxim DS1374 watchdog timer"
236 depends on RTC_DRV_DS1374
237 help
238 If you say Y here you will get support for the
239 watchdog timer in the Dallas Semiconductor DS1374
240 real-time clock chips.
241
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700242config RTC_DRV_DS1672
243 tristate "Dallas/Maxim DS1672"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700244 help
245 If you say yes here you get support for the
246 Dallas/Maxim DS1672 timekeeping chip.
247
248 This driver can also be built as a module. If so, the module
249 will be called rtc-ds1672.
250
Roy Zangc03675f2010-08-10 18:02:20 -0700251config RTC_DRV_DS3232
252 tristate "Dallas/Maxim DS3232"
Roy Zangc03675f2010-08-10 18:02:20 -0700253 help
254 If you say yes here you get support for Dallas Semiconductor
Lan Chunhe-B25806f46418c2010-10-27 15:33:12 -0700255 DS3232 real-time clock chips. If an interrupt is associated
256 with the device, the alarm functionality is supported.
Roy Zangc03675f2010-08-10 18:02:20 -0700257
258 This driver can also be built as a module. If so, the module
259 will be called rtc-ds3232.
260
Heiko Stuebnerdcaf0382014-01-23 15:55:10 -0800261config RTC_DRV_HYM8563
262 tristate "Haoyu Microelectronics HYM8563"
Alexandre Belloni37830552015-06-08 19:27:37 +0200263 depends on OF
Heiko Stuebnerdcaf0382014-01-23 15:55:10 -0800264 help
265 Say Y to enable support for the HYM8563 I2C RTC chip. Apart
266 from the usual rtc functions it provides a clock output of
267 up to 32kHz.
268
269 This driver can also be built as a module. If so, the module
270 will be called rtc-hym8563.
271
Kim, Milo38ae1762013-02-21 16:44:32 -0800272config RTC_DRV_LP8788
273 tristate "TI LP8788 RTC driver"
274 depends on MFD_LP8788
275 help
276 Say Y to enable support for the LP8788 RTC/ALARM driver.
277
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700278config RTC_DRV_MAX6900
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800279 tristate "Maxim MAX6900"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700280 help
281 If you say yes here you will get support for the
282 Maxim MAX6900 I2C RTC chip.
283
284 This driver can also be built as a module. If so, the module
285 will be called rtc-max6900.
286
Stephen Warren94c01ab2012-10-04 17:13:56 -0700287config RTC_DRV_MAX8907
288 tristate "Maxim MAX8907"
289 depends on MFD_MAX8907
290 help
291 If you say yes here you will get support for the
292 RTC of Maxim MAX8907 PMIC.
293
294 This driver can also be built as a module. If so, the module
295 will be called rtc-max8907.
296
Haojian Zhuanga39069f2010-01-25 06:30:29 -0500297config RTC_DRV_MAX8925
298 tristate "Maxim MAX8925"
299 depends on MFD_MAX8925
300 help
301 If you say yes here you will get support for the
302 RTC of Maxim MAX8925 PMIC.
303
304 This driver can also be built as a module. If so, the module
305 will be called rtc-max8925.
306
Joonyoung Shim9b16c0a2010-08-06 11:28:08 +0900307config RTC_DRV_MAX8998
308 tristate "Maxim MAX8998"
309 depends on MFD_MAX8998
310 help
311 If you say yes here you will get support for the
312 RTC of Maxim MAX8998 PMIC.
313
314 This driver can also be built as a module. If so, the module
315 will be called rtc-max8998.
316
Jonghwa Lee5e0b2702013-02-21 16:45:07 -0800317config RTC_DRV_MAX8997
318 tristate "Maxim MAX8997"
319 depends on MFD_MAX8997
320 help
321 If you say yes here you will get support for the
322 RTC of Maxim MAX8997 PMIC.
323
324 This driver can also be built as a module. If so, the module
325 will be called rtc-max8997.
326
Jonghwa Leefca1dd02013-02-21 16:44:26 -0800327config RTC_DRV_MAX77686
328 tristate "Maxim MAX77686"
329 depends on MFD_MAX77686
330 help
331 If you say yes here you will get support for the
332 RTC of Maxim MAX77686 PMIC.
333
334 This driver can also be built as a module. If so, the module
335 will be called rtc-max77686.
336
Chris Zhong3ca1e322014-10-13 15:52:42 -0700337config RTC_DRV_RK808
338 tristate "Rockchip RK808 RTC"
339 depends on MFD_RK808
340 help
341 If you say yes here you will get support for the
342 RTC of RK808 PMIC.
343
344 This driver can also be built as a module. If so, the module
345 will be called rk808-rtc.
346
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700347config RTC_DRV_RS5C372
Paul Mundt5d4529b2008-10-21 20:12:59 +0900348 tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700349 help
350 If you say yes here you get support for the
Paul Mundt5d4529b2008-10-21 20:12:59 +0900351 Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700352
353 This driver can also be built as a module. If so, the module
354 will be called rtc-rs5c372.
355
356config RTC_DRV_ISL1208
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800357 tristate "Intersil ISL1208"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700358 help
359 If you say yes here you get support for the
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800360 Intersil ISL1208 RTC chip.
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700361
362 This driver can also be built as a module. If so, the module
363 will be called rtc-isl1208.
364
Roman Fietzed6c74282010-08-10 18:02:14 -0700365config RTC_DRV_ISL12022
366 tristate "Intersil ISL12022"
367 help
368 If you say yes here you get support for the
369 Intersil ISL12022 RTC chip.
370
371 This driver can also be built as a module. If so, the module
372 will be called rtc-isl12022.
373
Arnaud Ebalard70e12332013-12-19 23:27:28 +0100374config RTC_DRV_ISL12057
Alexandre Belloni98ab2c92015-05-09 21:21:54 +0200375 select REGMAP_I2C
376 tristate "Intersil ISL12057"
377 help
Arnaud Ebalard70e12332013-12-19 23:27:28 +0100378 If you say yes here you get support for the Intersil ISL12057
379 I2C RTC chip.
380
381 This driver can also be built as a module. If so, the module
382 will be called rtc-isl12057.
383
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700384config RTC_DRV_X1205
385 tristate "Xicor/Intersil X1205"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700386 help
387 If you say yes here you get support for the
388 Xicor/Intersil X1205 RTC chip.
389
390 This driver can also be built as a module. If so, the module
391 will be called rtc-x1205.
392
Renaud Cerrato18cb6362013-07-03 15:08:01 -0700393config RTC_DRV_PCF2127
394 tristate "NXP PCF2127"
395 help
396 If you say yes here you get support for the NXP PCF2127/29 RTC
397 chips.
398
399 This driver can also be built as a module. If so, the module
400 will be called rtc-pcf2127.
401
Thierry Redingf803f0d2012-12-17 16:02:44 -0800402config RTC_DRV_PCF8523
403 tristate "NXP PCF8523"
404 help
405 If you say yes here you get support for the NXP PCF8523 RTC
406 chips.
407
408 This driver can also be built as a module. If so, the module
409 will be called rtc-pcf8523.
410
Soren Brinkmannd0848852015-11-03 23:13:46 -0800411config RTC_DRV_PCF85063
412 tristate "NXP PCF85063"
413 help
414 If you say yes here you get support for the PCF85063 RTC chip
415
416 This driver can also be built as a module. If so, the module
417 will be called rtc-pcf85063.
418
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700419config RTC_DRV_PCF8563
420 tristate "Philips PCF8563/Epson RTC8564"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700421 help
422 If you say yes here you get support for the
423 Philips PCF8563 RTC chip. The Epson RTC8564
424 should work as well.
425
426 This driver can also be built as a module. If so, the module
427 will be called rtc-pcf8563.
428
429config RTC_DRV_PCF8583
430 tristate "Philips PCF8583"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700431 help
432 If you say yes here you get support for the Philips PCF8583
433 RTC chip found on Acorn RiscPCs. This driver supports the
434 platform specific method of retrieving the current year from
435 the RTC's SRAM. It will work on other platforms with the same
436 chip, but the year will probably have to be tweaked.
437
438 This driver can also be built as a module. If so, the module
439 will be called rtc-pcf8583.
440
Atsushi Nemotocaaff562007-07-17 04:05:02 -0700441config RTC_DRV_M41T80
Wolfram Sang6b1a5232014-06-06 14:35:47 -0700442 tristate "ST M41T62/65/M41T80/81/82/83/84/85/87 and compatible"
Atsushi Nemotocaaff562007-07-17 04:05:02 -0700443 help
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700444 If you say Y here you will get support for the ST M41T60
445 and M41T80 RTC chips series. Currently, the following chips are
Daniel Glocknerf30281f2009-04-02 16:57:03 -0700446 supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
Wolfram Sang6b1a5232014-06-06 14:35:47 -0700447 M41ST85, M41ST87, and MicroCrystal RV4162.
Atsushi Nemotocaaff562007-07-17 04:05:02 -0700448
449 This driver can also be built as a module. If so, the module
450 will be called rtc-m41t80.
451
Atsushi Nemoto617780d2007-07-17 04:05:04 -0700452config RTC_DRV_M41T80_WDT
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700453 bool "ST M41T65/M41T80 series RTC watchdog timer"
Atsushi Nemoto617780d2007-07-17 04:05:04 -0700454 depends on RTC_DRV_M41T80
455 help
456 If you say Y here you will get support for the
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700457 watchdog timer in the ST M41T60 and M41T80 RTC chips series.
Atsushi Nemoto617780d2007-07-17 04:05:04 -0700458
Piotr Ziecik1ce7c832009-12-15 16:46:12 -0800459config RTC_DRV_BQ32K
460 tristate "TI BQ32000"
461 help
462 If you say Y here you will get support for the TI
463 BQ32000 I2C RTC chip.
464
465 This driver can also be built as a module. If so, the module
466 will be called rtc-bq32k.
467
David Brownellafd8d0f2009-02-04 15:12:01 -0800468config RTC_DRV_DM355EVM
469 tristate "TI DaVinci DM355 EVM RTC"
470 depends on MFD_DM355EVM_MSP
471 help
472 Supports the RTC firmware in the MSP430 on the DM355 EVM.
473
Tony Lindgren0c4a59f2007-07-17 04:06:09 -0700474config RTC_DRV_TWL92330
Christoph Jaeger6341e622014-12-20 15:41:11 -0500475 bool "TI TWL92330/Menelaus"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700476 depends on MENELAUS
Tony Lindgren0c4a59f2007-07-17 04:06:09 -0700477 help
478 If you say yes here you get support for the RTC on the
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200479 TWL92330 "Menelaus" power management chip, used with OMAP2
Alessandro Zummoae64d162009-01-06 14:42:17 -0800480 platforms. The support is integrated with the rest of
Tony Lindgren0c4a59f2007-07-17 04:06:09 -0700481 the Menelaus driver; it's not separate module.
482
David Brownellf96411a2008-10-20 23:50:05 +0200483config RTC_DRV_TWL4030
Balaji T Ka6b49ff2009-12-13 22:16:31 +0100484 tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
Venu Byravarasu6b8029f2012-10-04 17:13:59 -0700485 depends on TWL4030_CORE
David Brownellf96411a2008-10-20 23:50:05 +0200486 help
487 If you say yes here you get support for the RTC on the
Balaji T Ka6b49ff2009-12-13 22:16:31 +0100488 TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
David Brownellf96411a2008-10-20 23:50:05 +0200489
490 This driver can also be built as a module. If so, the module
Balaji T Ka6b49ff2009-12-13 22:16:31 +0100491 will be called rtc-twl.
David Brownellf96411a2008-10-20 23:50:05 +0200492
Soren Brinkmannd0848852015-11-03 23:13:46 -0800493config RTC_DRV_PALMAS
494 tristate "TI Palmas RTC driver"
495 depends on MFD_PALMAS
496 help
497 If you say yes here you get support for the RTC of TI PALMA series PMIC
498 chips.
499
500 This driver can also be built as a module. If so, the module
501 will be called rtc-palma.
502
Laxman Dewangandc59ed32013-01-04 15:35:44 -0800503config RTC_DRV_TPS6586X
504 tristate "TI TPS6586X RTC driver"
505 depends on MFD_TPS6586X
506 help
Masanari Iidaa895d572013-04-09 02:06:50 +0900507 TI Power Management IC TPS6586X supports RTC functionality
Laxman Dewangandc59ed32013-01-04 15:35:44 -0800508 along with alarm. This driver supports the RTC driver for
509 the TPS6586X RTC module.
510
Venu Byravarasu0e783982012-10-04 17:13:55 -0700511config RTC_DRV_TPS65910
512 tristate "TI TPS65910 RTC driver"
513 depends on RTC_CLASS && MFD_TPS65910
514 help
515 If you say yes here you get support for the RTC on the
516 TPS65910 chips.
517
518 This driver can also be built as a module. If so, the module
519 will be called rtc-tps65910.
520
Laxman Dewangan36d61822013-02-21 16:44:34 -0800521config RTC_DRV_TPS80031
522 tristate "TI TPS80031/TPS80032 RTC driver"
523 depends on MFD_TPS80031
524 help
Masanari Iidaa895d572013-04-09 02:06:50 +0900525 TI Power Management IC TPS80031 supports RTC functionality
Laxman Dewangan36d61822013-02-21 16:44:34 -0800526 along with alarm. This driver supports the RTC driver for
527 the TPS80031 RTC module.
528
Venu Byravarasu90829c02012-10-04 17:14:04 -0700529config RTC_DRV_RC5T583
530 tristate "RICOH 5T583 RTC driver"
531 depends on MFD_RC5T583
532 help
533 If you say yes here you get support for the RTC on the
534 RICOH 5T583 chips.
535
536 This driver can also be built as a module. If so, the module
537 will be called rtc-rc5t583.
538
Byron Bradleyc46288b2008-03-04 14:28:25 -0800539config RTC_DRV_S35390A
540 tristate "Seiko Instruments S-35390A"
Randy Dunlapd4795402008-04-10 21:29:18 -0700541 select BITREVERSE
Byron Bradleyc46288b2008-03-04 14:28:25 -0800542 help
543 If you say yes here you will get support for the Seiko
544 Instruments S-35390A.
545
546 This driver can also be built as a module. If so the module
547 will be called rtc-s35390a.
548
Sergey Lapinc6d8f402008-06-12 15:21:55 -0700549config RTC_DRV_FM3130
550 tristate "Ramtron FM3130"
551 help
552 If you say Y here you will get support for the
553 Ramtron FM3130 RTC chips.
554 Ramtron FM3130 is a chip with two separate devices inside,
555 RTC clock and FRAM. This driver provides only RTC functionality.
556
557 This driver can also be built as a module. If so the module
558 will be called rtc-fm3130.
559
Akshay Bhated13d892015-12-03 14:41:21 -0500560config RTC_DRV_RX8010
561 tristate "Epson RX8010SJ"
562 depends on I2C
563 help
564 If you say yes here you get support for the Epson RX8010SJ RTC
565 chip.
566
567 This driver can also be built as a module. If so, the module
568 will be called rtc-rx8010.
569
Martyn Welcha7fa9852008-11-12 13:27:06 -0800570config RTC_DRV_RX8581
571 tristate "Epson RX-8581"
572 help
573 If you say yes here you will get support for the Epson RX-8581.
574
575 This driver can also be built as a module. If so the module
576 will be called rtc-rx8581.
577
Wolfgang Grandegger3c2b9072009-06-17 16:26:11 -0700578config RTC_DRV_RX8025
579 tristate "Epson RX-8025SA/NB"
580 help
581 If you say yes here you get support for the Epson
582 RX-8025SA/NB RTC chips.
583
584 This driver can also be built as a module. If so, the module
585 will be called rtc-rx8025.
586
Mike Rapoportae3551f2011-05-26 16:25:04 -0700587config RTC_DRV_EM3027
588 tristate "EM Microelectronic EM3027"
589 help
590 If you say yes here you get support for the EM
591 Microelectronic EM3027 RTC chips.
592
593 This driver can also be built as a module. If so, the module
594 will be called rtc-em3027.
595
Heiko Schocher52365232011-05-26 16:25:05 -0700596config RTC_DRV_RV3029C2
597 tristate "Micro Crystal RTC"
598 help
599 If you say yes here you get support for the Micro Crystal
600 RV3029-C2 RTC chips.
601
602 This driver can also be built as a module. If so, the module
603 will be called rtc-rv3029c2.
604
Alexandre Belloni1e3929e2015-11-02 23:48:32 +0100605config RTC_DRV_RV8803
606 tristate "Micro Crystal RV8803"
607 help
608 If you say yes here you get support for the Micro Crystal
609 RV8803 RTC chips.
610
611 This driver can also be built as a module. If so, the module
612 will be called rtc-rv8803.
613
Sangbeom Kim5bccae62013-11-12 15:11:04 -0800614config RTC_DRV_S5M
Krzysztof Kozlowski0c5deb12014-06-10 15:18:46 -0700615 tristate "Samsung S2M/S5M series"
Sangbeom Kim5bccae62013-11-12 15:11:04 -0800616 depends on MFD_SEC_CORE
617 help
618 If you say yes here you will get support for the
Krzysztof Kozlowski0c5deb12014-06-10 15:18:46 -0700619 RTC of Samsung S2MPS14 and S5M PMIC series.
Sangbeom Kim5bccae62013-11-12 15:11:04 -0800620
621 This driver can also be built as a module. If so, the module
622 will be called rtc-s5m.
623
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700624endif # I2C
625
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700626comment "SPI RTC drivers"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700627
628if SPI_MASTER
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700629
Voss, Nikolaus74d34d42011-05-26 16:25:07 -0700630config RTC_DRV_M41T93
Alexandre Belloni98ab2c92015-05-09 21:21:54 +0200631 tristate "ST M41T93"
632 help
633 If you say yes here you will get support for the
634 ST M41T93 SPI RTC chip.
Voss, Nikolaus74d34d42011-05-26 16:25:07 -0700635
Alexandre Belloni98ab2c92015-05-09 21:21:54 +0200636 This driver can also be built as a module. If so, the module
637 will be called rtc-m41t93.
Voss, Nikolaus74d34d42011-05-26 16:25:07 -0700638
Kim B. Heino8fc2c762008-07-23 21:30:34 -0700639config RTC_DRV_M41T94
640 tristate "ST M41T94"
641 help
642 If you say yes here you will get support for the
643 ST M41T94 SPI RTC chip.
644
645 This driver can also be built as a module. If so, the module
646 will be called rtc-m41t94.
647
David Brownell53e84b62008-07-23 21:30:36 -0700648config RTC_DRV_DS1305
649 tristate "Dallas/Maxim DS1305/DS1306"
650 help
651 Select this driver to get support for the Dallas/Maxim DS1305
Alessandro Zummoae64d162009-01-06 14:42:17 -0800652 and DS1306 real time clock chips. These support a trickle
David Brownell53e84b62008-07-23 21:30:36 -0700653 charger, alarms, and NVRAM in addition to the clock.
654
655 This driver can also be built as a module. If so, the module
656 will be called rtc-ds1305.
657
Raghavendra Ganiga1d6316f2014-06-06 14:35:59 -0700658config RTC_DRV_DS1343
Raghavendra Ganiga0dd449b2014-06-06 14:36:00 -0700659 select REGMAP_SPI
Raghavendra Ganiga1d6316f2014-06-06 14:35:59 -0700660 tristate "Dallas/Maxim DS1343/DS1344"
661 help
662 If you say yes here you get support for the
663 Dallas/Maxim DS1343 and DS1344 real time clock chips.
664 Support for trickle charger, alarm is provided.
665
666 This driver can also be built as a module. If so, the module
667 will be called rtc-ds1343.
668
Raghavendra Ganiga617b26a2014-04-03 14:50:16 -0700669config RTC_DRV_DS1347
670 tristate "Dallas/Maxim DS1347"
671 help
672 If you say yes here you get support for the
673 Dallas/Maxim DS1347 chips.
674
675 This driver only supports the RTC feature, and not other chip
676 features such as alarms.
677
678 This driver can also be built as a module. If so, the module
679 will be called rtc-ds1347.
680
Mark Jackson06de1802008-11-12 13:27:07 -0800681config RTC_DRV_DS1390
682 tristate "Dallas/Maxim DS1390/93/94"
683 help
Alessandro Zummo7b9b2ef2009-01-06 14:42:16 -0800684 If you say yes here you get support for the
685 Dallas/Maxim DS1390/93/94 chips.
Mark Jackson06de1802008-11-12 13:27:07 -0800686
Ivan Grimaldifa395fb2015-09-18 17:27:57 +0200687 This driver supports the RTC feature and trickle charging but not
688 other chip features such as alarms.
Mark Jackson06de1802008-11-12 13:27:07 -0800689
690 This driver can also be built as a module. If so, the module
691 will be called rtc-ds1390.
692
Magnus Damm2805b962008-02-06 01:38:53 -0800693config RTC_DRV_R9701
694 tristate "Epson RTC-9701JE"
695 help
696 If you say yes here you will get support for the
697 Epson RTC-9701JE SPI RTC chip.
698
699 This driver can also be built as a module. If so, the module
700 will be called rtc-r9701.
701
Soren Brinkmannd0848852015-11-03 23:13:46 -0800702config RTC_DRV_RX4581
703 tristate "Epson RX-4581"
704 help
705 If you say yes here you will get support for the Epson RX-4581.
706
707 This driver can also be built as a module. If so the module
708 will be called rtc-rx4581.
709
710config RTC_DRV_RX6110
711 tristate "Epson RX-6110"
712 select REGMAP_SPI
713 help
714 If you say yes here you will get support for the Epson RX-6610.
715
716 This driver can also be built as a module. If so the module
717 will be called rtc-rx6110.
718
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700719config RTC_DRV_RS5C348
720 tristate "Ricoh RS5C348A/B"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700721 help
722 If you say yes here you get support for the
723 Ricoh RS5C348A and RS5C348B RTC chips.
724
725 This driver can also be built as a module. If so, the module
726 will be called rtc-rs5c348.
727
Soren Brinkmannd0848852015-11-03 23:13:46 -0800728config RTC_DRV_MAX6902
729 tristate "Maxim MAX6902"
730 help
731 If you say yes here you will get support for the
732 Maxim MAX6902 SPI RTC chip.
733
734 This driver can also be built as a module. If so, the module
735 will be called rtc-max6902.
736
Dennis Aberilla2f9b75e2008-10-15 22:02:57 -0700737config RTC_DRV_DS3234
738 tristate "Maxim/Dallas DS3234"
739 help
740 If you say yes here you get support for the
741 Maxim/Dallas DS3234 SPI RTC chip.
742
743 This driver can also be built as a module. If so, the module
744 will be called rtc-ds3234.
745
Chris Verges7f3923a2009-09-22 16:46:20 -0700746config RTC_DRV_PCF2123
747 tristate "NXP PCF2123"
748 help
749 If you say yes here you get support for the NXP PCF2123
750 RTC chip.
751
752 This driver can also be built as a module. If so, the module
753 will be called rtc-pcf2123.
754
Josef Gajdusek1fcbe422014-06-06 14:36:02 -0700755config RTC_DRV_MCP795
756 tristate "Microchip MCP795"
757 help
758 If you say yes here you will get support for the Microchip MCP795.
759
760 This driver can also be built as a module. If so the module
761 will be called rtc-mcp795.
762
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700763endif # SPI_MASTER
764
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700765comment "Platform RTC drivers"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -0800766
David Brownell7be2c7c2007-02-10 01:46:02 -0800767# this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h>
768# requires <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
769# global rtc_lock ... it's not yet just another platform_device.
770
771config RTC_DRV_CMOS
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700772 tristate "PC-style 'CMOS'"
Geert Uytterhoeven41c9dbf2014-01-23 15:55:12 -0800773 depends on X86 || ARM || M32R || PPC || MIPS || SPARC64
David Brownellc7500902008-04-28 02:11:52 -0700774 default y if X86
David Brownell7be2c7c2007-02-10 01:46:02 -0800775 help
776 Say "yes" here to get direct support for the real time clock
777 found in every PC or ACPI-based system, and some other boards.
778 Specifically the original MC146818, compatibles like those in
779 PC south bridges, the DS12887 or M48T86, some multifunction
780 or LPC bus chips, and so on.
781
782 Your system will need to define the platform device used by
Alessandro Zummoae64d162009-01-06 14:42:17 -0800783 this driver, otherwise it won't be accessible. This means
David Brownell7be2c7c2007-02-10 01:46:02 -0800784 you can safely enable this driver if you don't know whether
785 or not your board has this kind of hardware.
786
787 This driver can also be built as a module. If so, the module
788 will be called rtc-cmos.
789
Richard Henderson85d0b3a2013-07-13 15:49:45 -0700790config RTC_DRV_ALPHA
791 bool "Alpha PC-style CMOS"
792 depends on ALPHA
793 default y
794 help
795 Direct support for the real-time clock found on every Alpha
796 system, specifically MC146818 compatibles. If in doubt, say Y.
797
Feng Tang0146f262010-11-10 17:29:17 +0000798config RTC_DRV_VRTC
Alan Cox933b9462011-12-17 17:43:40 +0000799 tristate "Virtual RTC for Intel MID platforms"
800 depends on X86_INTEL_MID
801 default y if X86_INTEL_MID
Feng Tang0146f262010-11-10 17:29:17 +0000802
803 help
804 Say "yes" here to get direct support for the real time clock
805 found on Moorestown platforms. The VRTC is a emulated RTC that
806 derives its clock source from a real RTC in the PMIC. The MC146818
807 style programming interface is mostly conserved, but any
808 updates are done via IPC calls to the system controller FW.
809
Thomas Bogendoerfer537739d2007-07-17 04:05:06 -0700810config RTC_DRV_DS1216
811 tristate "Dallas DS1216"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700812 depends on SNI_RM
Thomas Bogendoerfer537739d2007-07-17 04:05:06 -0700813 help
814 If you say yes here you get support for the Dallas DS1216 RTC chips.
815
Thomas Bogendoerfer5f119f22008-10-14 17:16:59 +0200816config RTC_DRV_DS1286
817 tristate "Dallas DS1286"
Chen Gang706b6322014-10-13 15:53:14 -0700818 depends on HAS_IOMEM
Thomas Bogendoerfer5f119f22008-10-14 17:16:59 +0200819 help
820 If you say yes here you get support for the Dallas DS1286 RTC chips.
821
Paul Mundt739d3402008-02-06 01:38:44 -0800822config RTC_DRV_DS1302
823 tristate "Dallas DS1302"
824 depends on SH_SECUREEDGE5410
825 help
826 If you say yes here you get support for the Dallas DS1302 RTC chips.
827
Andrew Sharp8f267952008-02-06 01:38:46 -0800828config RTC_DRV_DS1511
829 tristate "Dallas DS1511"
Chen Gang706b6322014-10-13 15:53:14 -0700830 depends on HAS_IOMEM
Andrew Sharp8f267952008-02-06 01:38:46 -0800831 help
832 If you say yes here you get support for the
833 Dallas DS1511 timekeeping/watchdog chip.
834
835 This driver can also be built as a module. If so, the module
836 will be called rtc-ds1511.
837
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700838config RTC_DRV_DS1553
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800839 tristate "Maxim/Dallas DS1553"
Chen Gang706b6322014-10-13 15:53:14 -0700840 depends on HAS_IOMEM
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700841 help
842 If you say yes here you get support for the
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800843 Maxim/Dallas DS1553 timekeeping chip.
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700844
845 This driver can also be built as a module. If so, the module
846 will be called rtc-ds1553.
847
Joshua Kinardaaaf5fb2015-02-16 16:00:26 -0800848config RTC_DRV_DS1685_FAMILY
849 tristate "Dallas/Maxim DS1685 Family"
850 help
851 If you say yes here you get support for the Dallas/Maxim DS1685
852 family of real time chips. This family includes the DS1685/DS1687,
853 DS1689/DS1693, DS17285/DS17287, DS17485/DS17487, and
854 DS17885/DS17887 chips.
855
856 This driver can also be built as a module. If so, the module
857 will be called rtc-ds1685.
858
859choice
860 prompt "Subtype"
861 depends on RTC_DRV_DS1685_FAMILY
862 default RTC_DRV_DS1685
863
864config RTC_DRV_DS1685
865 bool "DS1685/DS1687"
866 help
867 This enables support for the Dallas/Maxim DS1685/DS1687 real time
868 clock chip.
869
870 This chip is commonly found in SGI O2 (IP32) and SGI Octane (IP30)
871 systems, as well as EPPC-405-UC modules by electronic system design
872 GmbH.
873
874config RTC_DRV_DS1689
875 bool "DS1689/DS1693"
876 help
877 This enables support for the Dallas/Maxim DS1689/DS1693 real time
878 clock chip.
879
880 This is an older RTC chip, supplanted by the DS1685/DS1687 above,
881 which supports a few minor features such as Vcc, Vbat, and Power
882 Cycle counters, plus a customer-specific, 8-byte ROM/Serial number.
883
884 It also works for the even older DS1688/DS1691 RTC chips, which are
885 virtually the same and carry the same model number. Both chips
886 have 114 bytes of user NVRAM.
887
888config RTC_DRV_DS17285
889 bool "DS17285/DS17287"
890 help
891 This enables support for the Dallas/Maxim DS17285/DS17287 real time
892 clock chip.
893
894 This chip features 2kb of extended NV-SRAM. It may possibly be
895 found in some SGI O2 systems (rare).
896
897config RTC_DRV_DS17485
898 bool "DS17485/DS17487"
899 help
900 This enables support for the Dallas/Maxim DS17485/DS17487 real time
901 clock chip.
902
903 This chip features 4kb of extended NV-SRAM.
904
905config RTC_DRV_DS17885
906 bool "DS17885/DS17887"
907 help
908 This enables support for the Dallas/Maxim DS17885/DS17887 real time
909 clock chip.
910
911 This chip features 8kb of extended NV-SRAM.
912
913endchoice
914
915config RTC_DS1685_PROC_REGS
916 bool "Display register values in /proc"
917 depends on RTC_DRV_DS1685_FAMILY && PROC_FS
918 help
919 Enable this to display a readout of all of the RTC registers in
920 /proc/drivers/rtc. Keep in mind that this can potentially lead
921 to lost interrupts, as reading Control Register C will clear
922 all pending IRQ flags.
923
924 Unless you are debugging this driver, choose N.
925
926config RTC_DS1685_SYSFS_REGS
927 bool "SysFS access to RTC register bits"
928 depends on RTC_DRV_DS1685_FAMILY && SYSFS
929 help
930 Enable this to provide access to the RTC control register bits
931 in /sys. Some of the bits are read-write, others are read-only.
932
933 Keep in mind that reading Control C's bits automatically clears
934 all pending IRQ flags - this can cause lost interrupts.
935
936 If you know that you need access to these bits, choose Y, Else N.
937
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800938config RTC_DRV_DS1742
939 tristate "Maxim/Dallas DS1742/1743"
Chen Gang706b6322014-10-13 15:53:14 -0700940 depends on HAS_IOMEM
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800941 help
942 If you say yes here you get support for the
943 Maxim/Dallas DS1742/1743 timekeeping chip.
944
945 This driver can also be built as a module. If so, the module
946 will be called rtc-ds1742.
947
Jean Delvaread0200f2014-08-08 14:20:03 -0700948config RTC_DRV_DS2404
949 tristate "Maxim/Dallas DS2404"
950 help
951 If you say yes here you get support for the
952 Dallas DS2404 RTC chip.
953
954 This driver can also be built as a module. If so, the module
955 will be called rtc-ds2404.
956
Ashish Jangamfef931f2012-03-23 15:02:36 -0700957config RTC_DRV_DA9052
958 tristate "Dialog DA9052/DA9053 RTC"
959 depends on PMIC_DA9052
960 help
961 Say y here to support the RTC driver for Dialog Semiconductor
962 DA9052-BC and DA9053-AA/Bx PMICs.
963
Ashish Jangam6920d992012-12-17 16:02:53 -0800964config RTC_DRV_DA9055
965 tristate "Dialog Semiconductor DA9055 RTC"
966 depends on MFD_DA9055
967 help
968 If you say yes here you will get support for the
969 RTC of the Dialog DA9055 PMIC.
970
971 This driver can also be built as a module. If so, the module
972 will be called rtc-da9055
973
Opensource [Steve Twiss]c2a57552014-06-06 14:36:03 -0700974config RTC_DRV_DA9063
S Twiss80ca3272015-07-21 11:29:07 +0100975 tristate "Dialog Semiconductor DA9063/DA9062 RTC"
976 depends on MFD_DA9063 || MFD_DA9062
Opensource [Steve Twiss]c2a57552014-06-06 14:36:03 -0700977 help
978 If you say yes here you will get support for the RTC subsystem
S Twiss80ca3272015-07-21 11:29:07 +0100979 for the Dialog Semiconductor PMIC chips DA9063 and DA9062.
Opensource [Steve Twiss]c2a57552014-06-06 14:36:03 -0700980
981 This driver can also be built as a module. If so, the module
982 will be called "rtc-da9063".
983
dann frazier5e3fd9e2009-03-31 15:24:48 -0700984config RTC_DRV_EFI
985 tristate "EFI RTC"
Matt Fleming7efe6652014-10-03 13:06:33 +0100986 depends on EFI && !X86
dann frazier5e3fd9e2009-03-31 15:24:48 -0700987 help
988 If you say yes here you will get support for the EFI
989 Real Time Clock.
990
991 This driver can also be built as a module. If so, the module
992 will be called rtc-efi.
993
Thomas Hommel02964112007-07-21 04:37:58 -0700994config RTC_DRV_STK17TA8
995 tristate "Simtek STK17TA8"
Chen Gang706b6322014-10-13 15:53:14 -0700996 depends on HAS_IOMEM
Thomas Hommel02964112007-07-21 04:37:58 -0700997 help
998 If you say yes here you get support for the
999 Simtek STK17TA8 timekeeping chip.
1000
1001 This driver can also be built as a module. If so, the module
1002 will be called rtc-stk17ta8.
1003
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001004config RTC_DRV_M48T86
1005 tristate "ST M48T86/Dallas DS12887"
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001006 help
1007 If you say Y here you will get support for the
1008 ST M48T86 and Dallas DS12887 RTC chips.
1009
1010 This driver can also be built as a module. If so, the module
1011 will be called rtc-m48t86.
1012
Thomas Bogendoerferd1dbd82e2008-10-14 17:17:32 +02001013config RTC_DRV_M48T35
1014 tristate "ST M48T35"
Chen Gang706b6322014-10-13 15:53:14 -07001015 depends on HAS_IOMEM
Thomas Bogendoerferd1dbd82e2008-10-14 17:17:32 +02001016 help
1017 If you say Y here you will get support for the
1018 ST M48T35 RTC chip.
1019
1020 This driver can also be built as a module, if so, the module
1021 will be called "rtc-m48t35".
1022
Mark Zhan2e774c72007-07-17 04:05:05 -07001023config RTC_DRV_M48T59
Krzysztof Helt94fe7422008-09-03 15:12:34 -07001024 tristate "ST M48T59/M48T08/M48T02"
Chen Gang706b6322014-10-13 15:53:14 -07001025 depends on HAS_IOMEM
Mark Zhan2e774c72007-07-17 04:05:05 -07001026 help
1027 If you say Y here you will get support for the
Krzysztof Helt94fe7422008-09-03 15:12:34 -07001028 ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
1029
1030 These chips are usually found in Sun SPARC and UltraSPARC
1031 workstations.
Mark Zhan2e774c72007-07-17 04:05:05 -07001032
1033 This driver can also be built as a module, if so, the module
1034 will be called "rtc-m48t59".
1035
Geert Uytterhoeven4f9b9bb2009-03-18 23:29:27 +01001036config RTC_DRV_MSM6242
1037 tristate "Oki MSM6242"
Chen Gang706b6322014-10-13 15:53:14 -07001038 depends on HAS_IOMEM
Geert Uytterhoeven4f9b9bb2009-03-18 23:29:27 +01001039 help
1040 If you say yes here you get support for the Oki MSM6242
1041 timekeeping chip. It is used in some Amiga models (e.g. A2000).
1042
1043 This driver can also be built as a module. If so, the module
1044 will be called rtc-msm6242.
1045
David S. Millercca4c232008-08-29 01:29:53 -07001046config RTC_DRV_BQ4802
1047 tristate "TI BQ4802"
Chen Gang706b6322014-10-13 15:53:14 -07001048 depends on HAS_IOMEM
David S. Millercca4c232008-08-29 01:29:53 -07001049 help
1050 If you say Y here you will get support for the TI
1051 BQ4802 RTC chip.
1052
1053 This driver can also be built as a module. If so, the module
1054 will be called rtc-bq4802.
1055
Geert Uytterhoeven4f672ce2009-03-18 23:29:27 +01001056config RTC_DRV_RP5C01
1057 tristate "Ricoh RP5C01"
Chen Gang706b6322014-10-13 15:53:14 -07001058 depends on HAS_IOMEM
Geert Uytterhoeven4f672ce2009-03-18 23:29:27 +01001059 help
1060 If you say yes here you get support for the Ricoh RP5C01
1061 timekeeping chip. It is used in some Amiga models (e.g. A3000
1062 and A4000).
1063
1064 This driver can also be built as a module. If so, the module
1065 will be called rtc-rp5c01.
1066
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001067config RTC_DRV_V3020
1068 tristate "EM Microelectronic V3020"
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001069 help
1070 If you say yes here you will get support for the
1071 EM Microelectronic v3020 RTC chip.
1072
1073 This driver can also be built as a module. If so, the module
1074 will be called rtc-v3020.
1075
Mark Brown35c86bf2009-08-27 19:59:05 +02001076config RTC_DRV_WM831X
1077 tristate "Wolfson Microelectronics WM831x RTC"
1078 depends on MFD_WM831X
1079 help
1080 If you say yes here you will get support for the RTC subsystem
1081 of the Wolfson Microelectronics WM831X series PMICs.
1082
1083 This driver can also be built as a module. If so, the module
1084 will be called "rtc-wm831x".
1085
Mark Brown077eaf52008-11-12 13:27:04 -08001086config RTC_DRV_WM8350
1087 tristate "Wolfson Microelectronics WM8350 RTC"
1088 depends on MFD_WM8350
1089 help
1090 If you say yes here you will get support for the RTC subsystem
1091 of the Wolfson Microelectronics WM8350.
1092
1093 This driver can also be built as a module. If so, the module
1094 will be called "rtc-wm8350".
1095
Rajeev Kumar0942a712011-05-26 16:25:09 -07001096config RTC_DRV_SPEAR
1097 tristate "SPEAR ST RTC"
1098 depends on PLAT_SPEAR
1099 default y
1100 help
1101 If you say Y here you will get support for the RTC found on
1102 spear
1103
Balaji Raoeae854b2009-01-09 01:50:51 +01001104config RTC_DRV_PCF50633
1105 depends on MFD_PCF50633
1106 tristate "NXP PCF50633 RTC"
1107 help
1108 If you say yes here you get support for the RTC subsystem of the
1109 NXP PCF50633 used in embedded systems.
1110
Linus Walleijbd207cf2009-08-30 23:49:04 +02001111config RTC_DRV_AB3100
1112 tristate "ST-Ericsson AB3100 RTC"
1113 depends on AB3100_CORE
1114 default y if AB3100_CORE
1115 help
1116 Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
1117 support. This chip contains a battery- and capacitor-backed RTC.
1118
Virupax Sadashivpetimath0af62f42010-05-26 14:42:14 -07001119config RTC_DRV_AB8500
1120 tristate "ST-Ericsson AB8500 RTC"
1121 depends on AB8500_CORE
Ulf Hansson651fb482012-10-04 17:14:32 -07001122 select RTC_INTF_DEV
Ramesh Chandrasekarandc43d4a2012-07-30 14:41:41 -07001123 select RTC_INTF_DEV_UIE_EMUL
Virupax Sadashivpetimath0af62f42010-05-26 14:42:14 -07001124 help
1125 Select this to enable the ST-Ericsson AB8500 power management IC RTC
1126 support. This chip contains a battery- and capacitor-backed RTC.
1127
Wan ZongShunafd49a7e2009-12-15 16:46:17 -08001128config RTC_DRV_NUC900
1129 tristate "NUC910/NUC920 RTC driver"
Venu Byravarasu6b8029f2012-10-04 17:13:59 -07001130 depends on ARCH_W90X900
Wan ZongShunafd49a7e2009-12-15 16:46:17 -08001131 help
1132 If you say yes here you get support for the RTC subsystem of the
1133 NUC910/NUC920 used in embedded systems.
Linus Walleijbd207cf2009-08-30 23:49:04 +02001134
Neelesh Gupta16b1d262014-10-14 14:08:36 +05301135config RTC_DRV_OPAL
1136 tristate "IBM OPAL RTC driver"
1137 depends on PPC_POWERNV
1138 default y
1139 help
1140 If you say yes here you get support for the PowerNV platform RTC
1141 driver based on OPAL interfaces.
1142
1143 This driver can also be built as a module. If so, the module
1144 will be called rtc-opal.
1145
Suneel Garapati11143c12015-08-19 15:23:22 +05301146config RTC_DRV_ZYNQMP
1147 tristate "Xilinx Zynq Ultrascale+ MPSoC RTC"
1148 depends on OF
1149 help
1150 If you say yes here you get support for the RTC controller found on
1151 Xilinx Zynq Ultrascale+ MPSoC.
1152
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001153comment "on-CPU RTC drivers"
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001154
Oleksij Rempel125e5502016-02-02 20:56:10 +01001155config RTC_DRV_ASM9260
1156 tristate "Alphascale asm9260 RTC"
1157 depends on MACH_ASM9260
1158 help
1159 If you say yes here you get support for the RTC on the
1160 Alphascale asm9260 SoC.
1161
1162 This driver can also be built as a module. If so, the module
1163 will be called rtc-asm9260.
1164
Miguel Aguilar8ecf6c52009-11-05 08:51:34 -06001165config RTC_DRV_DAVINCI
1166 tristate "TI DaVinci RTC"
1167 depends on ARCH_DAVINCI_DM365
1168 help
1169 If you say yes here you get support for the RTC on the
1170 DaVinci platforms (DM365).
1171
1172 This driver can also be built as a module. If so, the module
1173 will be called rtc-davinci.
1174
Baruch Siachba172202015-04-16 12:45:40 -07001175config RTC_DRV_DIGICOLOR
1176 tristate "Conexant Digicolor RTC"
1177 depends on ARCH_DIGICOLOR
1178 help
1179 If you say yes here you get support for the RTC on Conexant
1180 Digicolor platforms. This currently includes the CX92755 SoC.
1181
1182 This driver can also be built as a module. If so, the module
1183 will be called rtc-digicolor.
1184
Fabio Estevamb224b9a2012-05-29 15:07:37 -07001185config RTC_DRV_IMXDI
1186 tristate "Freescale IMX DryIce Real Time Clock"
Roland Stiggeef216ad2012-12-17 16:02:22 -08001187 depends on ARCH_MXC
Fabio Estevamb224b9a2012-05-29 15:07:37 -07001188 help
1189 Support for Freescale IMX DryIce RTC
1190
1191 This driver can also be built as a module, if so, the module
1192 will be called "rtc-imxdi".
1193
David Brownelldb68b182006-12-06 20:38:36 -08001194config RTC_DRV_OMAP
Lokesh Vutla86089762015-04-16 12:46:03 -07001195 tristate "TI OMAP Real Time Clock"
1196 depends on ARCH_OMAP || ARCH_DAVINCI
David Brownelldb68b182006-12-06 20:38:36 -08001197 help
Afzal Mohammed427af9a2012-12-17 16:02:17 -08001198 Say "yes" here to support the on chip real time clock
Lokesh Vutla86089762015-04-16 12:46:03 -07001199 present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
Afzal Mohammed427af9a2012-12-17 16:02:17 -08001200
1201 This driver can also be built as a module, if so, module
1202 will be called rtc-omap.
David Brownelldb68b182006-12-06 20:38:36 -08001203
Atul Dahiya16f4efe2010-07-20 16:38:49 +05301204config HAVE_S3C_RTC
1205 bool
1206 help
1207 This will include RTC support for Samsung SoCs. If
1208 you want to include RTC support for any machine, kindly
1209 select this in the respective mach-XXXX/Kconfig file.
1210
Ben Dooks1add6782006-07-01 04:36:26 -07001211config RTC_DRV_S3C
1212 tristate "Samsung S3C series SoC RTC"
Kukjin Kimb130d5c2012-02-03 14:29:23 +09001213 depends on ARCH_S3C64XX || HAVE_S3C_RTC
Ben Dooks1add6782006-07-01 04:36:26 -07001214 help
1215 RTC (Realtime Clock) driver for the clock inbuilt into the
1216 Samsung S3C24XX series of SoCs. This can provide periodic
1217 interrupt rates from 1Hz to 64Hz for user programs, and
1218 wakeup from Alarm.
1219
1220 The driver currently supports the common features on all the
1221 S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
1222 and S3C2442.
1223
1224 This driver can also be build as a module. If so, the module
1225 will be called rtc-s3c.
1226
Alessandro Zummofd507e22006-03-27 01:16:45 -08001227config RTC_DRV_EP93XX
1228 tristate "Cirrus Logic EP93XX"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -07001229 depends on ARCH_EP93XX
Alessandro Zummofd507e22006-03-27 01:16:45 -08001230 help
1231 If you say yes here you get support for the
1232 RTC embedded in the Cirrus Logic EP93XX processors.
1233
1234 This driver can also be built as a module. If so, the module
1235 will be called rtc-ep93xx.
1236
Richard Purdiee842f1c2006-03-27 01:16:46 -08001237config RTC_DRV_SA1100
Haojian Zhuang3888c092012-02-21 11:51:13 +08001238 tristate "SA11x0/PXA2xx/PXA910"
1239 depends on ARCH_SA1100 || ARCH_PXA || ARCH_MMP
Richard Purdiee842f1c2006-03-27 01:16:46 -08001240 help
1241 If you say Y here you will get access to the real time clock
1242 built into your SA11x0 or PXA2xx CPU.
1243
1244 To compile this driver as a module, choose M here: the
1245 module will be called rtc-sa1100.
Alessandro Zummofd507e22006-03-27 01:16:45 -08001246
Paul Mundt317a6102006-09-27 17:13:19 +09001247config RTC_DRV_SH
1248 tristate "SuperH On-Chip RTC"
Venu Byravarasu6b8029f2012-10-04 17:13:59 -07001249 depends on SUPERH && HAVE_CLK
Paul Mundt317a6102006-09-27 17:13:19 +09001250 help
1251 Say Y here to enable support for the on-chip RTC found in
1252 most SuperH processors.
1253
Alexandre Belloni98ab2c92015-05-09 21:21:54 +02001254 To compile this driver as a module, choose M here: the
Paul Mundt317a6102006-09-27 17:13:19 +09001255 module will be called rtc-sh.
1256
Yoichi Yuasa8417eb72006-04-10 22:54:47 -07001257config RTC_DRV_VR41XX
Alessandro Zummo3e16f6a2006-04-10 22:54:48 -07001258 tristate "NEC VR41XX"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -07001259 depends on CPU_VR41XX
Alessandro Zummo3e16f6a2006-04-10 22:54:48 -07001260 help
1261 If you say Y here you will get access to the real time clock
1262 built into your NEC VR41XX CPU.
1263
1264 To compile this driver as a module, choose M here: the
1265 module will be called rtc-vr41xx.
Yoichi Yuasa8417eb72006-04-10 22:54:47 -07001266
Russell Kinga1909012008-04-20 12:08:36 +01001267config RTC_DRV_PL030
1268 tristate "ARM AMBA PL030 RTC"
1269 depends on ARM_AMBA
1270 help
1271 If you say Y here you will get access to ARM AMBA
1272 PrimeCell PL030 RTC found on certain ARM SOCs.
1273
1274 To compile this driver as a module, choose M here: the
1275 module will be called rtc-pl030.
1276
Deepak Saxena8ae6e162006-06-25 05:47:38 -07001277config RTC_DRV_PL031
1278 tristate "ARM AMBA PL031 RTC"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -07001279 depends on ARM_AMBA
Deepak Saxena8ae6e162006-06-25 05:47:38 -07001280 help
1281 If you say Y here you will get access to ARM AMBA
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001282 PrimeCell PL031 RTC found on certain ARM SOCs.
Deepak Saxena8ae6e162006-06-25 05:47:38 -07001283
1284 To compile this driver as a module, choose M here: the
1285 module will be called rtc-pl031.
1286
Hans-Christian Egtvedtfa04e782007-07-17 04:05:00 -07001287config RTC_DRV_AT32AP700X
1288 tristate "AT32AP700X series RTC"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -07001289 depends on PLATFORM_AT32AP
Hans-Christian Egtvedtfa04e782007-07-17 04:05:00 -07001290 help
1291 Driver for the internal RTC (Realtime Clock) on Atmel AVR32
1292 AT32AP700x family processors.
1293
Andrew Victor7fc39f62006-12-10 02:19:03 -08001294config RTC_DRV_AT91RM9200
Nicolas Ferre24cecc12010-10-22 19:12:52 +02001295 tristate "AT91RM9200 or some AT91SAM9 RTC"
Nicolas Ferre938f9702012-03-15 14:38:09 +01001296 depends on ARCH_AT91
Andrew Victor788b1fc2006-06-25 05:48:27 -07001297 help
David Brownell4cdf8542008-02-06 01:38:59 -08001298 Driver for the internal RTC (Realtime Clock) module found on
Nicolas Ferre24cecc12010-10-22 19:12:52 +02001299 Atmel AT91RM9200's and some AT91SAM9 chips. On AT91SAM9 chips
David Brownell4cdf8542008-02-06 01:38:59 -08001300 this is powered by the backup power supply.
1301
1302config RTC_DRV_AT91SAM9
Boris BREZILLON3969eb42014-09-23 13:16:05 +02001303 tristate "AT91SAM9 RTT as RTC"
Nicolas Ferreee72f182014-11-21 16:34:08 +01001304 depends on ARCH_AT91
Boris BREZILLON43e112b2014-09-23 13:14:44 +02001305 select MFD_SYSCON
David Brownell4cdf8542008-02-06 01:38:59 -08001306 help
Boris BREZILLON3969eb42014-09-23 13:16:05 +02001307 Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which
1308 can be used as an RTC thanks to the backup power supply (e.g. a
1309 small coin cell battery) which keeps this block and the GPBR
1310 (General Purpose Backup Registers) block powered when the device
1311 is shutdown.
1312 Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd
1313 probably want to use the real RTC block instead of the "RTT as an
1314 RTC" driver.
David Brownell4cdf8542008-02-06 01:38:59 -08001315
Manuel Lauss45fd8a02009-01-06 14:42:18 -08001316config RTC_DRV_AU1XXX
1317 tristate "Au1xxx Counter0 RTC support"
Manuel Lauss42a4f172010-07-15 21:45:04 +02001318 depends on MIPS_ALCHEMY
Manuel Lauss45fd8a02009-01-06 14:42:18 -08001319 help
1320 This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
1321 counter) to be used as a RTC.
1322
1323 This driver can also be built as a module. If so, the module
1324 will be called rtc-au1xxx.
1325
Wu, Bryan8cc75c92007-05-06 14:50:32 -07001326config RTC_DRV_BFIN
1327 tristate "Blackfin On-Chip RTC"
Graf Yang7f604592008-08-20 14:09:02 -07001328 depends on BLACKFIN && !BF561
Wu, Bryan8cc75c92007-05-06 14:50:32 -07001329 help
1330 If you say yes here you will get support for the
1331 Blackfin On-Chip Real Time Clock.
1332
1333 This driver can also be built as a module. If so, the module
1334 will be called rtc-bfin.
1335
Nobuhiro Iwamatsue9f2bd82007-05-08 00:26:37 -07001336config RTC_DRV_RS5C313
1337 tristate "Ricoh RS5C313"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -07001338 depends on SH_LANDISK
Nobuhiro Iwamatsue9f2bd82007-05-08 00:26:37 -07001339 help
1340 If you say yes here you get support for the Ricoh RS5C313 RTC chips.
1341
Geert Uytterhoeven3afe6d02009-02-19 16:46:49 +01001342config RTC_DRV_GENERIC
1343 tristate "Generic RTC support"
1344 # Please consider writing a new RTC driver instead of using the generic
1345 # RTC abstraction
Paul Mundt47c8a082009-04-27 17:34:39 +09001346 depends on PARISC || M68K || PPC || SUPERH32
Kyle McMartin9eb16862008-09-10 14:24:07 +00001347 help
Geert Uytterhoeven3afe6d02009-02-19 16:46:49 +01001348 Say Y or M here to enable RTC support on systems using the generic
1349 RTC abstraction. If you do not know what you are doing, you should
Kyle McMartin9eb16862008-09-10 14:24:07 +00001350 just say Y.
1351
Robert Jarzmikdc944362009-01-06 14:42:14 -08001352config RTC_DRV_PXA
Rob Herring3cdf4ad2015-05-13 09:20:04 -05001353 tristate "PXA27x/PXA3xx"
1354 depends on ARCH_PXA
1355 select RTC_DRV_SA1100
1356 help
1357 If you say Y here you will get access to the real time clock
1358 built into your PXA27x or PXA3xx CPU. This RTC is actually 2 RTCs
1359 consisting of an SA1100 compatible RTC and the extended PXA RTC.
Robert Jarzmikdc944362009-01-06 14:42:14 -08001360
Alexandre Belloni98ab2c92015-05-09 21:21:54 +02001361 This RTC driver uses PXA RTC registers available since pxa27x
1362 series (RDxR, RYxR) instead of legacy RCNR, RTAR.
Robert Jarzmikdc944362009-01-06 14:42:14 -08001363
Alexey Charkovf77fbdf2011-05-26 16:25:03 -07001364config RTC_DRV_VT8500
1365 tristate "VIA/WonderMedia 85xx SoC RTC"
1366 depends on ARCH_VT8500
1367 help
1368 If you say Y here you will get access to the real time clock
1369 built into your VIA VT8500 SoC or its relatives.
1370
Robert Jarzmikdc944362009-01-06 14:42:14 -08001371
David S. Miller7a138ed2008-08-29 01:32:43 -07001372config RTC_DRV_SUN4V
1373 bool "SUN4V Hypervisor RTC"
1374 depends on SPARC64
1375 help
1376 If you say Y here you will get support for the Hypervisor
1377 based RTC on SUN4V systems.
1378
Chen-Yu Tsai9765d2d2014-08-26 11:54:55 +08001379config RTC_DRV_SUN6I
1380 tristate "Allwinner A31 RTC"
Andre Przywara28639342016-02-01 17:39:22 +00001381 default MACH_SUN6I || MACH_SUN8I
1382 depends on ARCH_SUNXI
Chen-Yu Tsai9765d2d2014-08-26 11:54:55 +08001383 help
Andre Przywara28639342016-02-01 17:39:22 +00001384 If you say Y here you will get support for the RTC found in
1385 some Allwinner SoCs like the A31 or the A64.
Chen-Yu Tsai9765d2d2014-08-26 11:54:55 +08001386
Carlo Caione594c6fb2013-11-16 18:33:54 +01001387config RTC_DRV_SUNXI
1388 tristate "Allwinner sun4i/sun7i RTC"
Chen-Yu Tsai64a19252014-08-26 11:54:56 +08001389 depends on MACH_SUN4I || MACH_SUN7I
Carlo Caione594c6fb2013-11-16 18:33:54 +01001390 help
1391 If you say Y here you will get support for the RTC found on
1392 Allwinner A10/A20.
1393
David S. Millerde2cf332008-08-28 23:02:36 -07001394config RTC_DRV_STARFIRE
1395 bool "Starfire RTC"
1396 depends on SPARC64
1397 help
1398 If you say Y here you will get support for the RTC found on
1399 Starfire systems.
1400
Atsushi Nemoto0e149232009-01-06 14:42:22 -08001401config RTC_DRV_TX4939
1402 tristate "TX4939 SoC"
1403 depends on SOC_TX4939
1404 help
1405 Driver for the internal RTC (Realtime Clock) module found on
1406 Toshiba TX4939 SoC.
1407
Saeed Bisharadefb4512009-01-06 14:42:24 -08001408config RTC_DRV_MV
1409 tristate "Marvell SoC RTC"
Andrew Lunnace2c022014-08-30 18:46:10 +02001410 depends on ARCH_DOVE || ARCH_MVEBU
Saeed Bisharadefb4512009-01-06 14:42:24 -08001411 help
1412 If you say yes here you will get support for the in-chip RTC
1413 that can be found in some of Marvell's SoC devices, such as
1414 the Kirkwood 88F6281 and 88F6192.
1415
1416 This driver can also be built as a module. If so, the module
1417 will be called rtc-mv.
1418
Gregory CLEMENTa3a42802015-02-13 14:41:11 -08001419config RTC_DRV_ARMADA38X
1420 tristate "Armada 38x Marvell SoC RTC"
1421 depends on ARCH_MVEBU
1422 help
1423 If you say yes here you will get support for the in-chip RTC
1424 that can be found in the Armada 38x Marvell's SoC device
1425
1426 This driver can also be built as a module. If so, the module
1427 will be called armada38x-rtc.
1428
Hans Ulli Kroll98a9bb52015-05-20 17:49:31 +02001429config RTC_DRV_GEMINI
1430 tristate "Gemini SoC RTC"
1431 depends on ARCH_GEMINI || COMPILE_TEST
1432 depends on HAS_IOMEM
1433 help
1434 If you say Y here you will get support for the
1435 RTC found on Gemini SoC's.
1436
1437 This driver can also be built as a module. If so, the module
1438 will be called rtc-gemini.
1439
Geert Uytterhoeven0b5f0372009-02-24 14:04:20 +01001440config RTC_DRV_PS3
1441 tristate "PS3 RTC"
1442 depends on PPC_PS3
1443 help
1444 If you say yes here you will get support for the RTC on PS3.
1445
1446 This driver can also be built as a module. If so, the module
1447 will be called rtc-ps3.
1448
Linus Walleijaa958f52009-09-22 16:46:24 -07001449config RTC_DRV_COH901331
1450 tristate "ST-Ericsson COH 901 331 RTC"
1451 depends on ARCH_U300
1452 help
1453 If you say Y here you will get access to ST-Ericsson
1454 COH 901 331 RTC clock found in some ST-Ericsson Mobile
1455 Platforms.
1456
1457 This driver can also be built as a module. If so, the module
1458 will be called "rtc-coh901331".
1459
1460
dmitry pervushindf17f632009-09-22 16:46:26 -07001461config RTC_DRV_STMP
Wolfram Sang46b21212011-05-25 12:56:50 +02001462 tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
1463 depends on ARCH_MXS
Alexandre Belloni20d048a2015-05-03 11:29:44 +02001464 select STMP_DEVICE
dmitry pervushindf17f632009-09-22 16:46:26 -07001465 help
1466 If you say yes here you will get support for the onboard
Wolfram Sang46b21212011-05-25 12:56:50 +02001467 STMP3xxx/i.MX23/i.MX28 RTC.
dmitry pervushindf17f632009-09-22 16:46:26 -07001468
1469 This driver can also be built as a module. If so, the module
1470 will be called rtc-stmp3xxx.
1471
Daniel Ribeirod3c7a3f2009-09-22 16:46:27 -07001472config RTC_DRV_PCAP
1473 tristate "PCAP RTC"
1474 depends on EZX_PCAP
1475 help
1476 If you say Y here you will get support for the RTC found on
1477 the PCAP2 ASIC used on some Motorola phones.
1478
Uwe Kleine-König1c978722010-10-28 12:30:53 +02001479config RTC_DRV_MC13XXX
1480 depends on MFD_MC13XXX
1481 tristate "Freescale MC13xxx RTC"
Uwe Kleine-König43299f2852009-12-15 16:46:09 -08001482 help
Uwe Kleine-König1c978722010-10-28 12:30:53 +02001483 This enables support for the RTCs found on Freescale's PMICs
1484 MC13783 and MC13892.
Uwe Kleine-König43299f2852009-12-15 16:46:09 -08001485
Anatolij Gustschin50aae722010-02-16 10:47:35 -07001486config RTC_DRV_MPC5121
1487 tristate "Freescale MPC5121 built-in RTC"
Dmitry Eremin-Solenikov955dbea2011-07-25 17:13:30 -07001488 depends on PPC_MPC512x || PPC_MPC52xx
Anatolij Gustschin50aae722010-02-16 10:47:35 -07001489 help
1490 If you say yes here you will get support for the
Dmitry Eremin-Solenikov955dbea2011-07-25 17:13:30 -07001491 built-in RTC on MPC5121 or on MPC5200.
Anatolij Gustschin50aae722010-02-16 10:47:35 -07001492
1493 This driver can also be built as a module. If so, the module
1494 will be called rtc-mpc5121.
1495
Lars-Peter Clausen3bf0eea2010-06-19 18:29:50 +00001496config RTC_DRV_JZ4740
1497 tristate "Ingenic JZ4740 SoC"
Lars-Peter Clausen3bf0eea2010-06-19 18:29:50 +00001498 depends on MACH_JZ4740
1499 help
1500 If you say yes here you get support for the Ingenic JZ4740 SoC RTC
1501 controller.
1502
1503 This driver can also be buillt as a module. If so, the module
1504 will be called rtc-jz4740.
1505
Joachim Eastwoodc28b42e2015-07-11 19:28:49 +02001506config RTC_DRV_LPC24XX
1507 tristate "NXP RTC for LPC178x/18xx/408x/43xx"
1508 depends on ARCH_LPC18XX || COMPILE_TEST
1509 depends on OF && HAS_IOMEM
1510 help
1511 This enables support for the NXP RTC found which can be found on
1512 NXP LPC178x/18xx/408x/43xx devices.
1513
1514 If you have one of the devices above enable this driver to use
1515 the hardware RTC. This driver can also be buillt as a module. If
1516 so, the module will be called rtc-lpc24xx.
1517
Kevin Wells9aa449b2010-10-27 15:33:01 -07001518config RTC_DRV_LPC32XX
1519 depends on ARCH_LPC32XX
1520 tristate "NXP LPC32XX RTC"
1521 help
1522 This enables support for the NXP RTC in the LPC32XX
1523
1524 This driver can also be buillt as a module. If so, the module
1525 will be called rtc-lpc32xx.
1526
Anirudh Ghayal9a9a54a2011-07-25 17:13:33 -07001527config RTC_DRV_PM8XXX
1528 tristate "Qualcomm PMIC8XXX RTC"
Stanimir Varbanovc8d523a2014-10-29 14:50:33 -07001529 depends on MFD_PM8XXX || MFD_SPMI_PMIC
Anirudh Ghayal9a9a54a2011-07-25 17:13:33 -07001530 help
1531 If you say yes here you get support for the
1532 Qualcomm PMIC8XXX RTC.
1533
1534 To compile this driver as a module, choose M here: the
1535 module will be called rtc-pm8xxx.
1536
Andrew Chewff859ba2011-03-22 16:34:55 -07001537config RTC_DRV_TEGRA
1538 tristate "NVIDIA Tegra Internal RTC driver"
Venu Byravarasu6b8029f2012-10-04 17:13:59 -07001539 depends on ARCH_TEGRA
Andrew Chewff859ba2011-03-22 16:34:55 -07001540 help
1541 If you say yes here you get support for the
1542 Tegra 200 series internal RTC module.
1543
1544 This drive can also be built as a module. If so, the module
1545 will be called rtc-tegra.
1546
Chris Metcalfdd196a22011-05-09 13:28:43 -04001547config RTC_DRV_TILE
1548 tristate "Tilera hypervisor RTC support"
1549 depends on TILE
1550 help
1551 Enable support for the Linux driver side of the Tilera
1552 hypervisor's real-time clock interface.
1553
Guan Xuetao2809e802011-05-26 16:43:27 +08001554config RTC_DRV_PUV3
1555 tristate "PKUnity v3 RTC support"
1556 depends on ARCH_PUV3
1557 help
1558 This enables support for the RTC in the PKUnity-v3 SoCs.
1559
1560 This drive can also be built as a module. If so, the module
1561 will be called rtc-puv3.
1562
zhao zhangb4f0b882012-03-23 15:02:32 -07001563config RTC_DRV_LOONGSON1
1564 tristate "loongson1 RTC support"
Huacai Chen30ad29b2015-04-21 10:00:35 +08001565 depends on MACH_LOONGSON32
zhao zhangb4f0b882012-03-23 15:02:32 -07001566 help
1567 This is a driver for the loongson1 on-chip Counter0 (Time-Of-Year
1568 counter) to be used as a RTC.
1569
1570 This driver can also be built as a module. If so, the module
1571 will be called rtc-ls1x.
1572
Fabio Estevam79811592012-05-29 15:07:37 -07001573config RTC_DRV_MXC
Fabio Estevamb224b9a2012-05-29 15:07:37 -07001574 tristate "Freescale MXC Real Time Clock"
1575 depends on ARCH_MXC
Fabio Estevamb224b9a2012-05-29 15:07:37 -07001576 help
1577 If you say yes here you get support for the Freescale MXC
1578 RTC module.
1579
1580 This driver can also be built as a module, if so, the module
1581 will be called "rtc-mxc".
1582
Shawn Guo179a5022012-10-04 17:13:49 -07001583config RTC_DRV_SNVS
1584 tristate "Freescale SNVS RTC support"
Shawn Guo8a0fa182015-07-13 15:58:51 +08001585 select REGMAP_MMIO
Shawn Guo179a5022012-10-04 17:13:49 -07001586 depends on HAS_IOMEM
1587 depends on OF
1588 help
1589 If you say yes here you get support for the Freescale SNVS
1590 Low Power (LP) RTC module.
1591
1592 This driver can also be built as a module, if so, the module
1593 will be called "rtc-snvs".
1594
Xianglong Due88b8152013-07-03 15:08:04 -07001595config RTC_DRV_SIRFSOC
1596 tristate "SiRFSOC RTC"
1597 depends on ARCH_SIRF
1598 help
1599 Say "yes" here to support the real time clock on SiRF SOC chips.
1600 This driver can also be built as a module called rtc-sirfsoc.
1601
Lee Jonesb5b2bdf2015-04-09 15:47:33 +01001602config RTC_DRV_ST_LPC
1603 tristate "STMicroelectronics LPC RTC"
1604 depends on ARCH_STI
1605 depends on OF
1606 help
1607 Say Y here to include STMicroelectronics Low Power Controller
1608 (LPC) based RTC support.
1609
1610 To compile this driver as a module, choose M here: the
1611 module will be called rtc-st-lpc.
1612
Jonas Jensen453b4c62013-09-11 14:24:17 -07001613config RTC_DRV_MOXART
1614 tristate "MOXA ART RTC"
Jean Delvare441fb762014-08-08 14:20:05 -07001615 depends on ARCH_MOXART || COMPILE_TEST
Jonas Jensen453b4c62013-09-11 14:24:17 -07001616 help
1617 If you say yes here you get support for the MOXA ART
1618 RTC module.
1619
1620 This driver can also be built as a module. If so, the module
1621 will be called rtc-moxart
1622
Tianping Fangfc297912015-05-06 15:23:41 +08001623config RTC_DRV_MT6397
1624 tristate "Mediatek Real Time Clock driver"
Arnd Bergmann04d3ba72016-01-25 17:04:46 +01001625 depends on MFD_MT6397 || (COMPILE_TEST && IRQ_DOMAIN)
Tianping Fangfc297912015-05-06 15:23:41 +08001626 help
1627 This selects the Mediatek(R) RTC driver. RTC is part of Mediatek
1628 MT6397 PMIC. You should enable MT6397 PMIC MFD before select
1629 Mediatek(R) RTC driver.
1630
1631 If you want to use Mediatek(R) RTC interface, select Y or M here.
1632
Loc Hof12d8692014-06-06 14:35:42 -07001633config RTC_DRV_XGENE
1634 tristate "APM X-Gene RTC"
Chen Gang706b6322014-10-13 15:53:14 -07001635 depends on HAS_IOMEM
Jean Delvarefdf8afa2015-05-06 09:24:42 +02001636 depends on ARCH_XGENE || COMPILE_TEST
Loc Hof12d8692014-06-06 14:35:42 -07001637 help
1638 If you say yes here you get support for the APM X-Gene SoC real time
1639 clock.
1640
1641 This driver can also be built as a module, if so, the module
1642 will be called "rtc-xgene".
1643
Joshua Henderson51aa9052016-02-25 10:30:44 -07001644config RTC_DRV_PIC32
1645 tristate "Microchip PIC32 RTC"
1646 depends on MACH_PIC32
1647 default y
1648 help
1649 If you say yes here you get support for the PIC32 RTC module.
1650
1651 This driver can also be built as a module. If so, the module
1652 will be called rtc-pic32
1653
Alexander Holler62e00cb2012-12-15 12:45:00 +00001654comment "HID Sensor RTC drivers"
1655
1656config RTC_DRV_HID_SENSOR_TIME
1657 tristate "HID Sensor Time"
1658 depends on USB_HID
1659 select IIO
1660 select HID_SENSOR_HUB
1661 select HID_SENSOR_IIO_COMMON
1662 help
1663 Say yes here to build support for the HID Sensors of type Time.
1664 This drivers makes such sensors available as RTCs.
1665
1666 If this driver is compiled as a module, it will be named
1667 rtc-hid-sensor-time.
1668
1669
Jan Engelhardtbb35fb22007-07-31 00:39:46 -07001670endif # RTC_CLASS