blob: 0e5044cd84ddafb8a01a4df781f9b5d6cbe79b41 [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
Arnd Bergmannd6faca42016-06-01 16:46:23 +02008config RTC_MC146818_LIB
9 bool
10 select RTC_LIB
11
Jan Engelhardtbb35fb22007-07-31 00:39:46 -070012menuconfig RTC_CLASS
John Stultzb4d246b2011-04-29 15:03:11 -070013 bool "Real Time Clock"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080014 default n
Al Viro33694652011-08-18 20:11:59 +010015 depends on !S390 && !UML
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080016 select RTC_LIB
17 help
18 Generic RTC class support. If you say yes here, you will
Alexandre Belloni98ab2c92015-05-09 21:21:54 +020019 be allowed to plug one or more RTCs to your system. You will
Adrian Bunk27ae4102006-06-30 18:18:41 +020020 probably want to enable one or more of the interfaces below.
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080021
Jan Engelhardtbb35fb22007-07-31 00:39:46 -070022if RTC_CLASS
23
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080024config RTC_HCTOSYS
David Brownell7ca1d482007-05-08 00:33:42 -070025 bool "Set system time from RTC on startup and resume"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080026 default y
27 help
David Brownell7ca1d482007-05-08 00:33:42 -070028 If you say yes here, the system time (wall clock) will be set using
29 the value read from a specified RTC device. This is useful to avoid
30 unnecessary fsck runs at boot time, and to network better.
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080031
32config RTC_HCTOSYS_DEVICE
David Brownell7ca1d482007-05-08 00:33:42 -070033 string "RTC used to set the system time"
Xunlei Pang9c5150b2015-06-12 11:10:16 +080034 depends on RTC_HCTOSYS
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080035 default "rtc0"
36 help
David Brownell7ca1d482007-05-08 00:33:42 -070037 The RTC device that will be used to (re)initialize the system
Alessandro Zummoae64d162009-01-06 14:42:17 -080038 clock, usually rtc0. Initialization is done when the system
39 starts up, and when it resumes from a low power state. This
David Brownell779d2082007-11-14 16:58:29 -080040 device should record time in UTC, since the kernel won't do
41 timezone correction.
David Brownell7ca1d482007-05-08 00:33:42 -070042
David Brownell55ff1ab2007-07-21 04:37:56 -070043 The driver for this RTC device must be loaded before late_initcall
44 functions run, so it must usually be statically linked.
45
David Brownell7ca1d482007-05-08 00:33:42 -070046 This clock should be battery-backed, so that it reads the correct
Alessandro Zummoae64d162009-01-06 14:42:17 -080047 time when the system boots from a power-off state. Otherwise, your
David Brownell7ca1d482007-05-08 00:33:42 -070048 system will need an external clock source (like an NTP server).
49
50 If the clock you specify here is not battery backed, it may still
51 be useful to reinitialize system time when resuming from system
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -080052 sleep states. Do not specify an RTC here unless it stays powered
David Brownell7ca1d482007-05-08 00:33:42 -070053 during all this system's supported sleep states.
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080054
Xunlei Pang9c5150b2015-06-12 11:10:16 +080055config RTC_SYSTOHC
56 bool "Set the RTC time based on NTP synchronization"
57 default y
58 help
59 If you say yes here, the system time (wall clock) will be stored
60 in the RTC specified by RTC_HCTOSYS_DEVICE approximately every 11
61 minutes if userspace reports synchronized NTP status.
62
63config RTC_SYSTOHC_DEVICE
64 string "RTC used to synchronize NTP adjustment"
65 depends on RTC_SYSTOHC
66 default RTC_HCTOSYS_DEVICE if RTC_HCTOSYS
67 default "rtc0"
68 help
69 The RTC device used for NTP synchronization. The main difference
70 between RTC_HCTOSYS_DEVICE and RTC_SYSTOHC_DEVICE is that this
71 one can sleep when setting time, because it runs in the workqueue
72 context.
73
David Brownell9e86ecb2006-09-30 23:28:14 -070074config RTC_DEBUG
75 bool "RTC debug support"
David Brownell9e86ecb2006-09-30 23:28:14 -070076 help
77 Say yes here to enable debugging support in the RTC framework
78 and individual RTC drivers.
79
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080080comment "RTC interfaces"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080081
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080082config RTC_INTF_SYSFS
Christoph Jaeger6341e622014-12-20 15:41:11 -050083 bool "/sys/class/rtc/rtcN (sysfs)"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -070084 depends on SYSFS
Kevin Hilman8dc08392012-10-10 15:54:06 -070085 default RTC_CLASS
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080086 help
David Brownell9e86ecb2006-09-30 23:28:14 -070087 Say yes here if you want to use your RTCs using sysfs interfaces,
88 /sys/class/rtc/rtc0 through /sys/.../rtcN.
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080089
Alessandro Zummoae64d162009-01-06 14:42:17 -080090 If unsure, say Y.
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080091
Alessandro Zummo728a2942006-03-27 01:16:40 -080092config RTC_INTF_PROC
Christoph Jaeger6341e622014-12-20 15:41:11 -050093 bool "/proc/driver/rtc (procfs for rtcN)"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -070094 depends on PROC_FS
Kevin Hilman8dc08392012-10-10 15:54:06 -070095 default RTC_CLASS
Alessandro Zummo728a2942006-03-27 01:16:40 -080096 help
Kim, Milo92589c92012-10-04 17:13:45 -070097 Say yes here if you want to use your system clock RTC through
98 the proc interface, /proc/driver/rtc.
99 Other RTCs will not be available through that API.
100 If there is no RTC for the system clock, then the first RTC(rtc0)
101 is used by default.
Alessandro Zummo728a2942006-03-27 01:16:40 -0800102
Alessandro Zummoae64d162009-01-06 14:42:17 -0800103 If unsure, say Y.
Alessandro Zummo728a2942006-03-27 01:16:40 -0800104
Alessandro Zummoe8242902006-03-27 01:16:41 -0800105config RTC_INTF_DEV
Christoph Jaeger6341e622014-12-20 15:41:11 -0500106 bool "/dev/rtcN (character devices)"
Kevin Hilman8dc08392012-10-10 15:54:06 -0700107 default RTC_CLASS
Alessandro Zummoe8242902006-03-27 01:16:41 -0800108 help
David Brownell9e86ecb2006-09-30 23:28:14 -0700109 Say yes here if you want to use your RTCs using the /dev
110 interfaces, which "udev" sets up as /dev/rtc0 through
Alessandro Zummoae64d162009-01-06 14:42:17 -0800111 /dev/rtcN.
Alessandro Zummoe8242902006-03-27 01:16:41 -0800112
Alessandro Zummoae64d162009-01-06 14:42:17 -0800113 You may want to set up a symbolic link so one of these
114 can be accessed as /dev/rtc, which is a name
115 expected by "hwclock" and some other programs. Recent
116 versions of "udev" are known to set up the symlink for you.
117
118 If unsure, say Y.
Alessandro Zummoe8242902006-03-27 01:16:41 -0800119
John Stultz6e57b1d2011-02-11 17:45:40 -0800120config RTC_INTF_DEV_UIE_EMUL
121 bool "RTC UIE emulation on dev interface"
122 depends on RTC_INTF_DEV
123 help
124 Provides an emulation for RTC_UIE if the underlying rtc chip
125 driver does not expose RTC_UIE ioctls. Those requests generate
126 once-per-second update interrupts, used for synchronization.
127
128 The emulation code will read the time from the hardware
129 clock several times per second, please enable this option
130 only if you know that you really need it.
131
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700132config RTC_DRV_TEST
133 tristate "Test driver/device"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700134 help
135 If you say yes here you get support for the
136 RTC test driver. It's a software RTC which can be
137 used to test the RTC subsystem APIs. It gets
138 the time from the system clock.
139 You want this driver only if you are doing development
140 on the RTC subsystem. Please read the source code
141 for further details.
142
143 This driver can also be built as a module. If so, the module
144 will be called rtc-test.
145
146comment "I2C RTC drivers"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700147
148if I2C
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700149
Haojian Zhuang008b3042011-05-06 17:21:20 +0800150config RTC_DRV_88PM860X
151 tristate "Marvell 88PM860x"
Alexandre Belloni37830552015-06-08 19:27:37 +0200152 depends on MFD_88PM860X
Haojian Zhuang008b3042011-05-06 17:21:20 +0800153 help
154 If you say yes here you get support for RTC function in Marvell
155 88PM860x chips.
156
157 This driver can also be built as a module. If so, the module
158 will be called rtc-88pm860x.
159
Qiao Zhou2985c292012-07-09 14:37:34 +0800160config RTC_DRV_88PM80X
161 tristate "Marvell 88PM80x"
Alexandre Belloni37830552015-06-08 19:27:37 +0200162 depends on MFD_88PM800
Qiao Zhou2985c292012-07-09 14:37:34 +0800163 help
164 If you say yes here you get support for RTC function in Marvell
165 88PM80x chips.
166
167 This driver can also be built as a module. If so, the module
168 will be called rtc-88pm80x.
169
Arnaud Ebalard0b2f6222015-02-13 14:41:00 -0800170config RTC_DRV_ABB5ZES3
Alexandre Belloni98ab2c92015-05-09 21:21:54 +0200171 select REGMAP_I2C
172 tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
173 help
Arnaud Ebalard0b2f6222015-02-13 14:41:00 -0800174 If you say yes here you get support for the Abracon
175 AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip.
176
177 This driver can also be built as a module. If so, the module
178 will be called rtc-ab-b5ze-s3.
179
Philippe De Muyter4d61ff62015-05-05 16:23:44 -0700180config RTC_DRV_ABX80X
181 tristate "Abracon ABx80x"
182 help
183 If you say yes here you get support for Abracon AB080X and AB180X
184 families of ultra-low-power battery- and capacitor-backed real-time
185 clock chips.
186
187 This driver can also be built as a module. If so, the module
188 will be called rtc-abx80x.
189
Chen-Yu Tsaid00a18a2016-07-08 22:33:38 +0800190config RTC_DRV_AC100
191 tristate "X-Powers AC100"
192 depends on MFD_AC100
193 help
194 If you say yes here you get support for the real-time clock found
195 in X-Powers AC100 family peripheral ICs.
196
197 This driver can also be built as a module. If so, the module
198 will be called rtc-ac100.
199
Brian Norrisc4f07ec2017-06-26 14:15:03 -0700200config RTC_DRV_BRCMSTB
201 tristate "Broadcom STB wake-timer"
202 depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
203 default ARCH_BRCMSTB || BMIPS_GENERIC
204 help
205 If you say yes here you get support for the wake-timer found on
206 Broadcom STB SoCs (BCM7xxx).
207
208 This driver can also be built as a module. If so, the module will
209 be called rtc-brcmstb-waketimer.
210
Laxman Dewanganb4506262013-11-12 15:11:05 -0800211config RTC_DRV_AS3722
212 tristate "ams AS3722 RTC driver"
213 depends on MFD_AS3722
214 help
215 If you say yes here you get support for the RTC of ams AS3722 PMIC
216 chips.
217
218 This driver can also be built as a module. If so, the module
219 will be called rtc-as3722.
220
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700221config RTC_DRV_DS1307
Alexandre Belloni78aaa062016-07-13 02:36:41 +0200222 tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00, EPSON RX-8025, ISL12057"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700223 help
224 If you say yes here you get support for various compatible RTC
Alessandro Zummoae64d162009-01-06 14:42:17 -0800225 chips (often with battery backup) connected with I2C. This driver
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700226 should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
Alexandre Belloni78aaa062016-07-13 02:36:41 +0200227 EPSON RX-8025, Intersil ISL12057 and probably other chips. In some
228 cases the RTC must already have been initialized (by manufacturing or
229 a bootloader).
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700230
231 The first seven registers on these chips hold an RTC, and other
232 registers may add features such as NVRAM, a trickle charger for
Alessandro Zummoae64d162009-01-06 14:42:17 -0800233 the RTC/NVRAM backup power, and alarms. NVRAM is visible in
David Brownell682d73f2007-11-14 16:58:32 -0800234 sysfs, but other chip features may not be available.
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700235
236 This driver can also be built as a module. If so, the module
237 will be called rtc-ds1307.
238
Akinobu Mita445c0202016-01-25 00:22:16 +0900239config RTC_DRV_DS1307_HWMON
240 bool "HWMON support for rtc-ds1307"
241 depends on RTC_DRV_DS1307 && HWMON
242 depends on !(RTC_DRV_DS1307=y && HWMON=m)
243 default y
244 help
245 Say Y here if you want to expose temperature sensor data on
246 rtc-ds1307 (only DS3231)
247
Alexandre Belloni50d6c0e2016-07-13 02:26:08 +0200248config RTC_DRV_DS1307_CENTURY
249 bool "Century bit support for rtc-ds1307"
250 depends on RTC_DRV_DS1307
251 default n
252 help
253 The DS1307 driver suffered from a bug where it was enabling the
254 century bit inconditionnally but never used it when reading the time.
255 It made the driver unable to support dates beyond 2099.
256 Setting this option will add proper support for the century bit but if
257 the time was previously set using a kernel predating this option,
258 reading the date will return a date in the next century.
259 To solve that, you could boot a kernel without this option set, set
260 the RTC date and then boot a kernel with this option set.
261
Scott Woodbf4994d2007-10-16 01:28:19 -0700262config RTC_DRV_DS1374
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800263 tristate "Dallas/Maxim DS1374"
Scott Woodbf4994d2007-10-16 01:28:19 -0700264 help
265 If you say yes here you get support for Dallas Semiconductor
Alessandro Zummoae64d162009-01-06 14:42:17 -0800266 DS1374 real-time clock chips. If an interrupt is associated
Scott Woodbf4994d2007-10-16 01:28:19 -0700267 with the device, the alarm functionality is supported.
268
Alessandro Zummoae64d162009-01-06 14:42:17 -0800269 This driver can also be built as a module. If so, the module
Scott Woodbf4994d2007-10-16 01:28:19 -0700270 will be called rtc-ds1374.
271
Søren Andersen920f91e2014-12-10 15:53:54 -0800272config RTC_DRV_DS1374_WDT
273 bool "Dallas/Maxim DS1374 watchdog timer"
274 depends on RTC_DRV_DS1374
275 help
276 If you say Y here you will get support for the
277 watchdog timer in the Dallas Semiconductor DS1374
278 real-time clock chips.
279
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700280config RTC_DRV_DS1672
281 tristate "Dallas/Maxim DS1672"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700282 help
283 If you say yes here you get support for the
284 Dallas/Maxim DS1672 timekeeping chip.
285
286 This driver can also be built as a module. If so, the module
287 will be called rtc-ds1672.
288
Heiko Stuebnerdcaf0382014-01-23 15:55:10 -0800289config RTC_DRV_HYM8563
290 tristate "Haoyu Microelectronics HYM8563"
Alexandre Belloni37830552015-06-08 19:27:37 +0200291 depends on OF
Heiko Stuebnerdcaf0382014-01-23 15:55:10 -0800292 help
293 Say Y to enable support for the HYM8563 I2C RTC chip. Apart
294 from the usual rtc functions it provides a clock output of
295 up to 32kHz.
296
297 This driver can also be built as a module. If so, the module
298 will be called rtc-hym8563.
299
Kim, Milo38ae1762013-02-21 16:44:32 -0800300config RTC_DRV_LP8788
301 tristate "TI LP8788 RTC driver"
302 depends on MFD_LP8788
303 help
304 Say Y to enable support for the LP8788 RTC/ALARM driver.
305
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700306config RTC_DRV_MAX6900
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800307 tristate "Maxim MAX6900"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700308 help
309 If you say yes here you will get support for the
310 Maxim MAX6900 I2C RTC chip.
311
312 This driver can also be built as a module. If so, the module
313 will be called rtc-max6900.
314
Stephen Warren94c01ab2012-10-04 17:13:56 -0700315config RTC_DRV_MAX8907
316 tristate "Maxim MAX8907"
Krzysztof Kozlowski959df772016-10-02 22:58:16 +0200317 depends on MFD_MAX8907 || COMPILE_TEST
Stephen Warren94c01ab2012-10-04 17:13:56 -0700318 help
319 If you say yes here you will get support for the
320 RTC of Maxim MAX8907 PMIC.
321
322 This driver can also be built as a module. If so, the module
323 will be called rtc-max8907.
324
Haojian Zhuanga39069f2010-01-25 06:30:29 -0500325config RTC_DRV_MAX8925
326 tristate "Maxim MAX8925"
327 depends on MFD_MAX8925
328 help
329 If you say yes here you will get support for the
330 RTC of Maxim MAX8925 PMIC.
331
332 This driver can also be built as a module. If so, the module
333 will be called rtc-max8925.
334
Joonyoung Shim9b16c0a2010-08-06 11:28:08 +0900335config RTC_DRV_MAX8998
336 tristate "Maxim MAX8998"
337 depends on MFD_MAX8998
338 help
339 If you say yes here you will get support for the
340 RTC of Maxim MAX8998 PMIC.
341
342 This driver can also be built as a module. If so, the module
343 will be called rtc-max8998.
344
Jonghwa Lee5e0b2702013-02-21 16:45:07 -0800345config RTC_DRV_MAX8997
346 tristate "Maxim MAX8997"
347 depends on MFD_MAX8997
348 help
349 If you say yes here you will get support for the
350 RTC of Maxim MAX8997 PMIC.
351
352 This driver can also be built as a module. If so, the module
353 will be called rtc-max8997.
354
Jonghwa Leefca1dd02013-02-21 16:44:26 -0800355config RTC_DRV_MAX77686
356 tristate "Maxim MAX77686"
Krzysztof Kozlowski959df772016-10-02 22:58:16 +0200357 depends on MFD_MAX77686 || MFD_MAX77620 || COMPILE_TEST
Jonghwa Leefca1dd02013-02-21 16:44:26 -0800358 help
359 If you say yes here you will get support for the
Laxman Dewangan726fe732016-03-02 14:06:24 +0530360 RTC of Maxim MAX77686/MAX77620/MAX77802 PMIC.
Jonghwa Leefca1dd02013-02-21 16:44:26 -0800361
362 This driver can also be built as a module. If so, the module
363 will be called rtc-max77686.
364
Chris Zhong3ca1e322014-10-13 15:52:42 -0700365config RTC_DRV_RK808
Wadim Egorov5d2fd5c2016-08-29 13:08:01 +0200366 tristate "Rockchip RK808/RK818 RTC"
Chris Zhong3ca1e322014-10-13 15:52:42 -0700367 depends on MFD_RK808
368 help
369 If you say yes here you will get support for the
Wadim Egorov5d2fd5c2016-08-29 13:08:01 +0200370 RTC of RK808 and RK818 PMIC.
Chris Zhong3ca1e322014-10-13 15:52:42 -0700371
372 This driver can also be built as a module. If so, the module
373 will be called rk808-rtc.
374
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700375config RTC_DRV_RS5C372
Paul Mundt5d4529b2008-10-21 20:12:59 +0900376 tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700377 help
378 If you say yes here you get support for the
Paul Mundt5d4529b2008-10-21 20:12:59 +0900379 Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700380
381 This driver can also be built as a module. If so, the module
382 will be called rtc-rs5c372.
383
384config RTC_DRV_ISL1208
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800385 tristate "Intersil ISL1208"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700386 help
387 If you say yes here you get support for the
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800388 Intersil ISL1208 RTC chip.
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700389
390 This driver can also be built as a module. If so, the module
391 will be called rtc-isl1208.
392
Roman Fietzed6c74282010-08-10 18:02:14 -0700393config RTC_DRV_ISL12022
394 tristate "Intersil ISL12022"
395 help
396 If you say yes here you get support for the
397 Intersil ISL12022 RTC chip.
398
399 This driver can also be built as a module. If so, the module
400 will be called rtc-isl12022.
401
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700402config RTC_DRV_X1205
403 tristate "Xicor/Intersil X1205"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700404 help
405 If you say yes here you get support for the
406 Xicor/Intersil X1205 RTC chip.
407
408 This driver can also be built as a module. If so, the module
409 will be called rtc-x1205.
410
Thierry Redingf803f0d2012-12-17 16:02:44 -0800411config RTC_DRV_PCF8523
412 tristate "NXP PCF8523"
413 help
414 If you say yes here you get support for the NXP PCF8523 RTC
415 chips.
416
417 This driver can also be built as a module. If so, the module
418 will be called rtc-pcf8523.
419
Soren Brinkmannd0848852015-11-03 23:13:46 -0800420config RTC_DRV_PCF85063
421 tristate "NXP PCF85063"
422 help
423 If you say yes here you get support for the PCF85063 RTC chip
424
425 This driver can also be built as a module. If so, the module
426 will be called rtc-pcf85063.
427
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700428config RTC_DRV_PCF8563
429 tristate "Philips PCF8563/Epson RTC8564"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700430 help
431 If you say yes here you get support for the
432 Philips PCF8563 RTC chip. The Epson RTC8564
433 should work as well.
434
435 This driver can also be built as a module. If so, the module
436 will be called rtc-pcf8563.
437
438config RTC_DRV_PCF8583
439 tristate "Philips PCF8583"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700440 help
441 If you say yes here you get support for the Philips PCF8583
442 RTC chip found on Acorn RiscPCs. This driver supports the
443 platform specific method of retrieving the current year from
444 the RTC's SRAM. It will work on other platforms with the same
445 chip, but the year will probably have to be tweaked.
446
447 This driver can also be built as a module. If so, the module
448 will be called rtc-pcf8583.
449
Atsushi Nemotocaaff562007-07-17 04:05:02 -0700450config RTC_DRV_M41T80
Wolfram Sang6b1a5232014-06-06 14:35:47 -0700451 tristate "ST M41T62/65/M41T80/81/82/83/84/85/87 and compatible"
Atsushi Nemotocaaff562007-07-17 04:05:02 -0700452 help
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700453 If you say Y here you will get support for the ST M41T60
454 and M41T80 RTC chips series. Currently, the following chips are
Daniel Glocknerf30281f2009-04-02 16:57:03 -0700455 supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
Wolfram Sang6b1a5232014-06-06 14:35:47 -0700456 M41ST85, M41ST87, and MicroCrystal RV4162.
Atsushi Nemotocaaff562007-07-17 04:05:02 -0700457
458 This driver can also be built as a module. If so, the module
459 will be called rtc-m41t80.
460
Atsushi Nemoto617780d2007-07-17 04:05:04 -0700461config RTC_DRV_M41T80_WDT
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700462 bool "ST M41T65/M41T80 series RTC watchdog timer"
Atsushi Nemoto617780d2007-07-17 04:05:04 -0700463 depends on RTC_DRV_M41T80
464 help
465 If you say Y here you will get support for the
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700466 watchdog timer in the ST M41T60 and M41T80 RTC chips series.
Atsushi Nemoto617780d2007-07-17 04:05:04 -0700467
Piotr Ziecik1ce7c832009-12-15 16:46:12 -0800468config RTC_DRV_BQ32K
469 tristate "TI BQ32000"
470 help
471 If you say Y here you will get support for the TI
472 BQ32000 I2C RTC chip.
473
474 This driver can also be built as a module. If so, the module
475 will be called rtc-bq32k.
476
David Brownellafd8d0f2009-02-04 15:12:01 -0800477config RTC_DRV_DM355EVM
478 tristate "TI DaVinci DM355 EVM RTC"
479 depends on MFD_DM355EVM_MSP
480 help
481 Supports the RTC firmware in the MSP430 on the DM355 EVM.
482
Tony Lindgren0c4a59f2007-07-17 04:06:09 -0700483config RTC_DRV_TWL92330
Christoph Jaeger6341e622014-12-20 15:41:11 -0500484 bool "TI TWL92330/Menelaus"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700485 depends on MENELAUS
Tony Lindgren0c4a59f2007-07-17 04:06:09 -0700486 help
487 If you say yes here you get support for the RTC on the
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200488 TWL92330 "Menelaus" power management chip, used with OMAP2
Alessandro Zummoae64d162009-01-06 14:42:17 -0800489 platforms. The support is integrated with the rest of
Tony Lindgren0c4a59f2007-07-17 04:06:09 -0700490 the Menelaus driver; it's not separate module.
491
David Brownellf96411a2008-10-20 23:50:05 +0200492config RTC_DRV_TWL4030
Balaji T Ka6b49ff2009-12-13 22:16:31 +0100493 tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
Venu Byravarasu6b8029f2012-10-04 17:13:59 -0700494 depends on TWL4030_CORE
Nicolae Rosia1c02cbfe2016-11-23 10:55:57 +0200495 depends on OF
David Brownellf96411a2008-10-20 23:50:05 +0200496 help
497 If you say yes here you get support for the RTC on the
Balaji T Ka6b49ff2009-12-13 22:16:31 +0100498 TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
David Brownellf96411a2008-10-20 23:50:05 +0200499
500 This driver can also be built as a module. If so, the module
Balaji T Ka6b49ff2009-12-13 22:16:31 +0100501 will be called rtc-twl.
David Brownellf96411a2008-10-20 23:50:05 +0200502
Soren Brinkmannd0848852015-11-03 23:13:46 -0800503config RTC_DRV_PALMAS
504 tristate "TI Palmas RTC driver"
505 depends on MFD_PALMAS
506 help
507 If you say yes here you get support for the RTC of TI PALMA series PMIC
508 chips.
509
510 This driver can also be built as a module. If so, the module
511 will be called rtc-palma.
512
Laxman Dewangandc59ed32013-01-04 15:35:44 -0800513config RTC_DRV_TPS6586X
514 tristate "TI TPS6586X RTC driver"
515 depends on MFD_TPS6586X
516 help
Masanari Iidaa895d572013-04-09 02:06:50 +0900517 TI Power Management IC TPS6586X supports RTC functionality
Laxman Dewangandc59ed32013-01-04 15:35:44 -0800518 along with alarm. This driver supports the RTC driver for
519 the TPS6586X RTC module.
520
Venu Byravarasu0e783982012-10-04 17:13:55 -0700521config RTC_DRV_TPS65910
522 tristate "TI TPS65910 RTC driver"
523 depends on RTC_CLASS && MFD_TPS65910
524 help
525 If you say yes here you get support for the RTC on the
526 TPS65910 chips.
527
528 This driver can also be built as a module. If so, the module
529 will be called rtc-tps65910.
530
Laxman Dewangan36d61822013-02-21 16:44:34 -0800531config RTC_DRV_TPS80031
532 tristate "TI TPS80031/TPS80032 RTC driver"
533 depends on MFD_TPS80031
534 help
Masanari Iidaa895d572013-04-09 02:06:50 +0900535 TI Power Management IC TPS80031 supports RTC functionality
Laxman Dewangan36d61822013-02-21 16:44:34 -0800536 along with alarm. This driver supports the RTC driver for
537 the TPS80031 RTC module.
538
Venu Byravarasu90829c02012-10-04 17:14:04 -0700539config RTC_DRV_RC5T583
540 tristate "RICOH 5T583 RTC driver"
541 depends on MFD_RC5T583
542 help
543 If you say yes here you get support for the RTC on the
544 RICOH 5T583 chips.
545
546 This driver can also be built as a module. If so, the module
547 will be called rtc-rc5t583.
548
Byron Bradleyc46288b2008-03-04 14:28:25 -0800549config RTC_DRV_S35390A
550 tristate "Seiko Instruments S-35390A"
Randy Dunlapd4795402008-04-10 21:29:18 -0700551 select BITREVERSE
Byron Bradleyc46288b2008-03-04 14:28:25 -0800552 help
553 If you say yes here you will get support for the Seiko
554 Instruments S-35390A.
555
556 This driver can also be built as a module. If so the module
557 will be called rtc-s35390a.
558
Sergey Lapinc6d8f402008-06-12 15:21:55 -0700559config RTC_DRV_FM3130
560 tristate "Ramtron FM3130"
561 help
562 If you say Y here you will get support for the
563 Ramtron FM3130 RTC chips.
564 Ramtron FM3130 is a chip with two separate devices inside,
565 RTC clock and FRAM. This driver provides only RTC functionality.
566
567 This driver can also be built as a module. If so the module
568 will be called rtc-fm3130.
569
Akshay Bhated13d892015-12-03 14:41:21 -0500570config RTC_DRV_RX8010
571 tristate "Epson RX8010SJ"
572 depends on I2C
573 help
574 If you say yes here you get support for the Epson RX8010SJ RTC
575 chip.
576
577 This driver can also be built as a module. If so, the module
578 will be called rtc-rx8010.
579
Martyn Welcha7fa9852008-11-12 13:27:06 -0800580config RTC_DRV_RX8581
581 tristate "Epson RX-8581"
582 help
583 If you say yes here you will get support for the Epson RX-8581.
584
585 This driver can also be built as a module. If so the module
586 will be called rtc-rx8581.
587
Wolfgang Grandegger3c2b9072009-06-17 16:26:11 -0700588config RTC_DRV_RX8025
589 tristate "Epson RX-8025SA/NB"
590 help
591 If you say yes here you get support for the Epson
592 RX-8025SA/NB RTC chips.
593
594 This driver can also be built as a module. If so, the module
595 will be called rtc-rx8025.
596
Mike Rapoportae3551f2011-05-26 16:25:04 -0700597config RTC_DRV_EM3027
598 tristate "EM Microelectronic EM3027"
599 help
600 If you say yes here you get support for the EM
601 Microelectronic EM3027 RTC chips.
602
603 This driver can also be built as a module. If so, the module
604 will be called rtc-em3027.
605
Alexandre Belloni1e3929e2015-11-02 23:48:32 +0100606config RTC_DRV_RV8803
Benoît Thébaudeau34166a02016-07-21 12:41:27 +0200607 tristate "Micro Crystal RV8803, Epson RX8900"
Alexandre Belloni1e3929e2015-11-02 23:48:32 +0100608 help
Benoît Thébaudeau34166a02016-07-21 12:41:27 +0200609 If you say yes here you get support for the Micro Crystal RV8803 and
610 Epson RX8900 RTC chips.
Alexandre Belloni1e3929e2015-11-02 23:48:32 +0100611
612 This driver can also be built as a module. If so, the module
613 will be called rtc-rv8803.
614
Sangbeom Kim5bccae62013-11-12 15:11:04 -0800615config RTC_DRV_S5M
Krzysztof Kozlowski0c5deb12014-06-10 15:18:46 -0700616 tristate "Samsung S2M/S5M series"
Krzysztof Kozlowski959df772016-10-02 22:58:16 +0200617 depends on MFD_SEC_CORE || COMPILE_TEST
618 select REGMAP_IRQ
Sangbeom Kim5bccae62013-11-12 15:11:04 -0800619 help
620 If you say yes here you will get support for the
Krzysztof Kozlowski0c5deb12014-06-10 15:18:46 -0700621 RTC of Samsung S2MPS14 and S5M PMIC series.
Sangbeom Kim5bccae62013-11-12 15:11:04 -0800622
623 This driver can also be built as a module. If so, the module
624 will be called rtc-s5m.
625
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700626endif # I2C
627
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700628comment "SPI RTC drivers"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700629
630if SPI_MASTER
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700631
Voss, Nikolaus74d34d42011-05-26 16:25:07 -0700632config RTC_DRV_M41T93
Alexandre Belloni98ab2c92015-05-09 21:21:54 +0200633 tristate "ST M41T93"
634 help
635 If you say yes here you will get support for the
636 ST M41T93 SPI RTC chip.
Voss, Nikolaus74d34d42011-05-26 16:25:07 -0700637
Alexandre Belloni98ab2c92015-05-09 21:21:54 +0200638 This driver can also be built as a module. If so, the module
639 will be called rtc-m41t93.
Voss, Nikolaus74d34d42011-05-26 16:25:07 -0700640
Kim B. Heino8fc2c762008-07-23 21:30:34 -0700641config RTC_DRV_M41T94
642 tristate "ST M41T94"
643 help
644 If you say yes here you will get support for the
645 ST M41T94 SPI RTC chip.
646
647 This driver can also be built as a module. If so, the module
648 will be called rtc-m41t94.
649
Sergey Yanovichd25a5ed2016-02-23 13:54:57 +0300650config RTC_DRV_DS1302
651 tristate "Dallas/Maxim DS1302"
652 depends on SPI
653 help
654 If you say yes here you get support for the Dallas DS1302 RTC chips.
655
656 This driver can also be built as a module. If so, the module
657 will be called rtc-ds1302.
658
David Brownell53e84b62008-07-23 21:30:36 -0700659config RTC_DRV_DS1305
660 tristate "Dallas/Maxim DS1305/DS1306"
661 help
662 Select this driver to get support for the Dallas/Maxim DS1305
Alessandro Zummoae64d162009-01-06 14:42:17 -0800663 and DS1306 real time clock chips. These support a trickle
David Brownell53e84b62008-07-23 21:30:36 -0700664 charger, alarms, and NVRAM in addition to the clock.
665
666 This driver can also be built as a module. If so, the module
667 will be called rtc-ds1305.
668
Raghavendra Ganiga1d6316f2014-06-06 14:35:59 -0700669config RTC_DRV_DS1343
Raghavendra Ganiga0dd449b2014-06-06 14:36:00 -0700670 select REGMAP_SPI
Raghavendra Ganiga1d6316f2014-06-06 14:35:59 -0700671 tristate "Dallas/Maxim DS1343/DS1344"
672 help
673 If you say yes here you get support for the
674 Dallas/Maxim DS1343 and DS1344 real time clock chips.
675 Support for trickle charger, alarm is provided.
676
677 This driver can also be built as a module. If so, the module
678 will be called rtc-ds1343.
679
Raghavendra Ganiga617b26a2014-04-03 14:50:16 -0700680config RTC_DRV_DS1347
Raghavendra Ganigaee85bb52016-08-31 22:56:41 +0530681 select REGMAP_SPI
Raghavendra Ganiga617b26a2014-04-03 14:50:16 -0700682 tristate "Dallas/Maxim DS1347"
683 help
684 If you say yes here you get support for the
685 Dallas/Maxim DS1347 chips.
686
687 This driver only supports the RTC feature, and not other chip
688 features such as alarms.
689
690 This driver can also be built as a module. If so, the module
691 will be called rtc-ds1347.
692
Mark Jackson06de1802008-11-12 13:27:07 -0800693config RTC_DRV_DS1390
694 tristate "Dallas/Maxim DS1390/93/94"
695 help
Alessandro Zummo7b9b2ef2009-01-06 14:42:16 -0800696 If you say yes here you get support for the
697 Dallas/Maxim DS1390/93/94 chips.
Mark Jackson06de1802008-11-12 13:27:07 -0800698
Ivan Grimaldifa395fb2015-09-18 17:27:57 +0200699 This driver supports the RTC feature and trickle charging but not
700 other chip features such as alarms.
Mark Jackson06de1802008-11-12 13:27:07 -0800701
702 This driver can also be built as a module. If so, the module
703 will be called rtc-ds1390.
704
Venkat Prashanth B U06776c82016-06-01 11:59:54 +0530705config RTC_DRV_MAX6916
706 tristate "Maxim MAX6916"
707 help
708 If you say yes here you will get support for the
709 Maxim MAX6916 SPI RTC chip.
710
711 This driver only supports the RTC feature, and not other chip
712 features such as alarms.
713
714 This driver can also be built as a module. If so, the module
715 will be called rtc-max6916.
716
Magnus Damm2805b962008-02-06 01:38:53 -0800717config RTC_DRV_R9701
718 tristate "Epson RTC-9701JE"
719 help
720 If you say yes here you will get support for the
721 Epson RTC-9701JE SPI RTC chip.
722
723 This driver can also be built as a module. If so, the module
724 will be called rtc-r9701.
725
Soren Brinkmannd0848852015-11-03 23:13:46 -0800726config RTC_DRV_RX4581
727 tristate "Epson RX-4581"
728 help
729 If you say yes here you will get support for the Epson RX-4581.
730
731 This driver can also be built as a module. If so the module
732 will be called rtc-rx4581.
733
734config RTC_DRV_RX6110
735 tristate "Epson RX-6110"
736 select REGMAP_SPI
737 help
738 If you say yes here you will get support for the Epson RX-6610.
739
740 This driver can also be built as a module. If so the module
741 will be called rtc-rx6110.
742
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700743config RTC_DRV_RS5C348
744 tristate "Ricoh RS5C348A/B"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700745 help
746 If you say yes here you get support for the
747 Ricoh RS5C348A and RS5C348B RTC chips.
748
749 This driver can also be built as a module. If so, the module
750 will be called rtc-rs5c348.
751
Soren Brinkmannd0848852015-11-03 23:13:46 -0800752config RTC_DRV_MAX6902
753 tristate "Maxim MAX6902"
754 help
755 If you say yes here you will get support for the
756 Maxim MAX6902 SPI RTC chip.
757
758 This driver can also be built as a module. If so, the module
759 will be called rtc-max6902.
760
Chris Verges7f3923a2009-09-22 16:46:20 -0700761config RTC_DRV_PCF2123
762 tristate "NXP PCF2123"
763 help
764 If you say yes here you get support for the NXP PCF2123
765 RTC chip.
766
767 This driver can also be built as a module. If so, the module
768 will be called rtc-pcf2123.
769
Josef Gajdusek1fcbe422014-06-06 14:36:02 -0700770config RTC_DRV_MCP795
771 tristate "Microchip MCP795"
772 help
773 If you say yes here you will get support for the Microchip MCP795.
774
775 This driver can also be built as a module. If so the module
776 will be called rtc-mcp795.
777
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700778endif # SPI_MASTER
779
Akinobu Mita080481f52016-03-07 00:27:48 +0900780#
781# Helper to resolve issues with configs that have SPI enabled but I2C
782# modular. See SND_SOC_I2C_AND_SPI for more information
783#
784config RTC_I2C_AND_SPI
785 tristate
786 default m if I2C=m
787 default y if I2C=y
788 default y if SPI_MASTER=y
789 select REGMAP_I2C if I2C
790 select REGMAP_SPI if SPI_MASTER
791
792comment "SPI and I2C RTC drivers"
793
794config RTC_DRV_DS3232
795 tristate "Dallas/Maxim DS3232/DS3234"
796 depends on RTC_I2C_AND_SPI
797 help
798 If you say yes here you get support for Dallas Semiconductor
799 DS3232 and DS3234 real-time clock chips. If an interrupt is associated
800 with the device, the alarm functionality is supported.
801
802 This driver can also be built as a module. If so, the module
803 will be called rtc-ds3232.
804
Akinobu Mita9408ec12016-03-14 23:45:00 +0900805config RTC_DRV_PCF2127
806 tristate "NXP PCF2127"
807 depends on RTC_I2C_AND_SPI
808 help
809 If you say yes here you get support for the NXP PCF2127/29 RTC
810 chips.
811
812 This driver can also be built as a module. If so, the module
813 will be called rtc-pcf2127.
814
Mylène Josserandc2a1c142016-05-03 11:54:34 +0200815config RTC_DRV_RV3029C2
816 tristate "Micro Crystal RV3029/3049"
817 depends on RTC_I2C_AND_SPI
818 help
819 If you say yes here you get support for the Micro Crystal
820 RV3029 and RV3049 RTC chips.
821
822 This driver can also be built as a module. If so, the module
823 will be called rtc-rv3029c2.
824
825config RTC_DRV_RV3029_HWMON
826 bool "HWMON support for RV3029/3049"
827 depends on RTC_DRV_RV3029C2 && HWMON
828 depends on !(RTC_DRV_RV3029C2=y && HWMON=m)
829 default y
830 help
831 Say Y here if you want to expose temperature sensor data on
832 rtc-rv3029.
833
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700834comment "Platform RTC drivers"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -0800835
Christoph Hellwig290cd0f2016-10-12 15:30:53 +0200836# this 'CMOS' RTC driver is arch dependent because it requires
837# <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
David Brownell7be2c7c2007-02-10 01:46:02 -0800838# global rtc_lock ... it's not yet just another platform_device.
839
840config RTC_DRV_CMOS
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700841 tristate "PC-style 'CMOS'"
Arnd Bergmann5ee98ab2016-06-01 16:46:22 +0200842 depends on X86 || ARM || M32R || PPC || MIPS || SPARC64 || MN10300
David Brownellc7500902008-04-28 02:11:52 -0700843 default y if X86
Arnd Bergmannd6faca42016-06-01 16:46:23 +0200844 select RTC_MC146818_LIB
David Brownell7be2c7c2007-02-10 01:46:02 -0800845 help
846 Say "yes" here to get direct support for the real time clock
847 found in every PC or ACPI-based system, and some other boards.
848 Specifically the original MC146818, compatibles like those in
849 PC south bridges, the DS12887 or M48T86, some multifunction
850 or LPC bus chips, and so on.
851
852 Your system will need to define the platform device used by
Alessandro Zummoae64d162009-01-06 14:42:17 -0800853 this driver, otherwise it won't be accessible. This means
David Brownell7be2c7c2007-02-10 01:46:02 -0800854 you can safely enable this driver if you don't know whether
855 or not your board has this kind of hardware.
856
857 This driver can also be built as a module. If so, the module
858 will be called rtc-cmos.
859
Richard Henderson85d0b3a2013-07-13 15:49:45 -0700860config RTC_DRV_ALPHA
861 bool "Alpha PC-style CMOS"
862 depends on ALPHA
Arnd Bergmannd6faca42016-06-01 16:46:23 +0200863 select RTC_MC146818_LIB
Richard Henderson85d0b3a2013-07-13 15:49:45 -0700864 default y
865 help
866 Direct support for the real-time clock found on every Alpha
867 system, specifically MC146818 compatibles. If in doubt, say Y.
868
Feng Tang0146f262010-11-10 17:29:17 +0000869config RTC_DRV_VRTC
Alan Cox933b9462011-12-17 17:43:40 +0000870 tristate "Virtual RTC for Intel MID platforms"
871 depends on X86_INTEL_MID
872 default y if X86_INTEL_MID
Feng Tang0146f262010-11-10 17:29:17 +0000873
874 help
875 Say "yes" here to get direct support for the real time clock
876 found on Moorestown platforms. The VRTC is a emulated RTC that
877 derives its clock source from a real RTC in the PMIC. The MC146818
878 style programming interface is mostly conserved, but any
879 updates are done via IPC calls to the system controller FW.
880
Thomas Bogendoerfer537739d2007-07-17 04:05:06 -0700881config RTC_DRV_DS1216
882 tristate "Dallas DS1216"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700883 depends on SNI_RM
Thomas Bogendoerfer537739d2007-07-17 04:05:06 -0700884 help
885 If you say yes here you get support for the Dallas DS1216 RTC chips.
886
Thomas Bogendoerfer5f119f22008-10-14 17:16:59 +0200887config RTC_DRV_DS1286
888 tristate "Dallas DS1286"
Chen Gang706b6322014-10-13 15:53:14 -0700889 depends on HAS_IOMEM
Thomas Bogendoerfer5f119f22008-10-14 17:16:59 +0200890 help
891 If you say yes here you get support for the Dallas DS1286 RTC chips.
892
Andrew Sharp8f267952008-02-06 01:38:46 -0800893config RTC_DRV_DS1511
894 tristate "Dallas DS1511"
Chen Gang706b6322014-10-13 15:53:14 -0700895 depends on HAS_IOMEM
Andrew Sharp8f267952008-02-06 01:38:46 -0800896 help
897 If you say yes here you get support for the
898 Dallas DS1511 timekeeping/watchdog chip.
899
900 This driver can also be built as a module. If so, the module
901 will be called rtc-ds1511.
902
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700903config RTC_DRV_DS1553
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800904 tristate "Maxim/Dallas DS1553"
Chen Gang706b6322014-10-13 15:53:14 -0700905 depends on HAS_IOMEM
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700906 help
907 If you say yes here you get support for the
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800908 Maxim/Dallas DS1553 timekeeping chip.
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700909
910 This driver can also be built as a module. If so, the module
911 will be called rtc-ds1553.
912
Joshua Kinardaaaf5fb2015-02-16 16:00:26 -0800913config RTC_DRV_DS1685_FAMILY
914 tristate "Dallas/Maxim DS1685 Family"
915 help
916 If you say yes here you get support for the Dallas/Maxim DS1685
917 family of real time chips. This family includes the DS1685/DS1687,
918 DS1689/DS1693, DS17285/DS17287, DS17485/DS17487, and
919 DS17885/DS17887 chips.
920
921 This driver can also be built as a module. If so, the module
922 will be called rtc-ds1685.
923
924choice
925 prompt "Subtype"
926 depends on RTC_DRV_DS1685_FAMILY
927 default RTC_DRV_DS1685
928
929config RTC_DRV_DS1685
930 bool "DS1685/DS1687"
931 help
932 This enables support for the Dallas/Maxim DS1685/DS1687 real time
933 clock chip.
934
935 This chip is commonly found in SGI O2 (IP32) and SGI Octane (IP30)
936 systems, as well as EPPC-405-UC modules by electronic system design
937 GmbH.
938
939config RTC_DRV_DS1689
940 bool "DS1689/DS1693"
941 help
942 This enables support for the Dallas/Maxim DS1689/DS1693 real time
943 clock chip.
944
945 This is an older RTC chip, supplanted by the DS1685/DS1687 above,
946 which supports a few minor features such as Vcc, Vbat, and Power
947 Cycle counters, plus a customer-specific, 8-byte ROM/Serial number.
948
949 It also works for the even older DS1688/DS1691 RTC chips, which are
950 virtually the same and carry the same model number. Both chips
951 have 114 bytes of user NVRAM.
952
953config RTC_DRV_DS17285
954 bool "DS17285/DS17287"
955 help
956 This enables support for the Dallas/Maxim DS17285/DS17287 real time
957 clock chip.
958
959 This chip features 2kb of extended NV-SRAM. It may possibly be
960 found in some SGI O2 systems (rare).
961
962config RTC_DRV_DS17485
963 bool "DS17485/DS17487"
964 help
965 This enables support for the Dallas/Maxim DS17485/DS17487 real time
966 clock chip.
967
968 This chip features 4kb of extended NV-SRAM.
969
970config RTC_DRV_DS17885
971 bool "DS17885/DS17887"
972 help
973 This enables support for the Dallas/Maxim DS17885/DS17887 real time
974 clock chip.
975
976 This chip features 8kb of extended NV-SRAM.
977
978endchoice
979
980config RTC_DS1685_PROC_REGS
981 bool "Display register values in /proc"
982 depends on RTC_DRV_DS1685_FAMILY && PROC_FS
983 help
984 Enable this to display a readout of all of the RTC registers in
985 /proc/drivers/rtc. Keep in mind that this can potentially lead
986 to lost interrupts, as reading Control Register C will clear
987 all pending IRQ flags.
988
989 Unless you are debugging this driver, choose N.
990
991config RTC_DS1685_SYSFS_REGS
992 bool "SysFS access to RTC register bits"
993 depends on RTC_DRV_DS1685_FAMILY && SYSFS
994 help
995 Enable this to provide access to the RTC control register bits
996 in /sys. Some of the bits are read-write, others are read-only.
997
998 Keep in mind that reading Control C's bits automatically clears
999 all pending IRQ flags - this can cause lost interrupts.
1000
1001 If you know that you need access to these bits, choose Y, Else N.
1002
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -08001003config RTC_DRV_DS1742
1004 tristate "Maxim/Dallas DS1742/1743"
Chen Gang706b6322014-10-13 15:53:14 -07001005 depends on HAS_IOMEM
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -08001006 help
1007 If you say yes here you get support for the
1008 Maxim/Dallas DS1742/1743 timekeeping chip.
1009
1010 This driver can also be built as a module. If so, the module
1011 will be called rtc-ds1742.
1012
Jean Delvaread0200f2014-08-08 14:20:03 -07001013config RTC_DRV_DS2404
1014 tristate "Maxim/Dallas DS2404"
1015 help
1016 If you say yes here you get support for the
1017 Dallas DS2404 RTC chip.
1018
1019 This driver can also be built as a module. If so, the module
1020 will be called rtc-ds2404.
1021
Ashish Jangamfef931f2012-03-23 15:02:36 -07001022config RTC_DRV_DA9052
1023 tristate "Dialog DA9052/DA9053 RTC"
1024 depends on PMIC_DA9052
1025 help
1026 Say y here to support the RTC driver for Dialog Semiconductor
1027 DA9052-BC and DA9053-AA/Bx PMICs.
1028
Ashish Jangam6920d992012-12-17 16:02:53 -08001029config RTC_DRV_DA9055
1030 tristate "Dialog Semiconductor DA9055 RTC"
1031 depends on MFD_DA9055
1032 help
1033 If you say yes here you will get support for the
1034 RTC of the Dialog DA9055 PMIC.
1035
1036 This driver can also be built as a module. If so, the module
1037 will be called rtc-da9055
1038
Opensource [Steve Twiss]c2a57552014-06-06 14:36:03 -07001039config RTC_DRV_DA9063
S Twiss80ca3272015-07-21 11:29:07 +01001040 tristate "Dialog Semiconductor DA9063/DA9062 RTC"
1041 depends on MFD_DA9063 || MFD_DA9062
Opensource [Steve Twiss]c2a57552014-06-06 14:36:03 -07001042 help
1043 If you say yes here you will get support for the RTC subsystem
S Twiss80ca3272015-07-21 11:29:07 +01001044 for the Dialog Semiconductor PMIC chips DA9063 and DA9062.
Opensource [Steve Twiss]c2a57552014-06-06 14:36:03 -07001045
1046 This driver can also be built as a module. If so, the module
1047 will be called "rtc-da9063".
1048
dann frazier5e3fd9e2009-03-31 15:24:48 -07001049config RTC_DRV_EFI
1050 tristate "EFI RTC"
Matt Fleming7efe6652014-10-03 13:06:33 +01001051 depends on EFI && !X86
dann frazier5e3fd9e2009-03-31 15:24:48 -07001052 help
1053 If you say yes here you will get support for the EFI
1054 Real Time Clock.
1055
1056 This driver can also be built as a module. If so, the module
1057 will be called rtc-efi.
1058
Thomas Hommel02964112007-07-21 04:37:58 -07001059config RTC_DRV_STK17TA8
1060 tristate "Simtek STK17TA8"
Chen Gang706b6322014-10-13 15:53:14 -07001061 depends on HAS_IOMEM
Thomas Hommel02964112007-07-21 04:37:58 -07001062 help
1063 If you say yes here you get support for the
1064 Simtek STK17TA8 timekeeping chip.
1065
1066 This driver can also be built as a module. If so, the module
1067 will be called rtc-stk17ta8.
1068
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001069config RTC_DRV_M48T86
1070 tristate "ST M48T86/Dallas DS12887"
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001071 help
1072 If you say Y here you will get support for the
1073 ST M48T86 and Dallas DS12887 RTC chips.
1074
1075 This driver can also be built as a module. If so, the module
1076 will be called rtc-m48t86.
1077
Thomas Bogendoerferd1dbd82e2008-10-14 17:17:32 +02001078config RTC_DRV_M48T35
1079 tristate "ST M48T35"
Chen Gang706b6322014-10-13 15:53:14 -07001080 depends on HAS_IOMEM
Thomas Bogendoerferd1dbd82e2008-10-14 17:17:32 +02001081 help
1082 If you say Y here you will get support for the
1083 ST M48T35 RTC chip.
1084
1085 This driver can also be built as a module, if so, the module
1086 will be called "rtc-m48t35".
1087
Mark Zhan2e774c72007-07-17 04:05:05 -07001088config RTC_DRV_M48T59
Krzysztof Helt94fe7422008-09-03 15:12:34 -07001089 tristate "ST M48T59/M48T08/M48T02"
Chen Gang706b6322014-10-13 15:53:14 -07001090 depends on HAS_IOMEM
Mark Zhan2e774c72007-07-17 04:05:05 -07001091 help
1092 If you say Y here you will get support for the
Krzysztof Helt94fe7422008-09-03 15:12:34 -07001093 ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
1094
1095 These chips are usually found in Sun SPARC and UltraSPARC
1096 workstations.
Mark Zhan2e774c72007-07-17 04:05:05 -07001097
1098 This driver can also be built as a module, if so, the module
1099 will be called "rtc-m48t59".
1100
Geert Uytterhoeven4f9b9bb2009-03-18 23:29:27 +01001101config RTC_DRV_MSM6242
1102 tristate "Oki MSM6242"
Chen Gang706b6322014-10-13 15:53:14 -07001103 depends on HAS_IOMEM
Geert Uytterhoeven4f9b9bb2009-03-18 23:29:27 +01001104 help
1105 If you say yes here you get support for the Oki MSM6242
1106 timekeeping chip. It is used in some Amiga models (e.g. A2000).
1107
1108 This driver can also be built as a module. If so, the module
1109 will be called rtc-msm6242.
1110
David S. Millercca4c232008-08-29 01:29:53 -07001111config RTC_DRV_BQ4802
1112 tristate "TI BQ4802"
Chen Gang706b6322014-10-13 15:53:14 -07001113 depends on HAS_IOMEM
David S. Millercca4c232008-08-29 01:29:53 -07001114 help
1115 If you say Y here you will get support for the TI
1116 BQ4802 RTC chip.
1117
1118 This driver can also be built as a module. If so, the module
1119 will be called rtc-bq4802.
1120
Geert Uytterhoeven4f672ce2009-03-18 23:29:27 +01001121config RTC_DRV_RP5C01
1122 tristate "Ricoh RP5C01"
Chen Gang706b6322014-10-13 15:53:14 -07001123 depends on HAS_IOMEM
Geert Uytterhoeven4f672ce2009-03-18 23:29:27 +01001124 help
1125 If you say yes here you get support for the Ricoh RP5C01
1126 timekeeping chip. It is used in some Amiga models (e.g. A3000
1127 and A4000).
1128
1129 This driver can also be built as a module. If so, the module
1130 will be called rtc-rp5c01.
1131
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001132config RTC_DRV_V3020
1133 tristate "EM Microelectronic V3020"
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001134 help
1135 If you say yes here you will get support for the
1136 EM Microelectronic v3020 RTC chip.
1137
1138 This driver can also be built as a module. If so, the module
1139 will be called rtc-v3020.
1140
Mark Brown35c86bf2009-08-27 19:59:05 +02001141config RTC_DRV_WM831X
1142 tristate "Wolfson Microelectronics WM831x RTC"
1143 depends on MFD_WM831X
1144 help
1145 If you say yes here you will get support for the RTC subsystem
1146 of the Wolfson Microelectronics WM831X series PMICs.
1147
1148 This driver can also be built as a module. If so, the module
1149 will be called "rtc-wm831x".
1150
Mark Brown077eaf52008-11-12 13:27:04 -08001151config RTC_DRV_WM8350
1152 tristate "Wolfson Microelectronics WM8350 RTC"
1153 depends on MFD_WM8350
1154 help
1155 If you say yes here you will get support for the RTC subsystem
1156 of the Wolfson Microelectronics WM8350.
1157
1158 This driver can also be built as a module. If so, the module
1159 will be called "rtc-wm8350".
1160
Rajeev Kumar0942a712011-05-26 16:25:09 -07001161config RTC_DRV_SPEAR
1162 tristate "SPEAR ST RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001163 depends on PLAT_SPEAR || COMPILE_TEST
Rajeev Kumar0942a712011-05-26 16:25:09 -07001164 default y
1165 help
1166 If you say Y here you will get support for the RTC found on
1167 spear
1168
Balaji Raoeae854b2009-01-09 01:50:51 +01001169config RTC_DRV_PCF50633
1170 depends on MFD_PCF50633
1171 tristate "NXP PCF50633 RTC"
1172 help
1173 If you say yes here you get support for the RTC subsystem of the
1174 NXP PCF50633 used in embedded systems.
1175
Linus Walleijbd207cf2009-08-30 23:49:04 +02001176config RTC_DRV_AB3100
1177 tristate "ST-Ericsson AB3100 RTC"
1178 depends on AB3100_CORE
1179 default y if AB3100_CORE
1180 help
1181 Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
1182 support. This chip contains a battery- and capacitor-backed RTC.
1183
Virupax Sadashivpetimath0af62f42010-05-26 14:42:14 -07001184config RTC_DRV_AB8500
1185 tristate "ST-Ericsson AB8500 RTC"
1186 depends on AB8500_CORE
Ulf Hansson651fb482012-10-04 17:14:32 -07001187 select RTC_INTF_DEV
Ramesh Chandrasekarandc43d4a2012-07-30 14:41:41 -07001188 select RTC_INTF_DEV_UIE_EMUL
Virupax Sadashivpetimath0af62f42010-05-26 14:42:14 -07001189 help
1190 Select this to enable the ST-Ericsson AB8500 power management IC RTC
1191 support. This chip contains a battery- and capacitor-backed RTC.
1192
Wan ZongShunafd49a7e2009-12-15 16:46:17 -08001193config RTC_DRV_NUC900
1194 tristate "NUC910/NUC920 RTC driver"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001195 depends on ARCH_W90X900 || COMPILE_TEST
Wan ZongShunafd49a7e2009-12-15 16:46:17 -08001196 help
1197 If you say yes here you get support for the RTC subsystem of the
1198 NUC910/NUC920 used in embedded systems.
Linus Walleijbd207cf2009-08-30 23:49:04 +02001199
Neelesh Gupta16b1d262014-10-14 14:08:36 +05301200config RTC_DRV_OPAL
1201 tristate "IBM OPAL RTC driver"
1202 depends on PPC_POWERNV
1203 default y
1204 help
1205 If you say yes here you get support for the PowerNV platform RTC
1206 driver based on OPAL interfaces.
1207
1208 This driver can also be built as a module. If so, the module
1209 will be called rtc-opal.
1210
Suneel Garapati11143c12015-08-19 15:23:22 +05301211config RTC_DRV_ZYNQMP
1212 tristate "Xilinx Zynq Ultrascale+ MPSoC RTC"
1213 depends on OF
1214 help
1215 If you say yes here you get support for the RTC controller found on
1216 Xilinx Zynq Ultrascale+ MPSoC.
1217
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001218comment "on-CPU RTC drivers"
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001219
Oleksij Rempel125e5502016-02-02 20:56:10 +01001220config RTC_DRV_ASM9260
1221 tristate "Alphascale asm9260 RTC"
Alexandre Belloni7f742e82016-08-31 18:15:27 +02001222 depends on MACH_ASM9260 || COMPILE_TEST
Oleksij Rempel125e5502016-02-02 20:56:10 +01001223 help
1224 If you say yes here you get support for the RTC on the
1225 Alphascale asm9260 SoC.
1226
1227 This driver can also be built as a module. If so, the module
1228 will be called rtc-asm9260.
1229
Miguel Aguilar8ecf6c52009-11-05 08:51:34 -06001230config RTC_DRV_DAVINCI
1231 tristate "TI DaVinci RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001232 depends on ARCH_DAVINCI_DM365 || COMPILE_TEST
Miguel Aguilar8ecf6c52009-11-05 08:51:34 -06001233 help
1234 If you say yes here you get support for the RTC on the
1235 DaVinci platforms (DM365).
1236
1237 This driver can also be built as a module. If so, the module
1238 will be called rtc-davinci.
1239
Baruch Siachba172202015-04-16 12:45:40 -07001240config RTC_DRV_DIGICOLOR
1241 tristate "Conexant Digicolor RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001242 depends on ARCH_DIGICOLOR || COMPILE_TEST
Baruch Siachba172202015-04-16 12:45:40 -07001243 help
1244 If you say yes here you get support for the RTC on Conexant
1245 Digicolor platforms. This currently includes the CX92755 SoC.
1246
1247 This driver can also be built as a module. If so, the module
1248 will be called rtc-digicolor.
1249
Fabio Estevamb224b9a2012-05-29 15:07:37 -07001250config RTC_DRV_IMXDI
1251 tristate "Freescale IMX DryIce Real Time Clock"
Roland Stiggeef216ad2012-12-17 16:02:22 -08001252 depends on ARCH_MXC
Fabio Estevamb224b9a2012-05-29 15:07:37 -07001253 help
1254 Support for Freescale IMX DryIce RTC
1255
1256 This driver can also be built as a module, if so, the module
1257 will be called "rtc-imxdi".
1258
David Brownelldb68b182006-12-06 20:38:36 -08001259config RTC_DRV_OMAP
Lokesh Vutla86089762015-04-16 12:46:03 -07001260 tristate "TI OMAP Real Time Clock"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001261 depends on ARCH_OMAP || ARCH_DAVINCI || COMPILE_TEST
Marcin Niestroj97ea1902016-09-16 11:26:28 +02001262 depends on OF
1263 depends on PINCTRL
1264 select GENERIC_PINCONF
David Brownelldb68b182006-12-06 20:38:36 -08001265 help
Afzal Mohammed427af9a2012-12-17 16:02:17 -08001266 Say "yes" here to support the on chip real time clock
Lokesh Vutla86089762015-04-16 12:46:03 -07001267 present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
Afzal Mohammed427af9a2012-12-17 16:02:17 -08001268
1269 This driver can also be built as a module, if so, module
1270 will be called rtc-omap.
David Brownelldb68b182006-12-06 20:38:36 -08001271
Atul Dahiya16f4efe2010-07-20 16:38:49 +05301272config HAVE_S3C_RTC
1273 bool
1274 help
1275 This will include RTC support for Samsung SoCs. If
1276 you want to include RTC support for any machine, kindly
1277 select this in the respective mach-XXXX/Kconfig file.
1278
Ben Dooks1add6782006-07-01 04:36:26 -07001279config RTC_DRV_S3C
1280 tristate "Samsung S3C series SoC RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001281 depends on ARCH_S3C64XX || HAVE_S3C_RTC || COMPILE_TEST
Ben Dooks1add6782006-07-01 04:36:26 -07001282 help
1283 RTC (Realtime Clock) driver for the clock inbuilt into the
1284 Samsung S3C24XX series of SoCs. This can provide periodic
1285 interrupt rates from 1Hz to 64Hz for user programs, and
1286 wakeup from Alarm.
1287
1288 The driver currently supports the common features on all the
1289 S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
1290 and S3C2442.
1291
1292 This driver can also be build as a module. If so, the module
1293 will be called rtc-s3c.
1294
Alessandro Zummofd507e22006-03-27 01:16:45 -08001295config RTC_DRV_EP93XX
1296 tristate "Cirrus Logic EP93XX"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001297 depends on ARCH_EP93XX || COMPILE_TEST
Alessandro Zummofd507e22006-03-27 01:16:45 -08001298 help
1299 If you say yes here you get support for the
1300 RTC embedded in the Cirrus Logic EP93XX processors.
1301
1302 This driver can also be built as a module. If so, the module
1303 will be called rtc-ep93xx.
1304
Richard Purdiee842f1c2006-03-27 01:16:46 -08001305config RTC_DRV_SA1100
Haojian Zhuang3888c092012-02-21 11:51:13 +08001306 tristate "SA11x0/PXA2xx/PXA910"
1307 depends on ARCH_SA1100 || ARCH_PXA || ARCH_MMP
Richard Purdiee842f1c2006-03-27 01:16:46 -08001308 help
1309 If you say Y here you will get access to the real time clock
1310 built into your SA11x0 or PXA2xx CPU.
1311
1312 To compile this driver as a module, choose M here: the
1313 module will be called rtc-sa1100.
Alessandro Zummofd507e22006-03-27 01:16:45 -08001314
Paul Mundt317a6102006-09-27 17:13:19 +09001315config RTC_DRV_SH
1316 tristate "SuperH On-Chip RTC"
Chris Brandtdab5aec2017-03-29 10:30:29 -07001317 depends on SUPERH || ARCH_RENESAS
Paul Mundt317a6102006-09-27 17:13:19 +09001318 help
1319 Say Y here to enable support for the on-chip RTC found in
Chris Brandtdab5aec2017-03-29 10:30:29 -07001320 most SuperH processors. This RTC is also found in RZ/A SoCs.
Paul Mundt317a6102006-09-27 17:13:19 +09001321
Alexandre Belloni98ab2c92015-05-09 21:21:54 +02001322 To compile this driver as a module, choose M here: the
Paul Mundt317a6102006-09-27 17:13:19 +09001323 module will be called rtc-sh.
1324
Yoichi Yuasa8417eb72006-04-10 22:54:47 -07001325config RTC_DRV_VR41XX
Alessandro Zummo3e16f6a2006-04-10 22:54:48 -07001326 tristate "NEC VR41XX"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001327 depends on CPU_VR41XX || COMPILE_TEST
Alessandro Zummo3e16f6a2006-04-10 22:54:48 -07001328 help
1329 If you say Y here you will get access to the real time clock
1330 built into your NEC VR41XX CPU.
1331
1332 To compile this driver as a module, choose M here: the
1333 module will be called rtc-vr41xx.
Yoichi Yuasa8417eb72006-04-10 22:54:47 -07001334
Russell Kinga1909012008-04-20 12:08:36 +01001335config RTC_DRV_PL030
1336 tristate "ARM AMBA PL030 RTC"
1337 depends on ARM_AMBA
1338 help
1339 If you say Y here you will get access to ARM AMBA
1340 PrimeCell PL030 RTC found on certain ARM SOCs.
1341
1342 To compile this driver as a module, choose M here: the
1343 module will be called rtc-pl030.
1344
Deepak Saxena8ae6e162006-06-25 05:47:38 -07001345config RTC_DRV_PL031
1346 tristate "ARM AMBA PL031 RTC"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -07001347 depends on ARM_AMBA
Deepak Saxena8ae6e162006-06-25 05:47:38 -07001348 help
1349 If you say Y here you will get access to ARM AMBA
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001350 PrimeCell PL031 RTC found on certain ARM SOCs.
Deepak Saxena8ae6e162006-06-25 05:47:38 -07001351
1352 To compile this driver as a module, choose M here: the
1353 module will be called rtc-pl031.
1354
Hans-Christian Egtvedtfa04e782007-07-17 04:05:00 -07001355config RTC_DRV_AT32AP700X
1356 tristate "AT32AP700X series RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001357 depends on PLATFORM_AT32AP || COMPILE_TEST
Hans-Christian Egtvedtfa04e782007-07-17 04:05:00 -07001358 help
1359 Driver for the internal RTC (Realtime Clock) on Atmel AVR32
1360 AT32AP700x family processors.
1361
Andrew Victor7fc39f62006-12-10 02:19:03 -08001362config RTC_DRV_AT91RM9200
Nicolas Ferre24cecc12010-10-22 19:12:52 +02001363 tristate "AT91RM9200 or some AT91SAM9 RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001364 depends on ARCH_AT91 || COMPILE_TEST
Andrew Victor788b1fc2006-06-25 05:48:27 -07001365 help
David Brownell4cdf8542008-02-06 01:38:59 -08001366 Driver for the internal RTC (Realtime Clock) module found on
Nicolas Ferre24cecc12010-10-22 19:12:52 +02001367 Atmel AT91RM9200's and some AT91SAM9 chips. On AT91SAM9 chips
David Brownell4cdf8542008-02-06 01:38:59 -08001368 this is powered by the backup power supply.
1369
1370config RTC_DRV_AT91SAM9
Boris BREZILLON3969eb42014-09-23 13:16:05 +02001371 tristate "AT91SAM9 RTT as RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001372 depends on ARCH_AT91 || COMPILE_TEST
Boris BREZILLON43e112b2014-09-23 13:14:44 +02001373 select MFD_SYSCON
David Brownell4cdf8542008-02-06 01:38:59 -08001374 help
Boris BREZILLON3969eb42014-09-23 13:16:05 +02001375 Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which
1376 can be used as an RTC thanks to the backup power supply (e.g. a
1377 small coin cell battery) which keeps this block and the GPBR
1378 (General Purpose Backup Registers) block powered when the device
1379 is shutdown.
1380 Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd
1381 probably want to use the real RTC block instead of the "RTT as an
1382 RTC" driver.
David Brownell4cdf8542008-02-06 01:38:59 -08001383
Manuel Lauss45fd8a02009-01-06 14:42:18 -08001384config RTC_DRV_AU1XXX
1385 tristate "Au1xxx Counter0 RTC support"
Manuel Lauss42a4f172010-07-15 21:45:04 +02001386 depends on MIPS_ALCHEMY
Manuel Lauss45fd8a02009-01-06 14:42:18 -08001387 help
1388 This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
1389 counter) to be used as a RTC.
1390
1391 This driver can also be built as a module. If so, the module
1392 will be called rtc-au1xxx.
1393
Wu, Bryan8cc75c92007-05-06 14:50:32 -07001394config RTC_DRV_BFIN
1395 tristate "Blackfin On-Chip RTC"
Graf Yang7f604592008-08-20 14:09:02 -07001396 depends on BLACKFIN && !BF561
Wu, Bryan8cc75c92007-05-06 14:50:32 -07001397 help
1398 If you say yes here you will get support for the
1399 Blackfin On-Chip Real Time Clock.
1400
1401 This driver can also be built as a module. If so, the module
1402 will be called rtc-bfin.
1403
Nobuhiro Iwamatsue9f2bd82007-05-08 00:26:37 -07001404config RTC_DRV_RS5C313
1405 tristate "Ricoh RS5C313"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -07001406 depends on SH_LANDISK
Nobuhiro Iwamatsue9f2bd82007-05-08 00:26:37 -07001407 help
1408 If you say yes here you get support for the Ricoh RS5C313 RTC chips.
1409
Geert Uytterhoeven3afe6d02009-02-19 16:46:49 +01001410config RTC_DRV_GENERIC
1411 tristate "Generic RTC support"
1412 # Please consider writing a new RTC driver instead of using the generic
1413 # RTC abstraction
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001414 depends on PARISC || M68K || PPC || SUPERH32 || COMPILE_TEST
Kyle McMartin9eb16862008-09-10 14:24:07 +00001415 help
Geert Uytterhoeven3afe6d02009-02-19 16:46:49 +01001416 Say Y or M here to enable RTC support on systems using the generic
1417 RTC abstraction. If you do not know what you are doing, you should
Kyle McMartin9eb16862008-09-10 14:24:07 +00001418 just say Y.
1419
Robert Jarzmikdc944362009-01-06 14:42:14 -08001420config RTC_DRV_PXA
Alexandre Belloni832315b2016-03-10 05:46:18 +01001421 tristate "PXA27x/PXA3xx"
1422 depends on ARCH_PXA
1423 select RTC_DRV_SA1100
1424 help
Rob Herring3cdf4ad2015-05-13 09:20:04 -05001425 If you say Y here you will get access to the real time clock
1426 built into your PXA27x or PXA3xx CPU. This RTC is actually 2 RTCs
1427 consisting of an SA1100 compatible RTC and the extended PXA RTC.
Robert Jarzmikdc944362009-01-06 14:42:14 -08001428
Alexandre Belloni98ab2c92015-05-09 21:21:54 +02001429 This RTC driver uses PXA RTC registers available since pxa27x
1430 series (RDxR, RYxR) instead of legacy RCNR, RTAR.
Robert Jarzmikdc944362009-01-06 14:42:14 -08001431
Alexey Charkovf77fbdf2011-05-26 16:25:03 -07001432config RTC_DRV_VT8500
1433 tristate "VIA/WonderMedia 85xx SoC RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001434 depends on ARCH_VT8500 || COMPILE_TEST
Alexey Charkovf77fbdf2011-05-26 16:25:03 -07001435 help
1436 If you say Y here you will get access to the real time clock
1437 built into your VIA VT8500 SoC or its relatives.
1438
Robert Jarzmikdc944362009-01-06 14:42:14 -08001439
David S. Miller7a138ed2008-08-29 01:32:43 -07001440config RTC_DRV_SUN4V
1441 bool "SUN4V Hypervisor RTC"
1442 depends on SPARC64
1443 help
1444 If you say Y here you will get support for the Hypervisor
1445 based RTC on SUN4V systems.
1446
Chen-Yu Tsai9765d2d2014-08-26 11:54:55 +08001447config RTC_DRV_SUN6I
Maxime Ripard37539412017-01-23 11:41:46 +01001448 bool "Allwinner A31 RTC"
Alexandre Belloni93946c42017-02-01 12:54:13 +01001449 default MACH_SUN6I || MACH_SUN8I
1450 depends on COMMON_CLK
1451 depends on ARCH_SUNXI || COMPILE_TEST
Chen-Yu Tsai9765d2d2014-08-26 11:54:55 +08001452 help
Andre Przywara28639342016-02-01 17:39:22 +00001453 If you say Y here you will get support for the RTC found in
1454 some Allwinner SoCs like the A31 or the A64.
Chen-Yu Tsai9765d2d2014-08-26 11:54:55 +08001455
Carlo Caione594c6fb2013-11-16 18:33:54 +01001456config RTC_DRV_SUNXI
1457 tristate "Allwinner sun4i/sun7i RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001458 depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
Carlo Caione594c6fb2013-11-16 18:33:54 +01001459 help
1460 If you say Y here you will get support for the RTC found on
1461 Allwinner A10/A20.
1462
David S. Millerde2cf332008-08-28 23:02:36 -07001463config RTC_DRV_STARFIRE
1464 bool "Starfire RTC"
1465 depends on SPARC64
1466 help
1467 If you say Y here you will get support for the RTC found on
1468 Starfire systems.
1469
Atsushi Nemoto0e149232009-01-06 14:42:22 -08001470config RTC_DRV_TX4939
1471 tristate "TX4939 SoC"
1472 depends on SOC_TX4939
1473 help
1474 Driver for the internal RTC (Realtime Clock) module found on
1475 Toshiba TX4939 SoC.
1476
Saeed Bisharadefb4512009-01-06 14:42:24 -08001477config RTC_DRV_MV
1478 tristate "Marvell SoC RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001479 depends on ARCH_DOVE || ARCH_MVEBU || COMPILE_TEST
Saeed Bisharadefb4512009-01-06 14:42:24 -08001480 help
1481 If you say yes here you will get support for the in-chip RTC
1482 that can be found in some of Marvell's SoC devices, such as
1483 the Kirkwood 88F6281 and 88F6192.
1484
1485 This driver can also be built as a module. If so, the module
1486 will be called rtc-mv.
1487
Gregory CLEMENTa3a42802015-02-13 14:41:11 -08001488config RTC_DRV_ARMADA38X
1489 tristate "Armada 38x Marvell SoC RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001490 depends on ARCH_MVEBU || COMPILE_TEST
Gregory CLEMENTa3a42802015-02-13 14:41:11 -08001491 help
1492 If you say yes here you will get support for the in-chip RTC
1493 that can be found in the Armada 38x Marvell's SoC device
1494
1495 This driver can also be built as a module. If so, the module
1496 will be called armada38x-rtc.
1497
Linus Walleij1d61d252017-05-30 09:53:32 +02001498config RTC_DRV_FTRTC010
1499 tristate "Faraday Technology FTRTC010 RTC"
Hans Ulli Kroll98a9bb52015-05-20 17:49:31 +02001500 depends on HAS_IOMEM
Linus Walleij1d61d252017-05-30 09:53:32 +02001501 default ARCH_GEMINI
Hans Ulli Kroll98a9bb52015-05-20 17:49:31 +02001502 help
1503 If you say Y here you will get support for the
Linus Walleij1d61d252017-05-30 09:53:32 +02001504 Faraday Technolog FTRTC010 found on e.g. Gemini SoC's.
Hans Ulli Kroll98a9bb52015-05-20 17:49:31 +02001505
1506 This driver can also be built as a module. If so, the module
Linus Walleij1d61d252017-05-30 09:53:32 +02001507 will be called rtc-ftrtc010.
Hans Ulli Kroll98a9bb52015-05-20 17:49:31 +02001508
Geert Uytterhoeven0b5f0372009-02-24 14:04:20 +01001509config RTC_DRV_PS3
1510 tristate "PS3 RTC"
1511 depends on PPC_PS3
1512 help
1513 If you say yes here you will get support for the RTC on PS3.
1514
1515 This driver can also be built as a module. If so, the module
1516 will be called rtc-ps3.
1517
Linus Walleijaa958f52009-09-22 16:46:24 -07001518config RTC_DRV_COH901331
1519 tristate "ST-Ericsson COH 901 331 RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001520 depends on ARCH_U300 || COMPILE_TEST
Linus Walleijaa958f52009-09-22 16:46:24 -07001521 help
1522 If you say Y here you will get access to ST-Ericsson
1523 COH 901 331 RTC clock found in some ST-Ericsson Mobile
1524 Platforms.
1525
1526 This driver can also be built as a module. If so, the module
1527 will be called "rtc-coh901331".
1528
1529
dmitry pervushindf17f632009-09-22 16:46:26 -07001530config RTC_DRV_STMP
Wolfram Sang46b21212011-05-25 12:56:50 +02001531 tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001532 depends on ARCH_MXS || COMPILE_TEST
Alexandre Belloni20d048a2015-05-03 11:29:44 +02001533 select STMP_DEVICE
dmitry pervushindf17f632009-09-22 16:46:26 -07001534 help
1535 If you say yes here you will get support for the onboard
Wolfram Sang46b21212011-05-25 12:56:50 +02001536 STMP3xxx/i.MX23/i.MX28 RTC.
dmitry pervushindf17f632009-09-22 16:46:26 -07001537
1538 This driver can also be built as a module. If so, the module
1539 will be called rtc-stmp3xxx.
1540
Daniel Ribeirod3c7a3f2009-09-22 16:46:27 -07001541config RTC_DRV_PCAP
1542 tristate "PCAP RTC"
1543 depends on EZX_PCAP
1544 help
1545 If you say Y here you will get support for the RTC found on
1546 the PCAP2 ASIC used on some Motorola phones.
1547
Uwe Kleine-König1c978722010-10-28 12:30:53 +02001548config RTC_DRV_MC13XXX
1549 depends on MFD_MC13XXX
1550 tristate "Freescale MC13xxx RTC"
Uwe Kleine-König43299f2852009-12-15 16:46:09 -08001551 help
Uwe Kleine-König1c978722010-10-28 12:30:53 +02001552 This enables support for the RTCs found on Freescale's PMICs
1553 MC13783 and MC13892.
Uwe Kleine-König43299f2852009-12-15 16:46:09 -08001554
Anatolij Gustschin50aae722010-02-16 10:47:35 -07001555config RTC_DRV_MPC5121
1556 tristate "Freescale MPC5121 built-in RTC"
Dmitry Eremin-Solenikov955dbea2011-07-25 17:13:30 -07001557 depends on PPC_MPC512x || PPC_MPC52xx
Anatolij Gustschin50aae722010-02-16 10:47:35 -07001558 help
1559 If you say yes here you will get support for the
Dmitry Eremin-Solenikov955dbea2011-07-25 17:13:30 -07001560 built-in RTC on MPC5121 or on MPC5200.
Anatolij Gustschin50aae722010-02-16 10:47:35 -07001561
1562 This driver can also be built as a module. If so, the module
1563 will be called rtc-mpc5121.
1564
Lars-Peter Clausen3bf0eea2010-06-19 18:29:50 +00001565config RTC_DRV_JZ4740
Alexandre Belloni586655d2017-01-25 00:44:16 +01001566 tristate "Ingenic JZ4740 SoC"
Paul Cercueilcd563202016-10-31 21:39:45 +01001567 depends on MACH_INGENIC || COMPILE_TEST
Lars-Peter Clausen3bf0eea2010-06-19 18:29:50 +00001568 help
Paul Cercueilcd563202016-10-31 21:39:45 +01001569 If you say yes here you get support for the Ingenic JZ47xx SoCs RTC
1570 controllers.
Lars-Peter Clausen3bf0eea2010-06-19 18:29:50 +00001571
Alexandre Belloni586655d2017-01-25 00:44:16 +01001572 This driver can also be buillt as a module. If so, the module
1573 will be called rtc-jz4740.
1574
Joachim Eastwoodc28b42e2015-07-11 19:28:49 +02001575config RTC_DRV_LPC24XX
1576 tristate "NXP RTC for LPC178x/18xx/408x/43xx"
1577 depends on ARCH_LPC18XX || COMPILE_TEST
1578 depends on OF && HAS_IOMEM
1579 help
1580 This enables support for the NXP RTC found which can be found on
1581 NXP LPC178x/18xx/408x/43xx devices.
1582
1583 If you have one of the devices above enable this driver to use
Alexandre Belloni72d3d792016-11-08 22:51:45 +01001584 the hardware RTC. This driver can also be built as a module. If
Joachim Eastwoodc28b42e2015-07-11 19:28:49 +02001585 so, the module will be called rtc-lpc24xx.
1586
Kevin Wells9aa449b2010-10-27 15:33:01 -07001587config RTC_DRV_LPC32XX
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001588 depends on ARCH_LPC32XX || COMPILE_TEST
Kevin Wells9aa449b2010-10-27 15:33:01 -07001589 tristate "NXP LPC32XX RTC"
1590 help
1591 This enables support for the NXP RTC in the LPC32XX
1592
Alexandre Belloni72d3d792016-11-08 22:51:45 +01001593 This driver can also be built as a module. If so, the module
Kevin Wells9aa449b2010-10-27 15:33:01 -07001594 will be called rtc-lpc32xx.
1595
Anirudh Ghayal9a9a54a2011-07-25 17:13:33 -07001596config RTC_DRV_PM8XXX
1597 tristate "Qualcomm PMIC8XXX RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001598 depends on MFD_PM8XXX || MFD_SPMI_PMIC || COMPILE_TEST
Anirudh Ghayal9a9a54a2011-07-25 17:13:33 -07001599 help
1600 If you say yes here you get support for the
1601 Qualcomm PMIC8XXX RTC.
1602
1603 To compile this driver as a module, choose M here: the
1604 module will be called rtc-pm8xxx.
1605
Andrew Chewff859ba2011-03-22 16:34:55 -07001606config RTC_DRV_TEGRA
1607 tristate "NVIDIA Tegra Internal RTC driver"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001608 depends on ARCH_TEGRA || COMPILE_TEST
Andrew Chewff859ba2011-03-22 16:34:55 -07001609 help
1610 If you say yes here you get support for the
1611 Tegra 200 series internal RTC module.
1612
1613 This drive can also be built as a module. If so, the module
1614 will be called rtc-tegra.
1615
Chris Metcalfdd196a22011-05-09 13:28:43 -04001616config RTC_DRV_TILE
1617 tristate "Tilera hypervisor RTC support"
1618 depends on TILE
1619 help
1620 Enable support for the Linux driver side of the Tilera
1621 hypervisor's real-time clock interface.
1622
Guan Xuetao2809e802011-05-26 16:43:27 +08001623config RTC_DRV_PUV3
1624 tristate "PKUnity v3 RTC support"
1625 depends on ARCH_PUV3
1626 help
1627 This enables support for the RTC in the PKUnity-v3 SoCs.
1628
1629 This drive can also be built as a module. If so, the module
1630 will be called rtc-puv3.
1631
zhao zhangb4f0b882012-03-23 15:02:32 -07001632config RTC_DRV_LOONGSON1
1633 tristate "loongson1 RTC support"
Huacai Chen30ad29b2015-04-21 10:00:35 +08001634 depends on MACH_LOONGSON32
zhao zhangb4f0b882012-03-23 15:02:32 -07001635 help
1636 This is a driver for the loongson1 on-chip Counter0 (Time-Of-Year
1637 counter) to be used as a RTC.
1638
1639 This driver can also be built as a module. If so, the module
1640 will be called rtc-ls1x.
1641
Fabio Estevam79811592012-05-29 15:07:37 -07001642config RTC_DRV_MXC
Fabio Estevamb224b9a2012-05-29 15:07:37 -07001643 tristate "Freescale MXC Real Time Clock"
1644 depends on ARCH_MXC
Fabio Estevamb224b9a2012-05-29 15:07:37 -07001645 help
1646 If you say yes here you get support for the Freescale MXC
1647 RTC module.
1648
1649 This driver can also be built as a module, if so, the module
1650 will be called "rtc-mxc".
1651
Shawn Guo179a5022012-10-04 17:13:49 -07001652config RTC_DRV_SNVS
1653 tristate "Freescale SNVS RTC support"
Shawn Guo8a0fa182015-07-13 15:58:51 +08001654 select REGMAP_MMIO
Shawn Guo179a5022012-10-04 17:13:49 -07001655 depends on HAS_IOMEM
1656 depends on OF
1657 help
1658 If you say yes here you get support for the Freescale SNVS
1659 Low Power (LP) RTC module.
1660
1661 This driver can also be built as a module, if so, the module
1662 will be called "rtc-snvs".
1663
Xianglong Due88b8152013-07-03 15:08:04 -07001664config RTC_DRV_SIRFSOC
1665 tristate "SiRFSOC RTC"
1666 depends on ARCH_SIRF
1667 help
1668 Say "yes" here to support the real time clock on SiRF SOC chips.
1669 This driver can also be built as a module called rtc-sirfsoc.
1670
Lee Jonesb5b2bdf2015-04-09 15:47:33 +01001671config RTC_DRV_ST_LPC
1672 tristate "STMicroelectronics LPC RTC"
1673 depends on ARCH_STI
1674 depends on OF
1675 help
1676 Say Y here to include STMicroelectronics Low Power Controller
1677 (LPC) based RTC support.
1678
1679 To compile this driver as a module, choose M here: the
1680 module will be called rtc-st-lpc.
1681
Jonas Jensen453b4c62013-09-11 14:24:17 -07001682config RTC_DRV_MOXART
1683 tristate "MOXA ART RTC"
Jean Delvare441fb762014-08-08 14:20:05 -07001684 depends on ARCH_MOXART || COMPILE_TEST
Jonas Jensen453b4c62013-09-11 14:24:17 -07001685 help
1686 If you say yes here you get support for the MOXA ART
1687 RTC module.
1688
1689 This driver can also be built as a module. If so, the module
1690 will be called rtc-moxart
1691
Tianping Fangfc297912015-05-06 15:23:41 +08001692config RTC_DRV_MT6397
1693 tristate "Mediatek Real Time Clock driver"
Arnd Bergmann04d3ba72016-01-25 17:04:46 +01001694 depends on MFD_MT6397 || (COMPILE_TEST && IRQ_DOMAIN)
Tianping Fangfc297912015-05-06 15:23:41 +08001695 help
1696 This selects the Mediatek(R) RTC driver. RTC is part of Mediatek
1697 MT6397 PMIC. You should enable MT6397 PMIC MFD before select
1698 Mediatek(R) RTC driver.
1699
1700 If you want to use Mediatek(R) RTC interface, select Y or M here.
1701
Loc Hof12d8692014-06-06 14:35:42 -07001702config RTC_DRV_XGENE
1703 tristate "APM X-Gene RTC"
Chen Gang706b6322014-10-13 15:53:14 -07001704 depends on HAS_IOMEM
Jean Delvarefdf8afa2015-05-06 09:24:42 +02001705 depends on ARCH_XGENE || COMPILE_TEST
Loc Hof12d8692014-06-06 14:35:42 -07001706 help
1707 If you say yes here you get support for the APM X-Gene SoC real time
1708 clock.
1709
1710 This driver can also be built as a module, if so, the module
1711 will be called "rtc-xgene".
1712
Joshua Henderson51aa9052016-02-25 10:30:44 -07001713config RTC_DRV_PIC32
1714 tristate "Microchip PIC32 RTC"
1715 depends on MACH_PIC32
1716 default y
1717 help
1718 If you say yes here you get support for the PIC32 RTC module.
1719
1720 This driver can also be built as a module. If so, the module
1721 will be called rtc-pic32
1722
Akinobu Mita0b6a8f52016-12-04 23:04:39 +09001723config RTC_DRV_R7301
1724 tristate "EPSON TOYOCOM RTC-7301SF/DG"
1725 select REGMAP_MMIO
1726 depends on OF && HAS_IOMEM
1727 help
1728 If you say yes here you get support for the EPSON TOYOCOM
1729 RTC-7301SF/DG chips.
1730
1731 This driver can also be built as a module. If so, the module
1732 will be called rtc-r7301.
1733
Amelie Delaunay4e643502017-01-11 14:46:43 +01001734config RTC_DRV_STM32
1735 tristate "STM32 RTC"
1736 select REGMAP_MMIO
1737 depends on ARCH_STM32 || COMPILE_TEST
1738 help
1739 If you say yes here you get support for the STM32 On-Chip
1740 Real Time Clock.
1741
1742 This driver can also be built as a module, if so, the module
1743 will be called "rtc-stm32".
1744
Sebastian Reicheldd3bf502017-03-02 01:27:09 +01001745config RTC_DRV_CPCAP
1746 depends on MFD_CPCAP
1747 tristate "Motorola CPCAP RTC"
1748 help
1749 Say y here for CPCAP rtc found on some Motorola phones
1750 and tablets such as Droid 4.
1751
Alexander Holler62e00cb2012-12-15 12:45:00 +00001752comment "HID Sensor RTC drivers"
1753
1754config RTC_DRV_HID_SENSOR_TIME
1755 tristate "HID Sensor Time"
1756 depends on USB_HID
1757 select IIO
1758 select HID_SENSOR_HUB
1759 select HID_SENSOR_IIO_COMMON
1760 help
1761 Say yes here to build support for the HID Sensors of type Time.
1762 This drivers makes such sensors available as RTCs.
1763
1764 If this driver is compiled as a module, it will be named
1765 rtc-hid-sensor-time.
1766
1767
Jan Engelhardtbb35fb22007-07-31 00:39:46 -07001768endif # RTC_CLASS