blob: 777047620ec7e9ebc5abf7ccccdf22a301e7b6c7 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
David Brownell7be2c7c2007-02-10 01:46:02 -08002#
Alessandro Zummoc58411e2006-03-27 01:16:34 -08003# RTC class/drivers configuration
4#
5
6config RTC_LIB
John Stultzb4d246b2011-04-29 15:03:11 -07007 bool
Alessandro Zummo0c86edc2006-03-27 01:16:37 -08008
Arnd Bergmannd6faca42016-06-01 16:46:23 +02009config RTC_MC146818_LIB
10 bool
11 select RTC_LIB
12
Jan Engelhardtbb35fb22007-07-31 00:39:46 -070013menuconfig RTC_CLASS
John Stultzb4d246b2011-04-29 15:03:11 -070014 bool "Real Time Clock"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080015 default n
Al Viro33694652011-08-18 20:11:59 +010016 depends on !S390 && !UML
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080017 select RTC_LIB
18 help
19 Generic RTC class support. If you say yes here, you will
Alexandre Belloni98ab2c92015-05-09 21:21:54 +020020 be allowed to plug one or more RTCs to your system. You will
Adrian Bunk27ae4102006-06-30 18:18:41 +020021 probably want to enable one or more of the interfaces below.
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080022
Jan Engelhardtbb35fb22007-07-31 00:39:46 -070023if RTC_CLASS
24
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080025config RTC_HCTOSYS
David Brownell7ca1d482007-05-08 00:33:42 -070026 bool "Set system time from RTC on startup and resume"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080027 default y
28 help
David Brownell7ca1d482007-05-08 00:33:42 -070029 If you say yes here, the system time (wall clock) will be set using
30 the value read from a specified RTC device. This is useful to avoid
31 unnecessary fsck runs at boot time, and to network better.
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080032
33config RTC_HCTOSYS_DEVICE
David Brownell7ca1d482007-05-08 00:33:42 -070034 string "RTC used to set the system time"
Xunlei Pang9c5150b2015-06-12 11:10:16 +080035 depends on RTC_HCTOSYS
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080036 default "rtc0"
37 help
David Brownell7ca1d482007-05-08 00:33:42 -070038 The RTC device that will be used to (re)initialize the system
Alessandro Zummoae64d162009-01-06 14:42:17 -080039 clock, usually rtc0. Initialization is done when the system
40 starts up, and when it resumes from a low power state. This
David Brownell779d2082007-11-14 16:58:29 -080041 device should record time in UTC, since the kernel won't do
42 timezone correction.
David Brownell7ca1d482007-05-08 00:33:42 -070043
David Brownell55ff1ab2007-07-21 04:37:56 -070044 The driver for this RTC device must be loaded before late_initcall
45 functions run, so it must usually be statically linked.
46
David Brownell7ca1d482007-05-08 00:33:42 -070047 This clock should be battery-backed, so that it reads the correct
Alessandro Zummoae64d162009-01-06 14:42:17 -080048 time when the system boots from a power-off state. Otherwise, your
David Brownell7ca1d482007-05-08 00:33:42 -070049 system will need an external clock source (like an NTP server).
50
51 If the clock you specify here is not battery backed, it may still
52 be useful to reinitialize system time when resuming from system
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -080053 sleep states. Do not specify an RTC here unless it stays powered
David Brownell7ca1d482007-05-08 00:33:42 -070054 during all this system's supported sleep states.
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080055
Xunlei Pang9c5150b2015-06-12 11:10:16 +080056config RTC_SYSTOHC
57 bool "Set the RTC time based on NTP synchronization"
58 default y
59 help
60 If you say yes here, the system time (wall clock) will be stored
61 in the RTC specified by RTC_HCTOSYS_DEVICE approximately every 11
62 minutes if userspace reports synchronized NTP status.
63
64config RTC_SYSTOHC_DEVICE
65 string "RTC used to synchronize NTP adjustment"
66 depends on RTC_SYSTOHC
67 default RTC_HCTOSYS_DEVICE if RTC_HCTOSYS
68 default "rtc0"
69 help
70 The RTC device used for NTP synchronization. The main difference
71 between RTC_HCTOSYS_DEVICE and RTC_SYSTOHC_DEVICE is that this
72 one can sleep when setting time, because it runs in the workqueue
73 context.
74
David Brownell9e86ecb2006-09-30 23:28:14 -070075config RTC_DEBUG
76 bool "RTC debug support"
David Brownell9e86ecb2006-09-30 23:28:14 -070077 help
78 Say yes here to enable debugging support in the RTC framework
79 and individual RTC drivers.
80
Alexandre Belloni697e5a42017-07-06 11:42:02 +020081config RTC_NVMEM
82 bool "RTC non volatile storage support"
83 select NVMEM
84 default RTC_CLASS
85 help
86 Say yes here to add support for the non volatile (often battery
87 backed) storage present on RTCs.
88
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080089comment "RTC interfaces"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080090
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080091config RTC_INTF_SYSFS
Christoph Jaeger6341e622014-12-20 15:41:11 -050092 bool "/sys/class/rtc/rtcN (sysfs)"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -070093 depends on SYSFS
Kevin Hilman8dc08392012-10-10 15:54:06 -070094 default RTC_CLASS
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080095 help
David Brownell9e86ecb2006-09-30 23:28:14 -070096 Say yes here if you want to use your RTCs using sysfs interfaces,
97 /sys/class/rtc/rtc0 through /sys/.../rtcN.
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080098
Alessandro Zummoae64d162009-01-06 14:42:17 -080099 If unsure, say Y.
Alessandro Zummoc5c3e192006-03-27 01:16:39 -0800100
Alessandro Zummo728a2942006-03-27 01:16:40 -0800101config RTC_INTF_PROC
Christoph Jaeger6341e622014-12-20 15:41:11 -0500102 bool "/proc/driver/rtc (procfs for rtcN)"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700103 depends on PROC_FS
Kevin Hilman8dc08392012-10-10 15:54:06 -0700104 default RTC_CLASS
Alessandro Zummo728a2942006-03-27 01:16:40 -0800105 help
Kim, Milo92589c92012-10-04 17:13:45 -0700106 Say yes here if you want to use your system clock RTC through
107 the proc interface, /proc/driver/rtc.
108 Other RTCs will not be available through that API.
109 If there is no RTC for the system clock, then the first RTC(rtc0)
110 is used by default.
Alessandro Zummo728a2942006-03-27 01:16:40 -0800111
Alessandro Zummoae64d162009-01-06 14:42:17 -0800112 If unsure, say Y.
Alessandro Zummo728a2942006-03-27 01:16:40 -0800113
Alessandro Zummoe8242902006-03-27 01:16:41 -0800114config RTC_INTF_DEV
Christoph Jaeger6341e622014-12-20 15:41:11 -0500115 bool "/dev/rtcN (character devices)"
Kevin Hilman8dc08392012-10-10 15:54:06 -0700116 default RTC_CLASS
Alessandro Zummoe8242902006-03-27 01:16:41 -0800117 help
David Brownell9e86ecb2006-09-30 23:28:14 -0700118 Say yes here if you want to use your RTCs using the /dev
119 interfaces, which "udev" sets up as /dev/rtc0 through
Alessandro Zummoae64d162009-01-06 14:42:17 -0800120 /dev/rtcN.
Alessandro Zummoe8242902006-03-27 01:16:41 -0800121
Alessandro Zummoae64d162009-01-06 14:42:17 -0800122 You may want to set up a symbolic link so one of these
123 can be accessed as /dev/rtc, which is a name
124 expected by "hwclock" and some other programs. Recent
125 versions of "udev" are known to set up the symlink for you.
126
127 If unsure, say Y.
Alessandro Zummoe8242902006-03-27 01:16:41 -0800128
John Stultz6e57b1d2011-02-11 17:45:40 -0800129config RTC_INTF_DEV_UIE_EMUL
130 bool "RTC UIE emulation on dev interface"
131 depends on RTC_INTF_DEV
132 help
133 Provides an emulation for RTC_UIE if the underlying rtc chip
134 driver does not expose RTC_UIE ioctls. Those requests generate
135 once-per-second update interrupts, used for synchronization.
136
137 The emulation code will read the time from the hardware
138 clock several times per second, please enable this option
139 only if you know that you really need it.
140
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700141config RTC_DRV_TEST
142 tristate "Test driver/device"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700143 help
144 If you say yes here you get support for the
145 RTC test driver. It's a software RTC which can be
146 used to test the RTC subsystem APIs. It gets
147 the time from the system clock.
148 You want this driver only if you are doing development
149 on the RTC subsystem. Please read the source code
150 for further details.
151
152 This driver can also be built as a module. If so, the module
153 will be called rtc-test.
154
155comment "I2C RTC drivers"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700156
157if I2C
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700158
Haojian Zhuang008b3042011-05-06 17:21:20 +0800159config RTC_DRV_88PM860X
160 tristate "Marvell 88PM860x"
Alexandre Belloni37830552015-06-08 19:27:37 +0200161 depends on MFD_88PM860X
Haojian Zhuang008b3042011-05-06 17:21:20 +0800162 help
163 If you say yes here you get support for RTC function in Marvell
164 88PM860x chips.
165
166 This driver can also be built as a module. If so, the module
167 will be called rtc-88pm860x.
168
Qiao Zhou2985c292012-07-09 14:37:34 +0800169config RTC_DRV_88PM80X
170 tristate "Marvell 88PM80x"
Alexandre Belloni37830552015-06-08 19:27:37 +0200171 depends on MFD_88PM800
Qiao Zhou2985c292012-07-09 14:37:34 +0800172 help
173 If you say yes here you get support for RTC function in Marvell
174 88PM80x chips.
175
176 This driver can also be built as a module. If so, the module
177 will be called rtc-88pm80x.
178
Arnaud Ebalard0b2f6222015-02-13 14:41:00 -0800179config RTC_DRV_ABB5ZES3
Alexandre Belloni98ab2c92015-05-09 21:21:54 +0200180 select REGMAP_I2C
181 tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
182 help
Arnaud Ebalard0b2f6222015-02-13 14:41:00 -0800183 If you say yes here you get support for the Abracon
184 AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip.
185
186 This driver can also be built as a module. If so, the module
187 will be called rtc-ab-b5ze-s3.
188
Artem Panfilov67075b62019-02-17 21:52:56 +0300189config RTC_DRV_ABEOZ9
190 select REGMAP_I2C
191 tristate "Abracon AB-RTCMC-32.768kHz-EOZ9"
192 help
193 If you say yes here you get support for the Abracon
194 AB-RTCMC-32.768kHz-EOA9 I2C RTC chip.
195
196 This driver can also be built as a module. If so, the module
197 will be called rtc-ab-e0z9.
198
Philippe De Muyter4d61ff62015-05-05 16:23:44 -0700199config RTC_DRV_ABX80X
200 tristate "Abracon ABx80x"
Jeremy Gebben749e36d2018-09-11 11:28:26 -0600201 select WATCHDOG_CORE if WATCHDOG
Philippe De Muyter4d61ff62015-05-05 16:23:44 -0700202 help
203 If you say yes here you get support for Abracon AB080X and AB180X
204 families of ultra-low-power battery- and capacitor-backed real-time
205 clock chips.
206
207 This driver can also be built as a module. If so, the module
208 will be called rtc-abx80x.
209
Chen-Yu Tsaid00a18a2016-07-08 22:33:38 +0800210config RTC_DRV_AC100
211 tristate "X-Powers AC100"
212 depends on MFD_AC100
213 help
214 If you say yes here you get support for the real-time clock found
215 in X-Powers AC100 family peripheral ICs.
216
217 This driver can also be built as a module. If so, the module
218 will be called rtc-ac100.
219
Brian Norrisc4f07ec2017-06-26 14:15:03 -0700220config RTC_DRV_BRCMSTB
221 tristate "Broadcom STB wake-timer"
222 depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
223 default ARCH_BRCMSTB || BMIPS_GENERIC
224 help
225 If you say yes here you get support for the wake-timer found on
226 Broadcom STB SoCs (BCM7xxx).
227
228 This driver can also be built as a module. If so, the module will
229 be called rtc-brcmstb-waketimer.
230
Laxman Dewanganb4506262013-11-12 15:11:05 -0800231config RTC_DRV_AS3722
232 tristate "ams AS3722 RTC driver"
233 depends on MFD_AS3722
234 help
235 If you say yes here you get support for the RTC of ams AS3722 PMIC
236 chips.
237
238 This driver can also be built as a module. If so, the module
239 will be called rtc-as3722.
240
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700241config RTC_DRV_DS1307
Nikita Yushchenko0759c882017-08-24 09:32:11 +0300242 tristate "Dallas/Maxim DS1307/37/38/39/40/41, ST M41T00, EPSON RX-8025, ISL12057"
Alexandre Belloni578c2b62020-01-27 23:17:24 +0100243 select REGMAP_I2C
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700244 help
245 If you say yes here you get support for various compatible RTC
Alessandro Zummoae64d162009-01-06 14:42:17 -0800246 chips (often with battery backup) connected with I2C. This driver
Nikita Yushchenko0759c882017-08-24 09:32:11 +0300247 should handle DS1307, DS1337, DS1338, DS1339, DS1340, DS1341,
248 ST M41T00, EPSON RX-8025, Intersil ISL12057 and probably other chips.
249 In some cases the RTC must already have been initialized (by
250 manufacturing or a bootloader).
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700251
252 The first seven registers on these chips hold an RTC, and other
253 registers may add features such as NVRAM, a trickle charger for
Alessandro Zummoae64d162009-01-06 14:42:17 -0800254 the RTC/NVRAM backup power, and alarms. NVRAM is visible in
David Brownell682d73f2007-11-14 16:58:32 -0800255 sysfs, but other chip features may not be available.
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700256
257 This driver can also be built as a module. If so, the module
258 will be called rtc-ds1307.
259
Alexandre Belloni50d6c0e2016-07-13 02:26:08 +0200260config RTC_DRV_DS1307_CENTURY
261 bool "Century bit support for rtc-ds1307"
262 depends on RTC_DRV_DS1307
263 default n
264 help
265 The DS1307 driver suffered from a bug where it was enabling the
266 century bit inconditionnally but never used it when reading the time.
267 It made the driver unable to support dates beyond 2099.
268 Setting this option will add proper support for the century bit but if
269 the time was previously set using a kernel predating this option,
270 reading the date will return a date in the next century.
271 To solve that, you could boot a kernel without this option set, set
272 the RTC date and then boot a kernel with this option set.
273
Scott Woodbf4994d2007-10-16 01:28:19 -0700274config RTC_DRV_DS1374
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800275 tristate "Dallas/Maxim DS1374"
Scott Woodbf4994d2007-10-16 01:28:19 -0700276 help
277 If you say yes here you get support for Dallas Semiconductor
Alessandro Zummoae64d162009-01-06 14:42:17 -0800278 DS1374 real-time clock chips. If an interrupt is associated
Scott Woodbf4994d2007-10-16 01:28:19 -0700279 with the device, the alarm functionality is supported.
280
Alessandro Zummoae64d162009-01-06 14:42:17 -0800281 This driver can also be built as a module. If so, the module
Scott Woodbf4994d2007-10-16 01:28:19 -0700282 will be called rtc-ds1374.
283
Søren Andersen920f91e2014-12-10 15:53:54 -0800284config RTC_DRV_DS1374_WDT
285 bool "Dallas/Maxim DS1374 watchdog timer"
286 depends on RTC_DRV_DS1374
287 help
288 If you say Y here you will get support for the
289 watchdog timer in the Dallas Semiconductor DS1374
290 real-time clock chips.
291
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700292config RTC_DRV_DS1672
293 tristate "Dallas/Maxim DS1672"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700294 help
295 If you say yes here you get support for the
296 Dallas/Maxim DS1672 timekeeping chip.
297
298 This driver can also be built as a module. If so, the module
299 will be called rtc-ds1672.
300
Heiko Stuebnerdcaf0382014-01-23 15:55:10 -0800301config RTC_DRV_HYM8563
302 tristate "Haoyu Microelectronics HYM8563"
Alexandre Belloni37830552015-06-08 19:27:37 +0200303 depends on OF
Heiko Stuebnerdcaf0382014-01-23 15:55:10 -0800304 help
305 Say Y to enable support for the HYM8563 I2C RTC chip. Apart
306 from the usual rtc functions it provides a clock output of
307 up to 32kHz.
308
309 This driver can also be built as a module. If so, the module
310 will be called rtc-hym8563.
311
Kim, Milo38ae1762013-02-21 16:44:32 -0800312config RTC_DRV_LP8788
313 tristate "TI LP8788 RTC driver"
314 depends on MFD_LP8788
315 help
316 Say Y to enable support for the LP8788 RTC/ALARM driver.
317
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700318config RTC_DRV_MAX6900
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800319 tristate "Maxim MAX6900"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700320 help
321 If you say yes here you will get support for the
322 Maxim MAX6900 I2C RTC chip.
323
324 This driver can also be built as a module. If so, the module
325 will be called rtc-max6900.
326
Stephen Warren94c01ab2012-10-04 17:13:56 -0700327config RTC_DRV_MAX8907
328 tristate "Maxim MAX8907"
Krzysztof Kozlowski959df772016-10-02 22:58:16 +0200329 depends on MFD_MAX8907 || COMPILE_TEST
Stephen Warren94c01ab2012-10-04 17:13:56 -0700330 help
331 If you say yes here you will get support for the
332 RTC of Maxim MAX8907 PMIC.
333
334 This driver can also be built as a module. If so, the module
335 will be called rtc-max8907.
336
Haojian Zhuanga39069f62010-01-25 06:30:29 -0500337config RTC_DRV_MAX8925
338 tristate "Maxim MAX8925"
339 depends on MFD_MAX8925
340 help
341 If you say yes here you will get support for the
342 RTC of Maxim MAX8925 PMIC.
343
344 This driver can also be built as a module. If so, the module
345 will be called rtc-max8925.
346
Joonyoung Shim9b16c0a2010-08-06 11:28:08 +0900347config RTC_DRV_MAX8998
348 tristate "Maxim MAX8998"
349 depends on MFD_MAX8998
350 help
351 If you say yes here you will get support for the
352 RTC of Maxim MAX8998 PMIC.
353
354 This driver can also be built as a module. If so, the module
355 will be called rtc-max8998.
356
Jonghwa Lee5e0b2702013-02-21 16:45:07 -0800357config RTC_DRV_MAX8997
358 tristate "Maxim MAX8997"
359 depends on MFD_MAX8997
360 help
361 If you say yes here you will get support for the
362 RTC of Maxim MAX8997 PMIC.
363
364 This driver can also be built as a module. If so, the module
365 will be called rtc-max8997.
366
Jonghwa Leefca1dd02013-02-21 16:44:26 -0800367config RTC_DRV_MAX77686
368 tristate "Maxim MAX77686"
Krzysztof Kozlowski959df772016-10-02 22:58:16 +0200369 depends on MFD_MAX77686 || MFD_MAX77620 || COMPILE_TEST
Jonghwa Leefca1dd02013-02-21 16:44:26 -0800370 help
371 If you say yes here you will get support for the
Laxman Dewangan726fe732016-03-02 14:06:24 +0530372 RTC of Maxim MAX77686/MAX77620/MAX77802 PMIC.
Jonghwa Leefca1dd02013-02-21 16:44:26 -0800373
374 This driver can also be built as a module. If so, the module
375 will be called rtc-max77686.
376
Chris Zhong3ca1e322014-10-13 15:52:42 -0700377config RTC_DRV_RK808
Tony Xiedc790542019-06-21 06:34:38 -0400378 tristate "Rockchip RK805/RK808/RK809/RK817/RK818 RTC"
Chris Zhong3ca1e322014-10-13 15:52:42 -0700379 depends on MFD_RK808
380 help
381 If you say yes here you will get support for the
Tony Xiedc790542019-06-21 06:34:38 -0400382 RTC of RK805, RK809 and RK817, RK808 and RK818 PMIC.
Chris Zhong3ca1e322014-10-13 15:52:42 -0700383
384 This driver can also be built as a module. If so, the module
385 will be called rk808-rtc.
386
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700387config RTC_DRV_RS5C372
Paul Mundt5d4529b2008-10-21 20:12:59 +0900388 tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700389 help
390 If you say yes here you get support for the
Paul Mundt5d4529b2008-10-21 20:12:59 +0900391 Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700392
393 This driver can also be built as a module. If so, the module
394 will be called rtc-rs5c372.
395
396config RTC_DRV_ISL1208
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800397 tristate "Intersil ISL1208"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700398 help
399 If you say yes here you get support for the
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800400 Intersil ISL1208 RTC chip.
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700401
402 This driver can also be built as a module. If so, the module
403 will be called rtc-isl1208.
404
Roman Fietzed6c74282010-08-10 18:02:14 -0700405config RTC_DRV_ISL12022
406 tristate "Intersil ISL12022"
407 help
408 If you say yes here you get support for the
409 Intersil ISL12022 RTC chip.
410
411 This driver can also be built as a module. If so, the module
412 will be called rtc-isl12022.
413
David Daney4731a432018-02-22 12:04:32 -0800414config RTC_DRV_ISL12026
415 tristate "Intersil ISL12026"
416 depends on OF || COMPILE_TEST
417 help
418 If you say yes here you get support for the
419 Intersil ISL12026 RTC chip.
420
421 This driver can also be built as a module. If so, the module
422 will be called rtc-isl12026.
423
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700424config RTC_DRV_X1205
425 tristate "Xicor/Intersil X1205"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700426 help
427 If you say yes here you get support for the
428 Xicor/Intersil X1205 RTC chip.
429
430 This driver can also be built as a module. If so, the module
431 will be called rtc-x1205.
432
Thierry Redingf803f0d2012-12-17 16:02:44 -0800433config RTC_DRV_PCF8523
434 tristate "NXP PCF8523"
435 help
436 If you say yes here you get support for the NXP PCF8523 RTC
437 chips.
438
439 This driver can also be built as a module. If so, the module
440 will be called rtc-pcf8523.
441
Soren Brinkmannd0848852015-11-03 23:13:46 -0800442config RTC_DRV_PCF85063
443 tristate "NXP PCF85063"
Alexandre Bellonie89b60d2019-04-01 18:08:10 +0200444 select REGMAP_I2C
Soren Brinkmannd0848852015-11-03 23:13:46 -0800445 help
446 If you say yes here you get support for the PCF85063 RTC chip
447
448 This driver can also be built as a module. If so, the module
449 will be called rtc-pcf85063.
450
Eric Nelsona9687aa2017-11-01 08:01:20 -0700451config RTC_DRV_PCF85363
452 tristate "NXP PCF85363"
Eric Nelsona9687aa2017-11-01 08:01:20 -0700453 select REGMAP_I2C
454 help
455 If you say yes here you get support for the PCF85363 RTC chip.
456
457 This driver can also be built as a module. If so, the module
458 will be called rtc-pcf85363.
459
460 The nvmem interface will be named pcf85363-#, where # is the
461 zero-based instance number.
462
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700463config RTC_DRV_PCF8563
464 tristate "Philips PCF8563/Epson RTC8564"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700465 help
466 If you say yes here you get support for the
467 Philips PCF8563 RTC chip. The Epson RTC8564
468 should work as well.
469
470 This driver can also be built as a module. If so, the module
471 will be called rtc-pcf8563.
472
473config RTC_DRV_PCF8583
474 tristate "Philips PCF8583"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700475 help
476 If you say yes here you get support for the Philips PCF8583
477 RTC chip found on Acorn RiscPCs. This driver supports the
478 platform specific method of retrieving the current year from
479 the RTC's SRAM. It will work on other platforms with the same
480 chip, but the year will probably have to be tweaked.
481
482 This driver can also be built as a module. If so, the module
483 will be called rtc-pcf8583.
484
Atsushi Nemotocaaff562007-07-17 04:05:02 -0700485config RTC_DRV_M41T80
Wolfram Sang6b1a5232014-06-06 14:35:47 -0700486 tristate "ST M41T62/65/M41T80/81/82/83/84/85/87 and compatible"
Atsushi Nemotocaaff562007-07-17 04:05:02 -0700487 help
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700488 If you say Y here you will get support for the ST M41T60
489 and M41T80 RTC chips series. Currently, the following chips are
Daniel Glocknerf30281f2009-04-02 16:57:03 -0700490 supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
Wolfram Sang6b1a5232014-06-06 14:35:47 -0700491 M41ST85, M41ST87, and MicroCrystal RV4162.
Atsushi Nemotocaaff562007-07-17 04:05:02 -0700492
493 This driver can also be built as a module. If so, the module
494 will be called rtc-m41t80.
495
Atsushi Nemoto617780d2007-07-17 04:05:04 -0700496config RTC_DRV_M41T80_WDT
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700497 bool "ST M41T65/M41T80 series RTC watchdog timer"
Atsushi Nemoto617780d2007-07-17 04:05:04 -0700498 depends on RTC_DRV_M41T80
499 help
500 If you say Y here you will get support for the
Steven A. Falcod3a126f2008-10-15 22:03:07 -0700501 watchdog timer in the ST M41T60 and M41T80 RTC chips series.
Matti Vaittinenfe5a5912020-01-20 15:45:36 +0200502
Matti Vaittinen32a4a4e2019-06-03 10:27:14 +0300503config RTC_DRV_BD70528
504 tristate "ROHM BD70528 PMIC RTC"
Matti Vaittinen41a8e192019-08-12 09:36:11 +0300505 depends on MFD_ROHM_BD70528 && (BD70528_WATCHDOG || !BD70528_WATCHDOG)
Matti Vaittinen32a4a4e2019-06-03 10:27:14 +0300506 help
507 If you say Y here you will get support for the RTC
Matti Vaittinenfe5a5912020-01-20 15:45:36 +0200508 block on ROHM BD70528 and BD71828 Power Management IC.
Matti Vaittinen32a4a4e2019-06-03 10:27:14 +0300509
510 This driver can also be built as a module. If so, the module
511 will be called rtc-bd70528.
Atsushi Nemoto617780d2007-07-17 04:05:04 -0700512
Piotr Ziecik1ce7c832009-12-15 16:46:12 -0800513config RTC_DRV_BQ32K
514 tristate "TI BQ32000"
515 help
516 If you say Y here you will get support for the TI
517 BQ32000 I2C RTC chip.
518
519 This driver can also be built as a module. If so, the module
520 will be called rtc-bq32k.
521
David Brownellafd8d0f2009-02-04 15:12:01 -0800522config RTC_DRV_DM355EVM
523 tristate "TI DaVinci DM355 EVM RTC"
524 depends on MFD_DM355EVM_MSP
525 help
526 Supports the RTC firmware in the MSP430 on the DM355 EVM.
527
Tony Lindgren0c4a59f2007-07-17 04:06:09 -0700528config RTC_DRV_TWL92330
Christoph Jaeger6341e622014-12-20 15:41:11 -0500529 bool "TI TWL92330/Menelaus"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700530 depends on MENELAUS
Tony Lindgren0c4a59f2007-07-17 04:06:09 -0700531 help
532 If you say yes here you get support for the RTC on the
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200533 TWL92330 "Menelaus" power management chip, used with OMAP2
Alessandro Zummoae64d162009-01-06 14:42:17 -0800534 platforms. The support is integrated with the rest of
Tony Lindgren0c4a59f2007-07-17 04:06:09 -0700535 the Menelaus driver; it's not separate module.
536
David Brownellf96411a2008-10-20 23:50:05 +0200537config RTC_DRV_TWL4030
Balaji T Ka6b49ff2009-12-13 22:16:31 +0100538 tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
Venu Byravarasu6b8029f2012-10-04 17:13:59 -0700539 depends on TWL4030_CORE
Nicolae Rosia1c02cbfe2016-11-23 10:55:57 +0200540 depends on OF
David Brownellf96411a2008-10-20 23:50:05 +0200541 help
542 If you say yes here you get support for the RTC on the
Balaji T Ka6b49ff2009-12-13 22:16:31 +0100543 TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
David Brownellf96411a2008-10-20 23:50:05 +0200544
545 This driver can also be built as a module. If so, the module
Balaji T Ka6b49ff2009-12-13 22:16:31 +0100546 will be called rtc-twl.
David Brownellf96411a2008-10-20 23:50:05 +0200547
Soren Brinkmannd0848852015-11-03 23:13:46 -0800548config RTC_DRV_PALMAS
549 tristate "TI Palmas RTC driver"
550 depends on MFD_PALMAS
551 help
552 If you say yes here you get support for the RTC of TI PALMA series PMIC
553 chips.
554
555 This driver can also be built as a module. If so, the module
556 will be called rtc-palma.
557
Laxman Dewangandc59ed32013-01-04 15:35:44 -0800558config RTC_DRV_TPS6586X
559 tristate "TI TPS6586X RTC driver"
560 depends on MFD_TPS6586X
561 help
Masanari Iidaa895d572013-04-09 02:06:50 +0900562 TI Power Management IC TPS6586X supports RTC functionality
Laxman Dewangandc59ed32013-01-04 15:35:44 -0800563 along with alarm. This driver supports the RTC driver for
564 the TPS6586X RTC module.
565
Venu Byravarasu0e783982012-10-04 17:13:55 -0700566config RTC_DRV_TPS65910
567 tristate "TI TPS65910 RTC driver"
Michał Mirosław9c3f0792019-05-25 11:12:51 +0200568 depends on MFD_TPS65910
Venu Byravarasu0e783982012-10-04 17:13:55 -0700569 help
570 If you say yes here you get support for the RTC on the
571 TPS65910 chips.
572
573 This driver can also be built as a module. If so, the module
574 will be called rtc-tps65910.
575
Laxman Dewangan36d61822013-02-21 16:44:34 -0800576config RTC_DRV_TPS80031
577 tristate "TI TPS80031/TPS80032 RTC driver"
578 depends on MFD_TPS80031
579 help
Masanari Iidaa895d572013-04-09 02:06:50 +0900580 TI Power Management IC TPS80031 supports RTC functionality
Laxman Dewangan36d61822013-02-21 16:44:34 -0800581 along with alarm. This driver supports the RTC driver for
582 the TPS80031 RTC module.
583
Venu Byravarasu90829c02012-10-04 17:14:04 -0700584config RTC_DRV_RC5T583
585 tristate "RICOH 5T583 RTC driver"
586 depends on MFD_RC5T583
587 help
588 If you say yes here you get support for the RTC on the
589 RICOH 5T583 chips.
590
591 This driver can also be built as a module. If so, the module
592 will be called rtc-rc5t583.
593
Byron Bradleyc46288b2008-03-04 14:28:25 -0800594config RTC_DRV_S35390A
595 tristate "Seiko Instruments S-35390A"
Randy Dunlapd4795402008-04-10 21:29:18 -0700596 select BITREVERSE
Byron Bradleyc46288b2008-03-04 14:28:25 -0800597 help
598 If you say yes here you will get support for the Seiko
599 Instruments S-35390A.
600
601 This driver can also be built as a module. If so the module
602 will be called rtc-s35390a.
603
Sergey Lapinc6d8f402008-06-12 15:21:55 -0700604config RTC_DRV_FM3130
605 tristate "Ramtron FM3130"
606 help
607 If you say Y here you will get support for the
608 Ramtron FM3130 RTC chips.
609 Ramtron FM3130 is a chip with two separate devices inside,
610 RTC clock and FRAM. This driver provides only RTC functionality.
611
612 This driver can also be built as a module. If so the module
613 will be called rtc-fm3130.
614
Akshay Bhated13d892015-12-03 14:41:21 -0500615config RTC_DRV_RX8010
616 tristate "Epson RX8010SJ"
Akshay Bhated13d892015-12-03 14:41:21 -0500617 help
618 If you say yes here you get support for the Epson RX8010SJ RTC
619 chip.
620
621 This driver can also be built as a module. If so, the module
622 will be called rtc-rx8010.
623
Martyn Welcha7fa9852008-11-12 13:27:06 -0800624config RTC_DRV_RX8581
Biju Das51f896f2019-02-21 09:40:45 +0000625 tristate "Epson RX-8571/RX-8581"
Alexandre Belloni578c2b62020-01-27 23:17:24 +0100626 select REGMAP_I2C
Martyn Welcha7fa9852008-11-12 13:27:06 -0800627 help
Biju Das51f896f2019-02-21 09:40:45 +0000628 If you say yes here you will get support for the Epson RX-8571/
629 RX-8581.
Martyn Welcha7fa9852008-11-12 13:27:06 -0800630
631 This driver can also be built as a module. If so the module
632 will be called rtc-rx8581.
633
Wolfgang Grandegger3c2b9072009-06-17 16:26:11 -0700634config RTC_DRV_RX8025
635 tristate "Epson RX-8025SA/NB"
636 help
637 If you say yes here you get support for the Epson
638 RX-8025SA/NB RTC chips.
639
640 This driver can also be built as a module. If so, the module
641 will be called rtc-rx8025.
642
Mike Rapoportae3551f2011-05-26 16:25:04 -0700643config RTC_DRV_EM3027
644 tristate "EM Microelectronic EM3027"
645 help
646 If you say yes here you get support for the EM
647 Microelectronic EM3027 RTC chips.
648
649 This driver can also be built as a module. If so, the module
650 will be called rtc-em3027.
651
Alexandre Bellonie6e73762019-02-13 00:21:36 +0100652config RTC_DRV_RV3028
653 tristate "Micro Crystal RV3028"
Alexandre Belloni578c2b62020-01-27 23:17:24 +0100654 select REGMAP_I2C
Alexandre Bellonie6e73762019-02-13 00:21:36 +0100655 help
656 If you say yes here you get support for the Micro Crystal
657 RV3028.
658
659 This driver can also be built as a module. If so, the module
660 will be called rtc-rv3028.
661
Alexandre Belloni1e3929e2015-11-02 23:48:32 +0100662config RTC_DRV_RV8803
Benoît Thébaudeau34166a02016-07-21 12:41:27 +0200663 tristate "Micro Crystal RV8803, Epson RX8900"
Alexandre Belloni1e3929e2015-11-02 23:48:32 +0100664 help
Benoît Thébaudeau34166a02016-07-21 12:41:27 +0200665 If you say yes here you get support for the Micro Crystal RV8803 and
666 Epson RX8900 RTC chips.
Alexandre Belloni1e3929e2015-11-02 23:48:32 +0100667
668 This driver can also be built as a module. If so, the module
669 will be called rtc-rv8803.
670
Sangbeom Kim5bccae62013-11-12 15:11:04 -0800671config RTC_DRV_S5M
Krzysztof Kozlowski0c5deb12014-06-10 15:18:46 -0700672 tristate "Samsung S2M/S5M series"
Krzysztof Kozlowski959df772016-10-02 22:58:16 +0200673 depends on MFD_SEC_CORE || COMPILE_TEST
674 select REGMAP_IRQ
Sangbeom Kim5bccae62013-11-12 15:11:04 -0800675 help
676 If you say yes here you will get support for the
Krzysztof Kozlowski0c5deb12014-06-10 15:18:46 -0700677 RTC of Samsung S2MPS14 and S5M PMIC series.
Sangbeom Kim5bccae62013-11-12 15:11:04 -0800678
679 This driver can also be built as a module. If so, the module
680 will be called rtc-s5m.
681
Dianlong Li1d67a232018-12-13 18:13:50 +0800682config RTC_DRV_SD3078
Alexandre Bellonic6820942020-01-27 23:17:23 +0100683 tristate "ZXW Shenzhen whwave SD3078"
Alexandre Belloni578c2b62020-01-27 23:17:24 +0100684 select REGMAP_I2C
Alexandre Bellonic6820942020-01-27 23:17:23 +0100685 help
686 If you say yes here you get support for the ZXW Shenzhen whwave
687 SD3078 RTC chips.
Dianlong Li1d67a232018-12-13 18:13:50 +0800688
Alexandre Bellonic6820942020-01-27 23:17:23 +0100689 This driver can also be built as a module. If so, the module
690 will be called rtc-sd3078
Dianlong Li1d67a232018-12-13 18:13:50 +0800691
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700692endif # I2C
693
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700694comment "SPI RTC drivers"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700695
696if SPI_MASTER
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700697
Voss, Nikolaus74d34d42011-05-26 16:25:07 -0700698config RTC_DRV_M41T93
Alexandre Belloni98ab2c92015-05-09 21:21:54 +0200699 tristate "ST M41T93"
700 help
701 If you say yes here you will get support for the
702 ST M41T93 SPI RTC chip.
Voss, Nikolaus74d34d42011-05-26 16:25:07 -0700703
Alexandre Belloni98ab2c92015-05-09 21:21:54 +0200704 This driver can also be built as a module. If so, the module
705 will be called rtc-m41t93.
Voss, Nikolaus74d34d42011-05-26 16:25:07 -0700706
Kim B. Heino8fc2c762008-07-23 21:30:34 -0700707config RTC_DRV_M41T94
708 tristate "ST M41T94"
709 help
710 If you say yes here you will get support for the
711 ST M41T94 SPI RTC chip.
712
713 This driver can also be built as a module. If so, the module
714 will be called rtc-m41t94.
715
Sergey Yanovichd25a5ed2016-02-23 13:54:57 +0300716config RTC_DRV_DS1302
717 tristate "Dallas/Maxim DS1302"
718 depends on SPI
719 help
720 If you say yes here you get support for the Dallas DS1302 RTC chips.
721
722 This driver can also be built as a module. If so, the module
723 will be called rtc-ds1302.
724
David Brownell53e84b62008-07-23 21:30:36 -0700725config RTC_DRV_DS1305
726 tristate "Dallas/Maxim DS1305/DS1306"
727 help
728 Select this driver to get support for the Dallas/Maxim DS1305
Alessandro Zummoae64d162009-01-06 14:42:17 -0800729 and DS1306 real time clock chips. These support a trickle
David Brownell53e84b62008-07-23 21:30:36 -0700730 charger, alarms, and NVRAM in addition to the clock.
731
732 This driver can also be built as a module. If so, the module
733 will be called rtc-ds1305.
734
Raghavendra Ganiga1d6316f2014-06-06 14:35:59 -0700735config RTC_DRV_DS1343
Raghavendra Ganiga0dd449b2014-06-06 14:36:00 -0700736 select REGMAP_SPI
Raghavendra Ganiga1d6316f2014-06-06 14:35:59 -0700737 tristate "Dallas/Maxim DS1343/DS1344"
738 help
739 If you say yes here you get support for the
740 Dallas/Maxim DS1343 and DS1344 real time clock chips.
741 Support for trickle charger, alarm is provided.
742
743 This driver can also be built as a module. If so, the module
744 will be called rtc-ds1343.
745
Raghavendra Ganiga617b26a2014-04-03 14:50:16 -0700746config RTC_DRV_DS1347
Raghavendra Ganigaee85bb52016-08-31 22:56:41 +0530747 select REGMAP_SPI
Raghavendra Ganiga617b26a2014-04-03 14:50:16 -0700748 tristate "Dallas/Maxim DS1347"
749 help
750 If you say yes here you get support for the
751 Dallas/Maxim DS1347 chips.
752
753 This driver only supports the RTC feature, and not other chip
754 features such as alarms.
755
756 This driver can also be built as a module. If so, the module
757 will be called rtc-ds1347.
758
Mark Jackson06de1802008-11-12 13:27:07 -0800759config RTC_DRV_DS1390
760 tristate "Dallas/Maxim DS1390/93/94"
761 help
Alessandro Zummo7b9b2ef2009-01-06 14:42:16 -0800762 If you say yes here you get support for the
763 Dallas/Maxim DS1390/93/94 chips.
Mark Jackson06de1802008-11-12 13:27:07 -0800764
Ivan Grimaldifa395fb2015-09-18 17:27:57 +0200765 This driver supports the RTC feature and trickle charging but not
766 other chip features such as alarms.
Mark Jackson06de1802008-11-12 13:27:07 -0800767
768 This driver can also be built as a module. If so, the module
769 will be called rtc-ds1390.
770
Venkat Prashanth B U06776c82016-06-01 11:59:54 +0530771config RTC_DRV_MAX6916
772 tristate "Maxim MAX6916"
773 help
774 If you say yes here you will get support for the
775 Maxim MAX6916 SPI RTC chip.
776
777 This driver only supports the RTC feature, and not other chip
778 features such as alarms.
779
780 This driver can also be built as a module. If so, the module
781 will be called rtc-max6916.
782
Magnus Damm2805b962008-02-06 01:38:53 -0800783config RTC_DRV_R9701
784 tristate "Epson RTC-9701JE"
785 help
786 If you say yes here you will get support for the
787 Epson RTC-9701JE SPI RTC chip.
788
789 This driver can also be built as a module. If so, the module
790 will be called rtc-r9701.
791
Soren Brinkmannd0848852015-11-03 23:13:46 -0800792config RTC_DRV_RX4581
793 tristate "Epson RX-4581"
794 help
795 If you say yes here you will get support for the Epson RX-4581.
796
797 This driver can also be built as a module. If so the module
798 will be called rtc-rx4581.
799
800config RTC_DRV_RX6110
801 tristate "Epson RX-6110"
802 select REGMAP_SPI
803 help
804 If you say yes here you will get support for the Epson RX-6610.
805
806 This driver can also be built as a module. If so the module
807 will be called rtc-rx6110.
808
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700809config RTC_DRV_RS5C348
810 tristate "Ricoh RS5C348A/B"
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700811 help
812 If you say yes here you get support for the
813 Ricoh RS5C348A and RS5C348B RTC chips.
814
815 This driver can also be built as a module. If so, the module
816 will be called rtc-rs5c348.
817
Soren Brinkmannd0848852015-11-03 23:13:46 -0800818config RTC_DRV_MAX6902
819 tristate "Maxim MAX6902"
820 help
821 If you say yes here you will get support for the
822 Maxim MAX6902 SPI RTC chip.
823
824 This driver can also be built as a module. If so, the module
825 will be called rtc-max6902.
826
Chris Verges7f3923a2009-09-22 16:46:20 -0700827config RTC_DRV_PCF2123
828 tristate "NXP PCF2123"
YueHaibingf2f5cb62019-07-04 16:55:42 +0800829 select REGMAP_SPI
Chris Verges7f3923a2009-09-22 16:46:20 -0700830 help
831 If you say yes here you get support for the NXP PCF2123
832 RTC chip.
833
834 This driver can also be built as a module. If so, the module
835 will be called rtc-pcf2123.
836
Josef Gajdusek1fcbe422014-06-06 14:36:02 -0700837config RTC_DRV_MCP795
838 tristate "Microchip MCP795"
839 help
840 If you say yes here you will get support for the Microchip MCP795.
841
842 This driver can also be built as a module. If so the module
843 will be called rtc-mcp795.
844
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700845endif # SPI_MASTER
846
Akinobu Mita080481f52016-03-07 00:27:48 +0900847#
848# Helper to resolve issues with configs that have SPI enabled but I2C
849# modular. See SND_SOC_I2C_AND_SPI for more information
850#
851config RTC_I2C_AND_SPI
852 tristate
853 default m if I2C=m
854 default y if I2C=y
855 default y if SPI_MASTER=y
Akinobu Mita080481f52016-03-07 00:27:48 +0900856
857comment "SPI and I2C RTC drivers"
858
859config RTC_DRV_DS3232
860 tristate "Dallas/Maxim DS3232/DS3234"
861 depends on RTC_I2C_AND_SPI
Geert Uytterhoeven34719de2020-01-12 18:13:49 +0100862 select REGMAP_I2C if I2C
863 select REGMAP_SPI if SPI_MASTER
Akinobu Mita080481f52016-03-07 00:27:48 +0900864 help
865 If you say yes here you get support for Dallas Semiconductor
866 DS3232 and DS3234 real-time clock chips. If an interrupt is associated
867 with the device, the alarm functionality is supported.
868
869 This driver can also be built as a module. If so, the module
870 will be called rtc-ds3232.
871
Kirill Esipovc35c4192017-06-28 14:29:09 +0300872config RTC_DRV_DS3232_HWMON
873 bool "HWMON support for Dallas/Maxim DS3232/DS3234"
874 depends on RTC_DRV_DS3232 && HWMON && !(RTC_DRV_DS3232=y && HWMON=m)
875 default y
876 help
877 Say Y here if you want to expose temperature sensor data on
878 rtc-ds3232
879
Akinobu Mita9408ec12016-03-14 23:45:00 +0900880config RTC_DRV_PCF2127
881 tristate "NXP PCF2127"
882 depends on RTC_I2C_AND_SPI
Geert Uytterhoeven34719de2020-01-12 18:13:49 +0100883 select REGMAP_I2C if I2C
884 select REGMAP_SPI if SPI_MASTER
Bruno Thomsen28abbba2019-08-27 16:36:56 +0200885 select WATCHDOG_CORE if WATCHDOG
Akinobu Mita9408ec12016-03-14 23:45:00 +0900886 help
887 If you say yes here you get support for the NXP PCF2127/29 RTC
Bruno Thomsen0e735ea2019-08-22 15:19:35 +0200888 chips with integrated quartz crystal for industrial applications.
889 Both chips also have watchdog timer and tamper switch detection
890 features.
891
892 PCF2127 has an additional feature of 512 bytes battery backed
893 memory that's accessible using nvmem interface.
Akinobu Mita9408ec12016-03-14 23:45:00 +0900894
895 This driver can also be built as a module. If so, the module
896 will be called rtc-pcf2127.
897
Mylène Josserandc2a1c142016-05-03 11:54:34 +0200898config RTC_DRV_RV3029C2
899 tristate "Micro Crystal RV3029/3049"
900 depends on RTC_I2C_AND_SPI
Geert Uytterhoeven34719de2020-01-12 18:13:49 +0100901 select REGMAP_I2C if I2C
902 select REGMAP_SPI if SPI_MASTER
Mylène Josserandc2a1c142016-05-03 11:54:34 +0200903 help
904 If you say yes here you get support for the Micro Crystal
905 RV3029 and RV3049 RTC chips.
906
907 This driver can also be built as a module. If so, the module
908 will be called rtc-rv3029c2.
909
910config RTC_DRV_RV3029_HWMON
911 bool "HWMON support for RV3029/3049"
912 depends on RTC_DRV_RV3029C2 && HWMON
913 depends on !(RTC_DRV_RV3029C2=y && HWMON=m)
914 default y
915 help
916 Say Y here if you want to expose temperature sensor data on
917 rtc-rv3029.
918
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700919comment "Platform RTC drivers"
Alessandro Zummo0c86edc2006-03-27 01:16:37 -0800920
Christoph Hellwig290cd0f2016-10-12 15:30:53 +0200921# this 'CMOS' RTC driver is arch dependent because it requires
922# <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
David Brownell7be2c7c2007-02-10 01:46:02 -0800923# global rtc_lock ... it's not yet just another platform_device.
924
925config RTC_DRV_CMOS
Alessandro Zummo09a21e52007-05-08 00:33:48 -0700926 tristate "PC-style 'CMOS'"
Arnd Bergmanna687a532018-03-07 23:30:54 +0100927 depends on X86 || ARM || PPC || MIPS || SPARC64
David Brownellc7500902008-04-28 02:11:52 -0700928 default y if X86
Arnd Bergmannd6faca42016-06-01 16:46:23 +0200929 select RTC_MC146818_LIB
David Brownell7be2c7c2007-02-10 01:46:02 -0800930 help
931 Say "yes" here to get direct support for the real time clock
932 found in every PC or ACPI-based system, and some other boards.
933 Specifically the original MC146818, compatibles like those in
934 PC south bridges, the DS12887 or M48T86, some multifunction
935 or LPC bus chips, and so on.
936
937 Your system will need to define the platform device used by
Alessandro Zummoae64d162009-01-06 14:42:17 -0800938 this driver, otherwise it won't be accessible. This means
David Brownell7be2c7c2007-02-10 01:46:02 -0800939 you can safely enable this driver if you don't know whether
940 or not your board has this kind of hardware.
941
942 This driver can also be built as a module. If so, the module
943 will be called rtc-cmos.
944
Richard Henderson85d0b3a2013-07-13 15:49:45 -0700945config RTC_DRV_ALPHA
946 bool "Alpha PC-style CMOS"
947 depends on ALPHA
Arnd Bergmannd6faca42016-06-01 16:46:23 +0200948 select RTC_MC146818_LIB
Richard Henderson85d0b3a2013-07-13 15:49:45 -0700949 default y
950 help
951 Direct support for the real-time clock found on every Alpha
952 system, specifically MC146818 compatibles. If in doubt, say Y.
953
Feng Tang0146f262010-11-10 17:29:17 +0000954config RTC_DRV_VRTC
Alan Cox933b9462011-12-17 17:43:40 +0000955 tristate "Virtual RTC for Intel MID platforms"
956 depends on X86_INTEL_MID
957 default y if X86_INTEL_MID
Feng Tang0146f262010-11-10 17:29:17 +0000958
959 help
960 Say "yes" here to get direct support for the real time clock
961 found on Moorestown platforms. The VRTC is a emulated RTC that
962 derives its clock source from a real RTC in the PMIC. The MC146818
963 style programming interface is mostly conserved, but any
964 updates are done via IPC calls to the system controller FW.
965
Thomas Bogendoerfer537739d2007-07-17 04:05:06 -0700966config RTC_DRV_DS1216
967 tristate "Dallas DS1216"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -0700968 depends on SNI_RM
Thomas Bogendoerfer537739d2007-07-17 04:05:06 -0700969 help
970 If you say yes here you get support for the Dallas DS1216 RTC chips.
971
Thomas Bogendoerfer5f119f22008-10-14 17:16:59 +0200972config RTC_DRV_DS1286
973 tristate "Dallas DS1286"
Chen Gang706b6322014-10-13 15:53:14 -0700974 depends on HAS_IOMEM
Thomas Bogendoerfer5f119f22008-10-14 17:16:59 +0200975 help
976 If you say yes here you get support for the Dallas DS1286 RTC chips.
977
Andrew Sharp8f267952008-02-06 01:38:46 -0800978config RTC_DRV_DS1511
979 tristate "Dallas DS1511"
Chen Gang706b6322014-10-13 15:53:14 -0700980 depends on HAS_IOMEM
Andrew Sharp8f267952008-02-06 01:38:46 -0800981 help
982 If you say yes here you get support for the
983 Dallas DS1511 timekeeping/watchdog chip.
984
985 This driver can also be built as a module. If so, the module
986 will be called rtc-ds1511.
987
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700988config RTC_DRV_DS1553
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800989 tristate "Maxim/Dallas DS1553"
Chen Gang706b6322014-10-13 15:53:14 -0700990 depends on HAS_IOMEM
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700991 help
992 If you say yes here you get support for the
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -0800993 Maxim/Dallas DS1553 timekeeping chip.
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700994
995 This driver can also be built as a module. If so, the module
996 will be called rtc-ds1553.
997
Joshua Kinardaaaf5fb2015-02-16 16:00:26 -0800998config RTC_DRV_DS1685_FAMILY
999 tristate "Dallas/Maxim DS1685 Family"
1000 help
1001 If you say yes here you get support for the Dallas/Maxim DS1685
1002 family of real time chips. This family includes the DS1685/DS1687,
1003 DS1689/DS1693, DS17285/DS17287, DS17485/DS17487, and
1004 DS17885/DS17887 chips.
1005
1006 This driver can also be built as a module. If so, the module
1007 will be called rtc-ds1685.
1008
1009choice
1010 prompt "Subtype"
1011 depends on RTC_DRV_DS1685_FAMILY
1012 default RTC_DRV_DS1685
1013
1014config RTC_DRV_DS1685
1015 bool "DS1685/DS1687"
1016 help
1017 This enables support for the Dallas/Maxim DS1685/DS1687 real time
1018 clock chip.
1019
1020 This chip is commonly found in SGI O2 (IP32) and SGI Octane (IP30)
1021 systems, as well as EPPC-405-UC modules by electronic system design
1022 GmbH.
1023
1024config RTC_DRV_DS1689
1025 bool "DS1689/DS1693"
1026 help
1027 This enables support for the Dallas/Maxim DS1689/DS1693 real time
1028 clock chip.
1029
1030 This is an older RTC chip, supplanted by the DS1685/DS1687 above,
1031 which supports a few minor features such as Vcc, Vbat, and Power
1032 Cycle counters, plus a customer-specific, 8-byte ROM/Serial number.
1033
1034 It also works for the even older DS1688/DS1691 RTC chips, which are
1035 virtually the same and carry the same model number. Both chips
1036 have 114 bytes of user NVRAM.
1037
1038config RTC_DRV_DS17285
1039 bool "DS17285/DS17287"
1040 help
1041 This enables support for the Dallas/Maxim DS17285/DS17287 real time
1042 clock chip.
1043
1044 This chip features 2kb of extended NV-SRAM. It may possibly be
1045 found in some SGI O2 systems (rare).
1046
1047config RTC_DRV_DS17485
1048 bool "DS17485/DS17487"
1049 help
1050 This enables support for the Dallas/Maxim DS17485/DS17487 real time
1051 clock chip.
1052
1053 This chip features 4kb of extended NV-SRAM.
1054
1055config RTC_DRV_DS17885
1056 bool "DS17885/DS17887"
1057 help
1058 This enables support for the Dallas/Maxim DS17885/DS17887 real time
1059 clock chip.
1060
1061 This chip features 8kb of extended NV-SRAM.
1062
1063endchoice
1064
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -08001065config RTC_DRV_DS1742
1066 tristate "Maxim/Dallas DS1742/1743"
Chen Gang706b6322014-10-13 15:53:14 -07001067 depends on HAS_IOMEM
Alessandro Zummo09b6bdb3b2008-02-06 01:38:40 -08001068 help
1069 If you say yes here you get support for the
1070 Maxim/Dallas DS1742/1743 timekeeping chip.
1071
1072 This driver can also be built as a module. If so, the module
1073 will be called rtc-ds1742.
1074
Jean Delvaread0200f2014-08-08 14:20:03 -07001075config RTC_DRV_DS2404
1076 tristate "Maxim/Dallas DS2404"
1077 help
1078 If you say yes here you get support for the
1079 Dallas DS2404 RTC chip.
1080
1081 This driver can also be built as a module. If so, the module
1082 will be called rtc-ds2404.
1083
Ashish Jangamfef931f2012-03-23 15:02:36 -07001084config RTC_DRV_DA9052
1085 tristate "Dialog DA9052/DA9053 RTC"
1086 depends on PMIC_DA9052
1087 help
1088 Say y here to support the RTC driver for Dialog Semiconductor
1089 DA9052-BC and DA9053-AA/Bx PMICs.
1090
Ashish Jangam6920d992012-12-17 16:02:53 -08001091config RTC_DRV_DA9055
1092 tristate "Dialog Semiconductor DA9055 RTC"
1093 depends on MFD_DA9055
1094 help
1095 If you say yes here you will get support for the
1096 RTC of the Dialog DA9055 PMIC.
1097
1098 This driver can also be built as a module. If so, the module
1099 will be called rtc-da9055
1100
Opensource [Steve Twiss]c2a57552014-06-06 14:36:03 -07001101config RTC_DRV_DA9063
S Twiss80ca3272015-07-21 11:29:07 +01001102 tristate "Dialog Semiconductor DA9063/DA9062 RTC"
1103 depends on MFD_DA9063 || MFD_DA9062
Opensource [Steve Twiss]c2a57552014-06-06 14:36:03 -07001104 help
1105 If you say yes here you will get support for the RTC subsystem
S Twiss80ca3272015-07-21 11:29:07 +01001106 for the Dialog Semiconductor PMIC chips DA9063 and DA9062.
Opensource [Steve Twiss]c2a57552014-06-06 14:36:03 -07001107
1108 This driver can also be built as a module. If so, the module
1109 will be called "rtc-da9063".
1110
dann frazier5e3fd9e2009-03-31 15:24:48 -07001111config RTC_DRV_EFI
1112 tristate "EFI RTC"
Matt Fleming7efe6652014-10-03 13:06:33 +01001113 depends on EFI && !X86
dann frazier5e3fd9e2009-03-31 15:24:48 -07001114 help
1115 If you say yes here you will get support for the EFI
1116 Real Time Clock.
1117
1118 This driver can also be built as a module. If so, the module
1119 will be called rtc-efi.
1120
Thomas Hommel02964112007-07-21 04:37:58 -07001121config RTC_DRV_STK17TA8
1122 tristate "Simtek STK17TA8"
Chen Gang706b6322014-10-13 15:53:14 -07001123 depends on HAS_IOMEM
Thomas Hommel02964112007-07-21 04:37:58 -07001124 help
1125 If you say yes here you get support for the
1126 Simtek STK17TA8 timekeeping chip.
1127
1128 This driver can also be built as a module. If so, the module
1129 will be called rtc-stk17ta8.
1130
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001131config RTC_DRV_M48T86
1132 tristate "ST M48T86/Dallas DS12887"
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001133 help
1134 If you say Y here you will get support for the
1135 ST M48T86 and Dallas DS12887 RTC chips.
1136
1137 This driver can also be built as a module. If so, the module
1138 will be called rtc-m48t86.
1139
Thomas Bogendoerferd1dbd82e2008-10-14 17:17:32 +02001140config RTC_DRV_M48T35
1141 tristate "ST M48T35"
Chen Gang706b6322014-10-13 15:53:14 -07001142 depends on HAS_IOMEM
Thomas Bogendoerferd1dbd82e2008-10-14 17:17:32 +02001143 help
1144 If you say Y here you will get support for the
1145 ST M48T35 RTC chip.
1146
1147 This driver can also be built as a module, if so, the module
1148 will be called "rtc-m48t35".
1149
Mark Zhan2e774c72007-07-17 04:05:05 -07001150config RTC_DRV_M48T59
Krzysztof Helt94fe7422008-09-03 15:12:34 -07001151 tristate "ST M48T59/M48T08/M48T02"
Chen Gang706b6322014-10-13 15:53:14 -07001152 depends on HAS_IOMEM
Mark Zhan2e774c72007-07-17 04:05:05 -07001153 help
1154 If you say Y here you will get support for the
Krzysztof Helt94fe7422008-09-03 15:12:34 -07001155 ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
1156
1157 These chips are usually found in Sun SPARC and UltraSPARC
1158 workstations.
Mark Zhan2e774c72007-07-17 04:05:05 -07001159
1160 This driver can also be built as a module, if so, the module
1161 will be called "rtc-m48t59".
1162
Geert Uytterhoeven4f9b9bb2009-03-18 23:29:27 +01001163config RTC_DRV_MSM6242
1164 tristate "Oki MSM6242"
Chen Gang706b6322014-10-13 15:53:14 -07001165 depends on HAS_IOMEM
Geert Uytterhoeven4f9b9bb2009-03-18 23:29:27 +01001166 help
1167 If you say yes here you get support for the Oki MSM6242
1168 timekeeping chip. It is used in some Amiga models (e.g. A2000).
1169
1170 This driver can also be built as a module. If so, the module
1171 will be called rtc-msm6242.
1172
David S. Millercca4c232008-08-29 01:29:53 -07001173config RTC_DRV_BQ4802
1174 tristate "TI BQ4802"
Chen Gang706b6322014-10-13 15:53:14 -07001175 depends on HAS_IOMEM
David S. Millercca4c232008-08-29 01:29:53 -07001176 help
1177 If you say Y here you will get support for the TI
1178 BQ4802 RTC chip.
1179
1180 This driver can also be built as a module. If so, the module
1181 will be called rtc-bq4802.
1182
Geert Uytterhoeven4f672ce2009-03-18 23:29:27 +01001183config RTC_DRV_RP5C01
1184 tristate "Ricoh RP5C01"
Chen Gang706b6322014-10-13 15:53:14 -07001185 depends on HAS_IOMEM
Geert Uytterhoeven4f672ce2009-03-18 23:29:27 +01001186 help
1187 If you say yes here you get support for the Ricoh RP5C01
1188 timekeeping chip. It is used in some Amiga models (e.g. A3000
1189 and A4000).
1190
1191 This driver can also be built as a module. If so, the module
1192 will be called rtc-rp5c01.
1193
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001194config RTC_DRV_V3020
1195 tristate "EM Microelectronic V3020"
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001196 help
1197 If you say yes here you will get support for the
1198 EM Microelectronic v3020 RTC chip.
1199
1200 This driver can also be built as a module. If so, the module
1201 will be called rtc-v3020.
1202
Mark Brown35c86bf2009-08-27 19:59:05 +02001203config RTC_DRV_WM831X
1204 tristate "Wolfson Microelectronics WM831x RTC"
1205 depends on MFD_WM831X
1206 help
1207 If you say yes here you will get support for the RTC subsystem
1208 of the Wolfson Microelectronics WM831X series PMICs.
1209
1210 This driver can also be built as a module. If so, the module
1211 will be called "rtc-wm831x".
1212
Mark Brown077eaf52008-11-12 13:27:04 -08001213config RTC_DRV_WM8350
1214 tristate "Wolfson Microelectronics WM8350 RTC"
1215 depends on MFD_WM8350
1216 help
1217 If you say yes here you will get support for the RTC subsystem
1218 of the Wolfson Microelectronics WM8350.
1219
1220 This driver can also be built as a module. If so, the module
1221 will be called "rtc-wm8350".
1222
Baolin Wang495bbde2017-11-09 11:34:17 +08001223config RTC_DRV_SC27XX
1224 tristate "Spreadtrum SC27xx RTC"
1225 depends on MFD_SC27XX_PMIC || COMPILE_TEST
1226 help
1227 If you say Y here you will get support for the RTC subsystem
1228 of the Spreadtrum SC27xx series PMICs. The SC27xx series PMICs
1229 includes the SC2720, SC2721, SC2723, SC2730 and SC2731 chips.
1230
1231 This driver can also be built as a module. If so, the module
1232 will be called rtc-sc27xx.
1233
Rajeev Kumar0942a712011-05-26 16:25:09 -07001234config RTC_DRV_SPEAR
1235 tristate "SPEAR ST RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001236 depends on PLAT_SPEAR || COMPILE_TEST
Rajeev Kumar0942a712011-05-26 16:25:09 -07001237 default y
1238 help
1239 If you say Y here you will get support for the RTC found on
1240 spear
1241
Balaji Raoeae854b2009-01-09 01:50:51 +01001242config RTC_DRV_PCF50633
1243 depends on MFD_PCF50633
1244 tristate "NXP PCF50633 RTC"
1245 help
1246 If you say yes here you get support for the RTC subsystem of the
1247 NXP PCF50633 used in embedded systems.
1248
Linus Walleijbd207cf2009-08-30 23:49:04 +02001249config RTC_DRV_AB3100
1250 tristate "ST-Ericsson AB3100 RTC"
1251 depends on AB3100_CORE
1252 default y if AB3100_CORE
1253 help
1254 Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
1255 support. This chip contains a battery- and capacitor-backed RTC.
1256
Virupax Sadashivpetimath0af62f42010-05-26 14:42:14 -07001257config RTC_DRV_AB8500
1258 tristate "ST-Ericsson AB8500 RTC"
1259 depends on AB8500_CORE
Ulf Hansson651fb482012-10-04 17:14:32 -07001260 select RTC_INTF_DEV
Ramesh Chandrasekarandc43d4a2012-07-30 14:41:41 -07001261 select RTC_INTF_DEV_UIE_EMUL
Virupax Sadashivpetimath0af62f42010-05-26 14:42:14 -07001262 help
1263 Select this to enable the ST-Ericsson AB8500 power management IC RTC
1264 support. This chip contains a battery- and capacitor-backed RTC.
1265
Neelesh Gupta16b1d262014-10-14 14:08:36 +05301266config RTC_DRV_OPAL
1267 tristate "IBM OPAL RTC driver"
1268 depends on PPC_POWERNV
1269 default y
1270 help
1271 If you say yes here you get support for the PowerNV platform RTC
1272 driver based on OPAL interfaces.
1273
1274 This driver can also be built as a module. If so, the module
1275 will be called rtc-opal.
1276
Suneel Garapati11143c12015-08-19 15:23:22 +05301277config RTC_DRV_ZYNQMP
1278 tristate "Xilinx Zynq Ultrascale+ MPSoC RTC"
1279 depends on OF
1280 help
1281 If you say yes here you get support for the RTC controller found on
1282 Xilinx Zynq Ultrascale+ MPSoC.
1283
Stephen Barber6f2a71a2017-11-10 22:55:53 +01001284config RTC_DRV_CROS_EC
1285 tristate "Chrome OS EC RTC driver"
Enric Balletbo i Serra47f11e02019-09-02 11:53:01 +02001286 depends on CROS_EC
Stephen Barber6f2a71a2017-11-10 22:55:53 +01001287 help
1288 If you say yes here you will get support for the
1289 Chrome OS Embedded Controller's RTC.
1290
1291 This driver can also be built as a module. If so, the module
1292 will be called rtc-cros-ec.
1293
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001294comment "on-CPU RTC drivers"
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001295
Oleksij Rempel125e5502016-02-02 20:56:10 +01001296config RTC_DRV_ASM9260
1297 tristate "Alphascale asm9260 RTC"
Alexandre Belloni7f742e82016-08-31 18:15:27 +02001298 depends on MACH_ASM9260 || COMPILE_TEST
Oleksij Rempel125e5502016-02-02 20:56:10 +01001299 help
1300 If you say yes here you get support for the RTC on the
1301 Alphascale asm9260 SoC.
1302
1303 This driver can also be built as a module. If so, the module
1304 will be called rtc-asm9260.
1305
Miguel Aguilar8ecf6c52009-11-05 08:51:34 -06001306config RTC_DRV_DAVINCI
1307 tristate "TI DaVinci RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001308 depends on ARCH_DAVINCI_DM365 || COMPILE_TEST
Miguel Aguilar8ecf6c52009-11-05 08:51:34 -06001309 help
1310 If you say yes here you get support for the RTC on the
1311 DaVinci platforms (DM365).
1312
1313 This driver can also be built as a module. If so, the module
1314 will be called rtc-davinci.
1315
Baruch Siachba172202015-04-16 12:45:40 -07001316config RTC_DRV_DIGICOLOR
1317 tristate "Conexant Digicolor RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001318 depends on ARCH_DIGICOLOR || COMPILE_TEST
Baruch Siachba172202015-04-16 12:45:40 -07001319 help
1320 If you say yes here you get support for the RTC on Conexant
1321 Digicolor platforms. This currently includes the CX92755 SoC.
1322
1323 This driver can also be built as a module. If so, the module
1324 will be called rtc-digicolor.
1325
Fabio Estevamb224b9a2012-05-29 15:07:37 -07001326config RTC_DRV_IMXDI
1327 tristate "Freescale IMX DryIce Real Time Clock"
Roland Stiggeef216ad2012-12-17 16:02:22 -08001328 depends on ARCH_MXC
Fabio Estevamb224b9a2012-05-29 15:07:37 -07001329 help
1330 Support for Freescale IMX DryIce RTC
1331
1332 This driver can also be built as a module, if so, the module
1333 will be called "rtc-imxdi".
1334
Biwen Li7b0b5512019-08-13 11:01:56 +08001335config RTC_DRV_FSL_FTM_ALARM
1336 tristate "Freescale FlexTimer alarm timer"
Alexandre Belloni7098f532020-03-06 14:16:28 +01001337 depends on ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
Biwen Li7b0b5512019-08-13 11:01:56 +08001338 help
1339 For the FlexTimer in LS1012A, LS1021A, LS1028A, LS1043A, LS1046A,
1340 LS1088A, LS208xA, we can use FTM as the wakeup source.
1341
1342 Say y here to enable FTM alarm support. The FTM alarm provides
1343 alarm functions for wakeup system from deep sleep.
1344
1345 This driver can also be built as a module, if so, the module
1346 will be called "rtc-fsl-ftm-alarm".
1347
Martin Blumenstingld8fe6002019-02-09 01:18:13 +01001348config RTC_DRV_MESON
1349 tristate "Amlogic Meson RTC"
1350 depends on (ARM && ARCH_MESON) || COMPILE_TEST
1351 select REGMAP_MMIO
1352 help
1353 Support for the RTC block on the Amlogic Meson6, Meson8, Meson8b
1354 and Meson8m2 SoCs.
1355
1356 This driver can also be built as a module, if so, the module
1357 will be called "rtc-meson".
1358
Alexandre Bellonicb0b97d2019-10-14 17:58:40 +02001359config RTC_DRV_MESON_VRTC
1360 tristate "Amlogic Meson Virtual RTC"
1361 depends on ARCH_MESON || COMPILE_TEST
1362 default m if ARCH_MESON
1363 help
1364 If you say yes here you will get support for the
1365 Virtual RTC of Amlogic SoCs.
1366
1367 This driver can also be built as a module. If so, the module
1368 will be called rtc-meson-vrtc.
1369
David Brownelldb68b182006-12-06 20:38:36 -08001370config RTC_DRV_OMAP
Lokesh Vutla86089762015-04-16 12:46:03 -07001371 tristate "TI OMAP Real Time Clock"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001372 depends on ARCH_OMAP || ARCH_DAVINCI || COMPILE_TEST
Marcin Niestroj97ea1902016-09-16 11:26:28 +02001373 depends on OF
1374 depends on PINCTRL
1375 select GENERIC_PINCONF
David Brownelldb68b182006-12-06 20:38:36 -08001376 help
Afzal Mohammed427af9a2012-12-17 16:02:17 -08001377 Say "yes" here to support the on chip real time clock
Lokesh Vutla86089762015-04-16 12:46:03 -07001378 present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
Afzal Mohammed427af9a2012-12-17 16:02:17 -08001379
1380 This driver can also be built as a module, if so, module
1381 will be called rtc-omap.
David Brownelldb68b182006-12-06 20:38:36 -08001382
Atul Dahiya16f4efe2010-07-20 16:38:49 +05301383config HAVE_S3C_RTC
1384 bool
1385 help
1386 This will include RTC support for Samsung SoCs. If
1387 you want to include RTC support for any machine, kindly
1388 select this in the respective mach-XXXX/Kconfig file.
1389
Ben Dooks1add6782006-07-01 04:36:26 -07001390config RTC_DRV_S3C
1391 tristate "Samsung S3C series SoC RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001392 depends on ARCH_S3C64XX || HAVE_S3C_RTC || COMPILE_TEST
Ben Dooks1add6782006-07-01 04:36:26 -07001393 help
1394 RTC (Realtime Clock) driver for the clock inbuilt into the
1395 Samsung S3C24XX series of SoCs. This can provide periodic
1396 interrupt rates from 1Hz to 64Hz for user programs, and
1397 wakeup from Alarm.
1398
1399 The driver currently supports the common features on all the
1400 S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
1401 and S3C2442.
1402
1403 This driver can also be build as a module. If so, the module
1404 will be called rtc-s3c.
1405
Alessandro Zummofd507e22006-03-27 01:16:45 -08001406config RTC_DRV_EP93XX
1407 tristate "Cirrus Logic EP93XX"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001408 depends on ARCH_EP93XX || COMPILE_TEST
Alessandro Zummofd507e22006-03-27 01:16:45 -08001409 help
1410 If you say yes here you get support for the
1411 RTC embedded in the Cirrus Logic EP93XX processors.
1412
1413 This driver can also be built as a module. If so, the module
1414 will be called rtc-ep93xx.
1415
Richard Purdiee842f1c2006-03-27 01:16:46 -08001416config RTC_DRV_SA1100
Haojian Zhuang3888c092012-02-21 11:51:13 +08001417 tristate "SA11x0/PXA2xx/PXA910"
1418 depends on ARCH_SA1100 || ARCH_PXA || ARCH_MMP
Richard Purdiee842f1c2006-03-27 01:16:46 -08001419 help
1420 If you say Y here you will get access to the real time clock
1421 built into your SA11x0 or PXA2xx CPU.
1422
1423 To compile this driver as a module, choose M here: the
1424 module will be called rtc-sa1100.
Alessandro Zummofd507e22006-03-27 01:16:45 -08001425
Paul Mundt317a6102006-09-27 17:13:19 +09001426config RTC_DRV_SH
1427 tristate "SuperH On-Chip RTC"
Chris Brandtdab5aec2017-03-29 10:30:29 -07001428 depends on SUPERH || ARCH_RENESAS
Paul Mundt317a6102006-09-27 17:13:19 +09001429 help
1430 Say Y here to enable support for the on-chip RTC found in
Chris Brandtdab5aec2017-03-29 10:30:29 -07001431 most SuperH processors. This RTC is also found in RZ/A SoCs.
Paul Mundt317a6102006-09-27 17:13:19 +09001432
Alexandre Belloni98ab2c92015-05-09 21:21:54 +02001433 To compile this driver as a module, choose M here: the
Paul Mundt317a6102006-09-27 17:13:19 +09001434 module will be called rtc-sh.
1435
Yoichi Yuasa8417eb72006-04-10 22:54:47 -07001436config RTC_DRV_VR41XX
Alessandro Zummo3e16f6a2006-04-10 22:54:48 -07001437 tristate "NEC VR41XX"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001438 depends on CPU_VR41XX || COMPILE_TEST
Alessandro Zummo3e16f6a2006-04-10 22:54:48 -07001439 help
1440 If you say Y here you will get access to the real time clock
1441 built into your NEC VR41XX CPU.
1442
1443 To compile this driver as a module, choose M here: the
1444 module will be called rtc-vr41xx.
Yoichi Yuasa8417eb72006-04-10 22:54:47 -07001445
Russell Kinga1909012008-04-20 12:08:36 +01001446config RTC_DRV_PL030
1447 tristate "ARM AMBA PL030 RTC"
1448 depends on ARM_AMBA
1449 help
1450 If you say Y here you will get access to ARM AMBA
1451 PrimeCell PL030 RTC found on certain ARM SOCs.
1452
1453 To compile this driver as a module, choose M here: the
1454 module will be called rtc-pl030.
1455
Deepak Saxena8ae6e162006-06-25 05:47:38 -07001456config RTC_DRV_PL031
1457 tristate "ARM AMBA PL031 RTC"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -07001458 depends on ARM_AMBA
Deepak Saxena8ae6e162006-06-25 05:47:38 -07001459 help
1460 If you say Y here you will get access to ARM AMBA
Alessandro Zummo09a21e52007-05-08 00:33:48 -07001461 PrimeCell PL031 RTC found on certain ARM SOCs.
Deepak Saxena8ae6e162006-06-25 05:47:38 -07001462
1463 To compile this driver as a module, choose M here: the
1464 module will be called rtc-pl031.
1465
Andrew Victor7fc39f62006-12-10 02:19:03 -08001466config RTC_DRV_AT91RM9200
Nicolas Ferre24cecc12010-10-22 19:12:52 +02001467 tristate "AT91RM9200 or some AT91SAM9 RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001468 depends on ARCH_AT91 || COMPILE_TEST
Claudiu Beznea288d9cf2019-09-26 15:15:32 +03001469 depends on OF
Andrew Victor788b1fc2006-06-25 05:48:27 -07001470 help
David Brownell4cdf8542008-02-06 01:38:59 -08001471 Driver for the internal RTC (Realtime Clock) module found on
Nicolas Ferre24cecc12010-10-22 19:12:52 +02001472 Atmel AT91RM9200's and some AT91SAM9 chips. On AT91SAM9 chips
David Brownell4cdf8542008-02-06 01:38:59 -08001473 this is powered by the backup power supply.
1474
1475config RTC_DRV_AT91SAM9
Boris BREZILLON3969eb42014-09-23 13:16:05 +02001476 tristate "AT91SAM9 RTT as RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001477 depends on ARCH_AT91 || COMPILE_TEST
Alexandre Belloni1a76a772019-03-20 13:40:37 +01001478 depends on OF && HAS_IOMEM
Boris BREZILLON43e112b2014-09-23 13:14:44 +02001479 select MFD_SYSCON
David Brownell4cdf8542008-02-06 01:38:59 -08001480 help
Boris BREZILLON3969eb42014-09-23 13:16:05 +02001481 Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which
1482 can be used as an RTC thanks to the backup power supply (e.g. a
1483 small coin cell battery) which keeps this block and the GPBR
1484 (General Purpose Backup Registers) block powered when the device
1485 is shutdown.
1486 Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd
1487 probably want to use the real RTC block instead of the "RTT as an
1488 RTC" driver.
David Brownell4cdf8542008-02-06 01:38:59 -08001489
Manuel Lauss45fd8a02009-01-06 14:42:18 -08001490config RTC_DRV_AU1XXX
1491 tristate "Au1xxx Counter0 RTC support"
Manuel Lauss42a4f172010-07-15 21:45:04 +02001492 depends on MIPS_ALCHEMY
Manuel Lauss45fd8a02009-01-06 14:42:18 -08001493 help
1494 This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
1495 counter) to be used as a RTC.
1496
1497 This driver can also be built as a module. If so, the module
1498 will be called rtc-au1xxx.
1499
Nobuhiro Iwamatsue9f2bd82007-05-08 00:26:37 -07001500config RTC_DRV_RS5C313
1501 tristate "Ricoh RS5C313"
Jan Engelhardtbb35fb22007-07-31 00:39:46 -07001502 depends on SH_LANDISK
Nobuhiro Iwamatsue9f2bd82007-05-08 00:26:37 -07001503 help
1504 If you say yes here you get support for the Ricoh RS5C313 RTC chips.
1505
Geert Uytterhoeven3afe6d02009-02-19 16:46:49 +01001506config RTC_DRV_GENERIC
1507 tristate "Generic RTC support"
1508 # Please consider writing a new RTC driver instead of using the generic
1509 # RTC abstraction
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001510 depends on PARISC || M68K || PPC || SUPERH32 || COMPILE_TEST
Kyle McMartin9eb16862008-09-10 14:24:07 +00001511 help
Geert Uytterhoeven3afe6d02009-02-19 16:46:49 +01001512 Say Y or M here to enable RTC support on systems using the generic
1513 RTC abstraction. If you do not know what you are doing, you should
Kyle McMartin9eb16862008-09-10 14:24:07 +00001514 just say Y.
1515
Robert Jarzmikdc944362009-01-06 14:42:14 -08001516config RTC_DRV_PXA
Alexandre Belloni832315b2016-03-10 05:46:18 +01001517 tristate "PXA27x/PXA3xx"
1518 depends on ARCH_PXA
1519 select RTC_DRV_SA1100
1520 help
Krzysztof Kozlowskif830f7c2019-11-20 21:39:40 +08001521 If you say Y here you will get access to the real time clock
1522 built into your PXA27x or PXA3xx CPU. This RTC is actually 2 RTCs
1523 consisting of an SA1100 compatible RTC and the extended PXA RTC.
Robert Jarzmikdc944362009-01-06 14:42:14 -08001524
Alexandre Belloni98ab2c92015-05-09 21:21:54 +02001525 This RTC driver uses PXA RTC registers available since pxa27x
1526 series (RDxR, RYxR) instead of legacy RCNR, RTAR.
Robert Jarzmikdc944362009-01-06 14:42:14 -08001527
Alexey Charkovf77fbdf2011-05-26 16:25:03 -07001528config RTC_DRV_VT8500
1529 tristate "VIA/WonderMedia 85xx SoC RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001530 depends on ARCH_VT8500 || COMPILE_TEST
Alexey Charkovf77fbdf2011-05-26 16:25:03 -07001531 help
1532 If you say Y here you will get access to the real time clock
1533 built into your VIA VT8500 SoC or its relatives.
1534
Robert Jarzmikdc944362009-01-06 14:42:14 -08001535
David S. Miller7a138ed2008-08-29 01:32:43 -07001536config RTC_DRV_SUN4V
1537 bool "SUN4V Hypervisor RTC"
1538 depends on SPARC64
1539 help
1540 If you say Y here you will get support for the Hypervisor
1541 based RTC on SUN4V systems.
1542
Chen-Yu Tsai9765d2d2014-08-26 11:54:55 +08001543config RTC_DRV_SUN6I
Maxime Ripard37539412017-01-23 11:41:46 +01001544 bool "Allwinner A31 RTC"
Alexandre Belloni93946c42017-02-01 12:54:13 +01001545 default MACH_SUN6I || MACH_SUN8I
1546 depends on COMMON_CLK
1547 depends on ARCH_SUNXI || COMPILE_TEST
Chen-Yu Tsai9765d2d2014-08-26 11:54:55 +08001548 help
Andre Przywara28639342016-02-01 17:39:22 +00001549 If you say Y here you will get support for the RTC found in
1550 some Allwinner SoCs like the A31 or the A64.
Chen-Yu Tsai9765d2d2014-08-26 11:54:55 +08001551
Carlo Caione594c6fb2013-11-16 18:33:54 +01001552config RTC_DRV_SUNXI
1553 tristate "Allwinner sun4i/sun7i RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001554 depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
Carlo Caione594c6fb2013-11-16 18:33:54 +01001555 help
1556 If you say Y here you will get support for the RTC found on
1557 Allwinner A10/A20.
1558
David S. Millerde2cf332008-08-28 23:02:36 -07001559config RTC_DRV_STARFIRE
1560 bool "Starfire RTC"
1561 depends on SPARC64
1562 help
1563 If you say Y here you will get support for the RTC found on
1564 Starfire systems.
1565
Atsushi Nemoto0e149232009-01-06 14:42:22 -08001566config RTC_DRV_TX4939
1567 tristate "TX4939 SoC"
Alexandre Bellonifaec5f72018-02-12 23:47:56 +01001568 depends on SOC_TX4939 || COMPILE_TEST
Atsushi Nemoto0e149232009-01-06 14:42:22 -08001569 help
1570 Driver for the internal RTC (Realtime Clock) module found on
1571 Toshiba TX4939 SoC.
1572
Saeed Bisharadefb4512009-01-06 14:42:24 -08001573config RTC_DRV_MV
1574 tristate "Marvell SoC RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001575 depends on ARCH_DOVE || ARCH_MVEBU || COMPILE_TEST
Saeed Bisharadefb4512009-01-06 14:42:24 -08001576 help
1577 If you say yes here you will get support for the in-chip RTC
1578 that can be found in some of Marvell's SoC devices, such as
1579 the Kirkwood 88F6281 and 88F6192.
1580
1581 This driver can also be built as a module. If so, the module
1582 will be called rtc-mv.
1583
Gregory CLEMENTa3a42802015-02-13 14:41:11 -08001584config RTC_DRV_ARMADA38X
1585 tristate "Armada 38x Marvell SoC RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001586 depends on ARCH_MVEBU || COMPILE_TEST
Gregory CLEMENTa3a42802015-02-13 14:41:11 -08001587 help
1588 If you say yes here you will get support for the in-chip RTC
1589 that can be found in the Armada 38x Marvell's SoC device
1590
1591 This driver can also be built as a module. If so, the module
1592 will be called armada38x-rtc.
1593
Jan Kotas42986fb2019-01-22 10:42:16 +00001594config RTC_DRV_CADENCE
1595 tristate "Cadence RTC driver"
1596 depends on OF && HAS_IOMEM
1597 help
1598 If you say Y here you will get access to Cadence RTC IP
1599 found on certain SOCs.
1600
1601 To compile this driver as a module, choose M here: the
1602 module will be called rtc-cadence.
1603
Linus Walleij1d61d252017-05-30 09:53:32 +02001604config RTC_DRV_FTRTC010
1605 tristate "Faraday Technology FTRTC010 RTC"
Hans Ulli Kroll98a9bb52015-05-20 17:49:31 +02001606 depends on HAS_IOMEM
Linus Walleij1d61d252017-05-30 09:53:32 +02001607 default ARCH_GEMINI
Hans Ulli Kroll98a9bb52015-05-20 17:49:31 +02001608 help
1609 If you say Y here you will get support for the
Linus Walleij1d61d252017-05-30 09:53:32 +02001610 Faraday Technolog FTRTC010 found on e.g. Gemini SoC's.
Hans Ulli Kroll98a9bb52015-05-20 17:49:31 +02001611
1612 This driver can also be built as a module. If so, the module
Linus Walleij1d61d252017-05-30 09:53:32 +02001613 will be called rtc-ftrtc010.
Hans Ulli Kroll98a9bb52015-05-20 17:49:31 +02001614
Geert Uytterhoeven0b5f0372009-02-24 14:04:20 +01001615config RTC_DRV_PS3
1616 tristate "PS3 RTC"
1617 depends on PPC_PS3
1618 help
1619 If you say yes here you will get support for the RTC on PS3.
1620
1621 This driver can also be built as a module. If so, the module
1622 will be called rtc-ps3.
1623
Linus Walleijaa958f52009-09-22 16:46:24 -07001624config RTC_DRV_COH901331
1625 tristate "ST-Ericsson COH 901 331 RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001626 depends on ARCH_U300 || COMPILE_TEST
Linus Walleijaa958f52009-09-22 16:46:24 -07001627 help
1628 If you say Y here you will get access to ST-Ericsson
1629 COH 901 331 RTC clock found in some ST-Ericsson Mobile
1630 Platforms.
1631
1632 This driver can also be built as a module. If so, the module
1633 will be called "rtc-coh901331".
1634
1635
dmitry pervushindf17f632009-09-22 16:46:26 -07001636config RTC_DRV_STMP
Wolfram Sang46b21212011-05-25 12:56:50 +02001637 tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001638 depends on ARCH_MXS || COMPILE_TEST
Alexandre Belloni20d048a2015-05-03 11:29:44 +02001639 select STMP_DEVICE
dmitry pervushindf17f632009-09-22 16:46:26 -07001640 help
1641 If you say yes here you will get support for the onboard
Wolfram Sang46b21212011-05-25 12:56:50 +02001642 STMP3xxx/i.MX23/i.MX28 RTC.
dmitry pervushindf17f632009-09-22 16:46:26 -07001643
1644 This driver can also be built as a module. If so, the module
1645 will be called rtc-stmp3xxx.
1646
Daniel Ribeirod3c7a3f2009-09-22 16:46:27 -07001647config RTC_DRV_PCAP
1648 tristate "PCAP RTC"
1649 depends on EZX_PCAP
1650 help
1651 If you say Y here you will get support for the RTC found on
1652 the PCAP2 ASIC used on some Motorola phones.
1653
Uwe Kleine-König1c978722010-10-28 12:30:53 +02001654config RTC_DRV_MC13XXX
1655 depends on MFD_MC13XXX
1656 tristate "Freescale MC13xxx RTC"
Uwe Kleine-König43299f2852009-12-15 16:46:09 -08001657 help
Uwe Kleine-König1c978722010-10-28 12:30:53 +02001658 This enables support for the RTCs found on Freescale's PMICs
1659 MC13783 and MC13892.
Uwe Kleine-König43299f2852009-12-15 16:46:09 -08001660
Anatolij Gustschin50aae722010-02-16 10:47:35 -07001661config RTC_DRV_MPC5121
1662 tristate "Freescale MPC5121 built-in RTC"
Dmitry Eremin-Solenikov955dbea2011-07-25 17:13:30 -07001663 depends on PPC_MPC512x || PPC_MPC52xx
Anatolij Gustschin50aae722010-02-16 10:47:35 -07001664 help
1665 If you say yes here you will get support for the
Dmitry Eremin-Solenikov955dbea2011-07-25 17:13:30 -07001666 built-in RTC on MPC5121 or on MPC5200.
Anatolij Gustschin50aae722010-02-16 10:47:35 -07001667
1668 This driver can also be built as a module. If so, the module
1669 will be called rtc-mpc5121.
1670
Lars-Peter Clausen3bf0eea2010-06-19 18:29:50 +00001671config RTC_DRV_JZ4740
Alexandre Belloni586655d2017-01-25 00:44:16 +01001672 tristate "Ingenic JZ4740 SoC"
Paul Cercueil1e6e4e12018-08-20 20:07:16 +02001673 depends on MIPS || COMPILE_TEST
Lars-Peter Clausen3bf0eea2010-06-19 18:29:50 +00001674 help
Paul Cercueilcd563202016-10-31 21:39:45 +01001675 If you say yes here you get support for the Ingenic JZ47xx SoCs RTC
1676 controllers.
Lars-Peter Clausen3bf0eea2010-06-19 18:29:50 +00001677
Mathieu Malaterreb9ef8602018-05-23 21:58:14 +02001678 This driver can also be built as a module. If so, the module
Alexandre Belloni586655d2017-01-25 00:44:16 +01001679 will be called rtc-jz4740.
1680
Joachim Eastwoodc28b42e2015-07-11 19:28:49 +02001681config RTC_DRV_LPC24XX
1682 tristate "NXP RTC for LPC178x/18xx/408x/43xx"
1683 depends on ARCH_LPC18XX || COMPILE_TEST
1684 depends on OF && HAS_IOMEM
1685 help
1686 This enables support for the NXP RTC found which can be found on
1687 NXP LPC178x/18xx/408x/43xx devices.
1688
1689 If you have one of the devices above enable this driver to use
Alexandre Belloni72d3d792016-11-08 22:51:45 +01001690 the hardware RTC. This driver can also be built as a module. If
Joachim Eastwoodc28b42e2015-07-11 19:28:49 +02001691 so, the module will be called rtc-lpc24xx.
1692
Kevin Wells9aa449b2010-10-27 15:33:01 -07001693config RTC_DRV_LPC32XX
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001694 depends on ARCH_LPC32XX || COMPILE_TEST
Kevin Wells9aa449b2010-10-27 15:33:01 -07001695 tristate "NXP LPC32XX RTC"
1696 help
1697 This enables support for the NXP RTC in the LPC32XX
1698
Alexandre Belloni72d3d792016-11-08 22:51:45 +01001699 This driver can also be built as a module. If so, the module
Kevin Wells9aa449b2010-10-27 15:33:01 -07001700 will be called rtc-lpc32xx.
1701
Anirudh Ghayal9a9a54a2011-07-25 17:13:33 -07001702config RTC_DRV_PM8XXX
1703 tristate "Qualcomm PMIC8XXX RTC"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001704 depends on MFD_PM8XXX || MFD_SPMI_PMIC || COMPILE_TEST
Anirudh Ghayal9a9a54a2011-07-25 17:13:33 -07001705 help
1706 If you say yes here you get support for the
1707 Qualcomm PMIC8XXX RTC.
1708
1709 To compile this driver as a module, choose M here: the
1710 module will be called rtc-pm8xxx.
1711
Andrew Chewff859ba2011-03-22 16:34:55 -07001712config RTC_DRV_TEGRA
1713 tristate "NVIDIA Tegra Internal RTC driver"
Alexandre Belloni7a587ea2015-05-03 11:00:57 +02001714 depends on ARCH_TEGRA || COMPILE_TEST
Andrew Chewff859ba2011-03-22 16:34:55 -07001715 help
1716 If you say yes here you get support for the
1717 Tegra 200 series internal RTC module.
1718
1719 This drive can also be built as a module. If so, the module
1720 will be called rtc-tegra.
1721
Guan Xuetao2809e802011-05-26 16:43:27 +08001722config RTC_DRV_PUV3
1723 tristate "PKUnity v3 RTC support"
1724 depends on ARCH_PUV3
1725 help
1726 This enables support for the RTC in the PKUnity-v3 SoCs.
1727
1728 This drive can also be built as a module. If so, the module
1729 will be called rtc-puv3.
1730
zhao zhangb4f0b882012-03-23 15:02:32 -07001731config RTC_DRV_LOONGSON1
1732 tristate "loongson1 RTC support"
Huacai Chen30ad29b2015-04-21 10:00:35 +08001733 depends on MACH_LOONGSON32
zhao zhangb4f0b882012-03-23 15:02:32 -07001734 help
1735 This is a driver for the loongson1 on-chip Counter0 (Time-Of-Year
1736 counter) to be used as a RTC.
1737
1738 This driver can also be built as a module. If so, the module
1739 will be called rtc-ls1x.
1740
Fabio Estevam79811592012-05-29 15:07:37 -07001741config RTC_DRV_MXC
Fabio Estevamb224b9a2012-05-29 15:07:37 -07001742 tristate "Freescale MXC Real Time Clock"
1743 depends on ARCH_MXC
Fabio Estevamb224b9a2012-05-29 15:07:37 -07001744 help
1745 If you say yes here you get support for the Freescale MXC
1746 RTC module.
1747
1748 This driver can also be built as a module, if so, the module
1749 will be called "rtc-mxc".
1750
Patrick Bruenn83c880f2017-12-18 12:51:32 +01001751config RTC_DRV_MXC_V2
1752 tristate "Freescale MXC Real Time Clock for i.MX53"
1753 depends on ARCH_MXC
1754 help
1755 If you say yes here you get support for the Freescale MXC
1756 SRTC module in i.MX53 processor.
1757
1758 This driver can also be built as a module, if so, the module
1759 will be called "rtc-mxc_v2".
1760
Shawn Guo179a5022012-10-04 17:13:49 -07001761config RTC_DRV_SNVS
1762 tristate "Freescale SNVS RTC support"
Shawn Guo8a0fa182015-07-13 15:58:51 +08001763 select REGMAP_MMIO
Anson Huangb427ca82020-03-02 16:13:05 +08001764 depends on ARCH_MXC || COMPILE_TEST
Shawn Guo179a5022012-10-04 17:13:49 -07001765 depends on HAS_IOMEM
1766 depends on OF
1767 help
1768 If you say yes here you get support for the Freescale SNVS
1769 Low Power (LP) RTC module.
1770
1771 This driver can also be built as a module, if so, the module
1772 will be called "rtc-snvs".
1773
Anson Huange01b5782018-12-20 08:56:16 +00001774config RTC_DRV_IMX_SC
1775 depends on IMX_SCU
Alexandre Belloni7dd63ec2019-02-08 11:01:03 +01001776 depends on HAVE_ARM_SMCCC
Anson Huange01b5782018-12-20 08:56:16 +00001777 tristate "NXP i.MX System Controller RTC support"
1778 help
1779 If you say yes here you get support for the NXP i.MX System
1780 Controller RTC module.
1781
Xianglong Due88b8152013-07-03 15:08:04 -07001782config RTC_DRV_SIRFSOC
1783 tristate "SiRFSOC RTC"
1784 depends on ARCH_SIRF
1785 help
1786 Say "yes" here to support the real time clock on SiRF SOC chips.
1787 This driver can also be built as a module called rtc-sirfsoc.
1788
Lee Jonesb5b2bdf2015-04-09 15:47:33 +01001789config RTC_DRV_ST_LPC
1790 tristate "STMicroelectronics LPC RTC"
1791 depends on ARCH_STI
1792 depends on OF
1793 help
1794 Say Y here to include STMicroelectronics Low Power Controller
1795 (LPC) based RTC support.
1796
1797 To compile this driver as a module, choose M here: the
1798 module will be called rtc-st-lpc.
1799
Jonas Jensen453b4c62013-09-11 14:24:17 -07001800config RTC_DRV_MOXART
1801 tristate "MOXA ART RTC"
Jean Delvare441fb762014-08-08 14:20:05 -07001802 depends on ARCH_MOXART || COMPILE_TEST
Jonas Jensen453b4c62013-09-11 14:24:17 -07001803 help
1804 If you say yes here you get support for the MOXA ART
1805 RTC module.
1806
1807 This driver can also be built as a module. If so, the module
1808 will be called rtc-moxart
1809
Tianping Fangfc297912015-05-06 15:23:41 +08001810config RTC_DRV_MT6397
Sean Wangd00a7ed2017-10-23 15:16:46 +08001811 tristate "MediaTek PMIC based RTC"
Arnd Bergmann04d3ba72016-01-25 17:04:46 +01001812 depends on MFD_MT6397 || (COMPILE_TEST && IRQ_DOMAIN)
Tianping Fangfc297912015-05-06 15:23:41 +08001813 help
Sean Wangd00a7ed2017-10-23 15:16:46 +08001814 This selects the MediaTek(R) RTC driver. RTC is part of MediaTek
Tianping Fangfc297912015-05-06 15:23:41 +08001815 MT6397 PMIC. You should enable MT6397 PMIC MFD before select
Sean Wangd00a7ed2017-10-23 15:16:46 +08001816 MediaTek(R) RTC driver.
Tianping Fangfc297912015-05-06 15:23:41 +08001817
Sean Wangd00a7ed2017-10-23 15:16:46 +08001818 If you want to use MediaTek(R) RTC interface, select Y or M here.
Tianping Fangfc297912015-05-06 15:23:41 +08001819
Sean Wangba5d0182017-10-23 15:16:45 +08001820config RTC_DRV_MT7622
1821 tristate "MediaTek SoC based RTC"
1822 depends on ARCH_MEDIATEK || COMPILE_TEST
1823 help
1824 This enables support for the real time clock built in the MediaTek
1825 SoCs.
1826
1827 This drive can also be built as a module. If so, the module
1828 will be called rtc-mt7622.
1829
Loc Hof12d8692014-06-06 14:35:42 -07001830config RTC_DRV_XGENE
1831 tristate "APM X-Gene RTC"
Chen Gang706b6322014-10-13 15:53:14 -07001832 depends on HAS_IOMEM
Jean Delvarefdf8afa2015-05-06 09:24:42 +02001833 depends on ARCH_XGENE || COMPILE_TEST
Loc Hof12d8692014-06-06 14:35:42 -07001834 help
1835 If you say yes here you get support for the APM X-Gene SoC real time
1836 clock.
1837
1838 This driver can also be built as a module, if so, the module
1839 will be called "rtc-xgene".
1840
Joshua Henderson51aa9052016-02-25 10:30:44 -07001841config RTC_DRV_PIC32
1842 tristate "Microchip PIC32 RTC"
1843 depends on MACH_PIC32
1844 default y
1845 help
1846 If you say yes here you get support for the PIC32 RTC module.
1847
1848 This driver can also be built as a module. If so, the module
1849 will be called rtc-pic32
1850
Akinobu Mita0b6a8f52016-12-04 23:04:39 +09001851config RTC_DRV_R7301
1852 tristate "EPSON TOYOCOM RTC-7301SF/DG"
1853 select REGMAP_MMIO
1854 depends on OF && HAS_IOMEM
1855 help
1856 If you say yes here you get support for the EPSON TOYOCOM
1857 RTC-7301SF/DG chips.
1858
1859 This driver can also be built as a module. If so, the module
1860 will be called rtc-r7301.
1861
Amelie Delaunay4e643502017-01-11 14:46:43 +01001862config RTC_DRV_STM32
1863 tristate "STM32 RTC"
1864 select REGMAP_MMIO
1865 depends on ARCH_STM32 || COMPILE_TEST
1866 help
1867 If you say yes here you get support for the STM32 On-Chip
1868 Real Time Clock.
1869
1870 This driver can also be built as a module, if so, the module
1871 will be called "rtc-stm32".
1872
Sebastian Reicheldd3bf502017-03-02 01:27:09 +01001873config RTC_DRV_CPCAP
1874 depends on MFD_CPCAP
1875 tristate "Motorola CPCAP RTC"
1876 help
1877 Say y here for CPCAP rtc found on some Motorola phones
1878 and tablets such as Droid 4.
1879
Andreas Färberae930c92017-09-05 00:53:23 +02001880config RTC_DRV_RTD119X
1881 bool "Realtek RTD129x RTC"
1882 depends on ARCH_REALTEK || COMPILE_TEST
1883 default ARCH_REALTEK
1884 help
1885 If you say yes here, you get support for the RTD1295 SoC
1886 Real Time Clock.
1887
Joel Stanley184a1822019-03-27 11:32:15 +10301888config RTC_DRV_ASPEED
1889 tristate "ASPEED RTC"
1890 depends on OF
1891 depends on ARCH_ASPEED || COMPILE_TEST
1892 help
1893 If you say yes here you get support for the ASPEED BMC SoC real time
1894 clocks.
1895
1896 This driver can also be built as a module, if so, the module
1897 will be called "rtc-aspeed".
1898
Alexander Holler62e00cb2012-12-15 12:45:00 +00001899comment "HID Sensor RTC drivers"
1900
1901config RTC_DRV_HID_SENSOR_TIME
1902 tristate "HID Sensor Time"
1903 depends on USB_HID
Alexandre Belloni3cbb7b62019-02-13 14:38:33 +01001904 depends on HID_SENSOR_HUB && IIO
Alexander Holler62e00cb2012-12-15 12:45:00 +00001905 select HID_SENSOR_IIO_COMMON
1906 help
1907 Say yes here to build support for the HID Sensors of type Time.
1908 This drivers makes such sensors available as RTCs.
1909
1910 If this driver is compiled as a module, it will be named
1911 rtc-hid-sensor-time.
1912
Miodrag Dinicf22d9cd2017-08-18 15:08:54 +02001913config RTC_DRV_GOLDFISH
1914 tristate "Goldfish Real Time Clock"
Alexandre Belloni6a6ec8c2019-03-20 13:34:15 +01001915 depends on OF && HAS_IOMEM
1916 depends on GOLDFISH || COMPILE_TEST
Miodrag Dinicf22d9cd2017-08-18 15:08:54 +02001917 help
1918 Say yes to enable RTC driver for the Goldfish based virtual platform.
1919
1920 Goldfish is a code name for the virtual platform developed by Google
1921 for Android emulation.
Alexander Holler62e00cb2012-12-15 12:45:00 +00001922
Nick Crews0d2f2a32019-02-08 17:37:19 -07001923config RTC_DRV_WILCO_EC
1924 tristate "Wilco EC RTC"
1925 depends on WILCO_EC
1926 default m
1927 help
1928 If you say yes here, you get read/write support for the Real Time
1929 Clock on the Wilco Embedded Controller (Wilco is a kind of Chromebook)
1930
1931 This can also be built as a module. If so, the module will
1932 be named "rtc_wilco_ec".
1933
Jan Engelhardtbb35fb22007-07-31 00:39:46 -07001934endif # RTC_CLASS