xref: /linux/drivers/rtc/Kconfig (revision 540d1e15393d92288d133fca2ea245d8d38227e6)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
27be2c7c9SDavid Brownell#
3c58411e9SAlessandro Zummo# RTC class/drivers configuration
4c58411e9SAlessandro Zummo#
5c58411e9SAlessandro Zummo
6c58411e9SAlessandro Zummoconfig RTC_LIB
7b4d246b1SJohn Stultz	bool
80c86edc0SAlessandro Zummo
9d6faca40SArnd Bergmannconfig RTC_MC146818_LIB
10d6faca40SArnd Bergmann	bool
11d6faca40SArnd Bergmann	select RTC_LIB
12d6faca40SArnd Bergmann
13bb35fb20SJan Engelhardtmenuconfig RTC_CLASS
14b4d246b1SJohn Stultz	bool "Real Time Clock"
150c86edc0SAlessandro Zummo	default n
163369465eSAl Viro	depends on !S390 && !UML
170c86edc0SAlessandro Zummo	select RTC_LIB
180c86edc0SAlessandro Zummo	help
190c86edc0SAlessandro Zummo	  Generic RTC class support. If you say yes here, you will
200c86edc0SAlessandro Zummo	  be allowed to plug one or more RTCs to your system. You will
2127ae4104SAdrian Bunk	  probably want to enable one or more of the interfaces below.
220c86edc0SAlessandro Zummo
23bb35fb20SJan Engelhardtif RTC_CLASS
24bb35fb20SJan Engelhardt
250c86edc0SAlessandro Zummoconfig RTC_HCTOSYS
267ca1d488SDavid Brownell	bool "Set system time from RTC on startup and resume"
270c86edc0SAlessandro Zummo	default y
280c86edc0SAlessandro Zummo	help
297ca1d488SDavid Brownell	  If you say yes here, the system time (wall clock) will be set using
307ca1d488SDavid Brownell	  the value read from a specified RTC device. This is useful to avoid
317ca1d488SDavid Brownell	  unnecessary fsck runs at boot time, and to network better.
320c86edc0SAlessandro Zummo
330c86edc0SAlessandro Zummoconfig RTC_HCTOSYS_DEVICE
347ca1d488SDavid Brownell	string "RTC used to set the system time"
359c5150b3SXunlei Pang	depends on RTC_HCTOSYS
360c86edc0SAlessandro Zummo	default "rtc0"
370c86edc0SAlessandro Zummo	help
387ca1d488SDavid Brownell	  The RTC device that will be used to (re)initialize the system
397ca1d488SDavid Brownell	  clock, usually rtc0. Initialization is done when the system
40779d2089SDavid Brownell	  starts up, and when it resumes from a low power state. This
41779d2089SDavid Brownell	  device should record time in UTC, since the kernel won't do
42779d2089SDavid Brownell	  timezone correction.
437ca1d488SDavid Brownell
4455ff1abaSDavid Brownell	  The driver for this RTC device must be loaded before late_initcall
4555ff1abaSDavid Brownell	  functions run, so it must usually be statically linked.
4655ff1abaSDavid Brownell
477ca1d488SDavid Brownell	  This clock should be battery-backed, so that it reads the correct
487ca1d488SDavid Brownell	  time when the system boots from a power-off state. Otherwise, your
497ca1d488SDavid Brownell	  system will need an external clock source (like an NTP server).
507ca1d488SDavid Brownell
517ca1d488SDavid Brownell	  If the clock you specify here is not battery backed, it may still
527ca1d488SDavid Brownell	  be useful to reinitialize system time when resuming from system
537ca1d488SDavid Brownell	  sleep states. Do not specify an RTC here unless it stays powered
547ca1d488SDavid Brownell	  during all this system's supported sleep states.
550c86edc0SAlessandro Zummo
569c5150b3SXunlei Pangconfig RTC_SYSTOHC
579c5150b3SXunlei Pang	bool "Set the RTC time based on NTP synchronization"
589c5150b3SXunlei Pang	default y
599c5150b3SXunlei Pang	help
609c5150b3SXunlei Pang	  If you say yes here, the system time (wall clock) will be stored
619c5150b3SXunlei Pang	  in the RTC specified by RTC_HCTOSYS_DEVICE approximately every 11
629c5150b3SXunlei Pang	  minutes if userspace reports synchronized NTP status.
639c5150b3SXunlei Pang
649c5150b3SXunlei Pangconfig RTC_SYSTOHC_DEVICE
659c5150b3SXunlei Pang	string "RTC used to synchronize NTP adjustment"
669c5150b3SXunlei Pang	depends on RTC_SYSTOHC
679c5150b3SXunlei Pang	default RTC_HCTOSYS_DEVICE if RTC_HCTOSYS
689c5150b3SXunlei Pang	default "rtc0"
699c5150b3SXunlei Pang	help
709c5150b3SXunlei Pang	  The RTC device used for NTP synchronization. The main difference
719c5150b3SXunlei Pang	  between RTC_HCTOSYS_DEVICE and RTC_SYSTOHC_DEVICE is that this
729c5150b3SXunlei Pang	  one can sleep when setting time, because it runs in the workqueue
739c5150b3SXunlei Pang	  context.
749c5150b3SXunlei Pang
759e86ecb6SDavid Brownellconfig RTC_DEBUG
769e86ecb6SDavid Brownell	bool "RTC debug support"
779e86ecb6SDavid Brownell	help
789e86ecb6SDavid Brownell	  Say yes here to enable debugging support in the RTC framework
799e86ecb6SDavid Brownell	  and individual RTC drivers.
809e86ecb6SDavid Brownell
81697e5a47SAlexandre Belloniconfig RTC_NVMEM
82697e5a47SAlexandre Belloni	bool "RTC non volatile storage support"
83697e5a47SAlexandre Belloni	select NVMEM
84697e5a47SAlexandre Belloni	default RTC_CLASS
85697e5a47SAlexandre Belloni	help
86697e5a47SAlexandre Belloni	  Say yes here to add support for the non volatile (often battery
87697e5a47SAlexandre Belloni	  backed) storage present on RTCs.
88697e5a47SAlexandre Belloni
890c86edc0SAlessandro Zummocomment "RTC interfaces"
900c86edc0SAlessandro Zummo
91c5c3e192SAlessandro Zummoconfig RTC_INTF_SYSFS
926341e62bSChristoph Jaeger	bool "/sys/class/rtc/rtcN (sysfs)"
93bb35fb20SJan Engelhardt	depends on SYSFS
948dc08395SKevin Hilman	default RTC_CLASS
95c5c3e192SAlessandro Zummo	help
969e86ecb6SDavid Brownell	  Say yes here if you want to use your RTCs using sysfs interfaces,
979e86ecb6SDavid Brownell	  /sys/class/rtc/rtc0 through /sys/.../rtcN.
98c5c3e192SAlessandro Zummo
99ae64d169SAlessandro Zummo	  If unsure, say Y.
100c5c3e192SAlessandro Zummo
101728a2947SAlessandro Zummoconfig RTC_INTF_PROC
1026341e62bSChristoph Jaeger	bool "/proc/driver/rtc (procfs for rtcN)"
103bb35fb20SJan Engelhardt	depends on PROC_FS
1048dc08395SKevin Hilman	default RTC_CLASS
105728a2947SAlessandro Zummo	help
10692589c98SKim, Milo	  Say yes here if you want to use your system clock RTC through
10792589c98SKim, Milo	  the proc interface, /proc/driver/rtc.
10892589c98SKim, Milo	  Other RTCs will not be available through that API.
10992589c98SKim, Milo	  If there is no RTC for the system clock, then the first RTC(rtc0)
11092589c98SKim, Milo	  is used by default.
111728a2947SAlessandro Zummo
112ae64d169SAlessandro Zummo	  If unsure, say Y.
113728a2947SAlessandro Zummo
114e824290eSAlessandro Zummoconfig RTC_INTF_DEV
1156341e62bSChristoph Jaeger	bool "/dev/rtcN (character devices)"
1168dc08395SKevin Hilman	default RTC_CLASS
117e824290eSAlessandro Zummo	help
1189e86ecb6SDavid Brownell	  Say yes here if you want to use your RTCs using the /dev
1199e86ecb6SDavid Brownell	  interfaces, which "udev" sets up as /dev/rtc0 through
120ae64d169SAlessandro Zummo	  /dev/rtcN.
121e824290eSAlessandro Zummo
122ae64d169SAlessandro Zummo	  You may want to set up a symbolic link so one of these
123ae64d169SAlessandro Zummo	  can be accessed as /dev/rtc, which is a name
124ae64d169SAlessandro Zummo	  expected by "hwclock" and some other programs. Recent
125ae64d169SAlessandro Zummo	  versions of "udev" are known to set up the symlink for you.
126ae64d169SAlessandro Zummo
127ae64d169SAlessandro Zummo	  If unsure, say Y.
128e824290eSAlessandro Zummo
1296e57b1d6SJohn Stultzconfig RTC_INTF_DEV_UIE_EMUL
1306e57b1d6SJohn Stultz	bool "RTC UIE emulation on dev interface"
1316e57b1d6SJohn Stultz	depends on RTC_INTF_DEV
1326e57b1d6SJohn Stultz	help
1336e57b1d6SJohn Stultz	  Provides an emulation for RTC_UIE if the underlying rtc chip
1346e57b1d6SJohn Stultz	  driver does not expose RTC_UIE ioctls. Those requests generate
1356e57b1d6SJohn Stultz	  once-per-second update interrupts, used for synchronization.
1366e57b1d6SJohn Stultz
1376e57b1d6SJohn Stultz	  The emulation code will read the time from the hardware
1386e57b1d6SJohn Stultz	  clock several times per second, please enable this option
1396e57b1d6SJohn Stultz	  only if you know that you really need it.
1406e57b1d6SJohn Stultz
14109a21e56SAlessandro Zummoconfig RTC_DRV_TEST
14209a21e56SAlessandro Zummo	tristate "Test driver/device"
14309a21e56SAlessandro Zummo	help
14409a21e56SAlessandro Zummo	  If you say yes here you get support for the
14509a21e56SAlessandro Zummo	  RTC test driver. It's a software RTC which can be
14609a21e56SAlessandro Zummo	  used to test the RTC subsystem APIs. It gets
14709a21e56SAlessandro Zummo	  the time from the system clock.
14809a21e56SAlessandro Zummo	  You want this driver only if you are doing development
14909a21e56SAlessandro Zummo	  on the RTC subsystem. Please read the source code
15009a21e56SAlessandro Zummo	  for further details.
15109a21e56SAlessandro Zummo
15209a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
15309a21e56SAlessandro Zummo	  will be called rtc-test.
15409a21e56SAlessandro Zummo
15509a21e56SAlessandro Zummocomment "I2C RTC drivers"
156bb35fb20SJan Engelhardt
157bb35fb20SJan Engelhardtif I2C
15809a21e56SAlessandro Zummo
159008b3040SHaojian Zhuangconfig RTC_DRV_88PM860X
160008b3040SHaojian Zhuang	tristate "Marvell 88PM860x"
1613783055eSAlexandre Belloni	depends on MFD_88PM860X
162008b3040SHaojian Zhuang	help
163008b3040SHaojian Zhuang	  If you say yes here you get support for RTC function in Marvell
164008b3040SHaojian Zhuang	  88PM860x chips.
165008b3040SHaojian Zhuang
166008b3040SHaojian Zhuang	  This driver can also be built as a module. If so, the module
167008b3040SHaojian Zhuang	  will be called rtc-88pm860x.
168008b3040SHaojian Zhuang
1692985c29cSQiao Zhouconfig RTC_DRV_88PM80X
1702985c29cSQiao Zhou	tristate "Marvell 88PM80x"
1713783055eSAlexandre Belloni	depends on MFD_88PM800
1722985c29cSQiao Zhou	help
1732985c29cSQiao Zhou	  If you say yes here you get support for RTC function in Marvell
1742985c29cSQiao Zhou	  88PM80x chips.
1752985c29cSQiao Zhou
1762985c29cSQiao Zhou	  This driver can also be built as a module. If so, the module
1772985c29cSQiao Zhou	  will be called rtc-88pm80x.
1782985c29cSQiao Zhou
1790b2f6228SArnaud Ebalardconfig RTC_DRV_ABB5ZES3
1800b2f6228SArnaud Ebalard	select REGMAP_I2C
1810b2f6228SArnaud Ebalard	tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
1820b2f6228SArnaud Ebalard	help
1830b2f6228SArnaud Ebalard	  If you say yes here you get support for the Abracon
1840b2f6228SArnaud Ebalard	  AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip.
1850b2f6228SArnaud Ebalard
1860b2f6228SArnaud Ebalard	  This driver can also be built as a module. If so, the module
1870b2f6228SArnaud Ebalard	  will be called rtc-ab-b5ze-s3.
1880b2f6228SArnaud Ebalard
18967075b63SArtem Panfilovconfig RTC_DRV_ABEOZ9
19067075b63SArtem Panfilov	select REGMAP_I2C
19167075b63SArtem Panfilov	tristate "Abracon AB-RTCMC-32.768kHz-EOZ9"
19267075b63SArtem Panfilov	help
19367075b63SArtem Panfilov	  If you say yes here you get support for the Abracon
19467075b63SArtem Panfilov	  AB-RTCMC-32.768kHz-EOA9 I2C RTC chip.
19567075b63SArtem Panfilov
19667075b63SArtem Panfilov	  This driver can also be built as a module. If so, the module
19767075b63SArtem Panfilov	  will be called rtc-ab-e0z9.
19867075b63SArtem Panfilov
1994d61ff6bSPhilippe De Muyterconfig RTC_DRV_ABX80X
2004d61ff6bSPhilippe De Muyter	tristate "Abracon ABx80x"
201749e36d0SJeremy Gebben	select WATCHDOG_CORE if WATCHDOG
2024d61ff6bSPhilippe De Muyter	help
2034d61ff6bSPhilippe De Muyter	  If you say yes here you get support for Abracon AB080X and AB180X
2044d61ff6bSPhilippe De Muyter	  families of ultra-low-power  battery- and capacitor-backed real-time
2054d61ff6bSPhilippe De Muyter	  clock chips.
2064d61ff6bSPhilippe De Muyter
2074d61ff6bSPhilippe De Muyter	  This driver can also be built as a module. If so, the module
2084d61ff6bSPhilippe De Muyter	  will be called rtc-abx80x.
2094d61ff6bSPhilippe De Muyter
210d00a18a4SChen-Yu Tsaiconfig RTC_DRV_AC100
211d00a18a4SChen-Yu Tsai	tristate "X-Powers AC100"
212d00a18a4SChen-Yu Tsai	depends on MFD_AC100
213d00a18a4SChen-Yu Tsai	help
214d00a18a4SChen-Yu Tsai	  If you say yes here you get support for the real-time clock found
215d00a18a4SChen-Yu Tsai	  in X-Powers AC100 family peripheral ICs.
216d00a18a4SChen-Yu Tsai
217d00a18a4SChen-Yu Tsai	  This driver can also be built as a module. If so, the module
218d00a18a4SChen-Yu Tsai	  will be called rtc-ac100.
219d00a18a4SChen-Yu Tsai
220c4f07eceSBrian Norrisconfig RTC_DRV_BRCMSTB
221c4f07eceSBrian Norris	tristate "Broadcom STB wake-timer"
222c4f07eceSBrian Norris	depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
223c4f07eceSBrian Norris	default ARCH_BRCMSTB || BMIPS_GENERIC
224c4f07eceSBrian Norris	help
225c4f07eceSBrian Norris	  If you say yes here you get support for the wake-timer found on
226c4f07eceSBrian Norris	  Broadcom STB SoCs (BCM7xxx).
227c4f07eceSBrian Norris
228c4f07eceSBrian Norris	  This driver can also be built as a module. If so, the module will
229c4f07eceSBrian Norris	  be called rtc-brcmstb-waketimer.
230c4f07eceSBrian Norris
231b4506261SLaxman Dewanganconfig RTC_DRV_AS3722
232b4506261SLaxman Dewangan	tristate "ams AS3722 RTC driver"
233b4506261SLaxman Dewangan	depends on MFD_AS3722
234b4506261SLaxman Dewangan	help
235b4506261SLaxman Dewangan	  If you say yes here you get support for the RTC of ams AS3722 PMIC
236b4506261SLaxman Dewangan	  chips.
237b4506261SLaxman Dewangan
238b4506261SLaxman Dewangan	  This driver can also be built as a module. If so, the module
239b4506261SLaxman Dewangan	  will be called rtc-as3722.
240b4506261SLaxman Dewangan
24109a21e56SAlessandro Zummoconfig RTC_DRV_DS1307
2420759c886SNikita Yushchenko	tristate "Dallas/Maxim DS1307/37/38/39/40/41, ST M41T00, EPSON RX-8025, ISL12057"
243578c2b66SAlexandre Belloni	select REGMAP_I2C
24409a21e56SAlessandro Zummo	help
24509a21e56SAlessandro Zummo	  If you say yes here you get support for various compatible RTC
24609a21e56SAlessandro Zummo	  chips (often with battery backup) connected with I2C. This driver
2470759c886SNikita Yushchenko	  should handle DS1307, DS1337, DS1338, DS1339, DS1340, DS1341,
2480759c886SNikita Yushchenko	  ST M41T00, EPSON RX-8025, Intersil ISL12057 and probably other chips.
2490759c886SNikita Yushchenko	  In some cases the RTC must already have been initialized (by
2500759c886SNikita Yushchenko	  manufacturing or a bootloader).
25109a21e56SAlessandro Zummo
25209a21e56SAlessandro Zummo	  The first seven registers on these chips hold an RTC, and other
25309a21e56SAlessandro Zummo	  registers may add features such as NVRAM, a trickle charger for
254682d73f6SDavid Brownell	  the RTC/NVRAM backup power, and alarms. NVRAM is visible in
255682d73f6SDavid Brownell	  sysfs, but other chip features may not be available.
25609a21e56SAlessandro Zummo
25709a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
25809a21e56SAlessandro Zummo	  will be called rtc-ds1307.
25909a21e56SAlessandro Zummo
26050d6c0eaSAlexandre Belloniconfig RTC_DRV_DS1307_CENTURY
26150d6c0eaSAlexandre Belloni	bool "Century bit support for rtc-ds1307"
26250d6c0eaSAlexandre Belloni	depends on RTC_DRV_DS1307
26350d6c0eaSAlexandre Belloni	default n
26450d6c0eaSAlexandre Belloni	help
26550d6c0eaSAlexandre Belloni	  The DS1307 driver suffered from a bug where it was enabling the
26650d6c0eaSAlexandre Belloni	  century bit inconditionnally but never used it when reading the time.
26750d6c0eaSAlexandre Belloni	  It made the driver unable to support dates beyond 2099.
26850d6c0eaSAlexandre Belloni	  Setting this option will add proper support for the century bit but if
26950d6c0eaSAlexandre Belloni	  the time was previously set using a kernel predating this option,
27050d6c0eaSAlexandre Belloni	  reading the date will return a date in the next century.
27150d6c0eaSAlexandre Belloni	  To solve that, you could boot a kernel without this option set, set
27250d6c0eaSAlexandre Belloni	  the RTC date and then boot a kernel with this option set.
27350d6c0eaSAlexandre Belloni
274bf4994d7SScott Woodconfig RTC_DRV_DS1374
27509b6bdb3SAlessandro Zummo	tristate "Dallas/Maxim DS1374"
276bf4994d7SScott Wood	help
277bf4994d7SScott Wood	  If you say yes here you get support for Dallas Semiconductor
278bf4994d7SScott Wood	  DS1374 real-time clock chips. If an interrupt is associated
279bf4994d7SScott Wood	  with the device, the alarm functionality is supported.
280bf4994d7SScott Wood
281bf4994d7SScott Wood	  This driver can also be built as a module. If so, the module
282bf4994d7SScott Wood	  will be called rtc-ds1374.
283bf4994d7SScott Wood
284920f91e5SSøren Andersenconfig RTC_DRV_DS1374_WDT
285920f91e5SSøren Andersen	bool "Dallas/Maxim DS1374 watchdog timer"
286920f91e5SSøren Andersen	depends on RTC_DRV_DS1374
287920f91e5SSøren Andersen	help
288920f91e5SSøren Andersen	  If you say Y here you will get support for the
289920f91e5SSøren Andersen	  watchdog timer in the Dallas Semiconductor DS1374
290920f91e5SSøren Andersen	  real-time clock chips.
291920f91e5SSøren Andersen
29209a21e56SAlessandro Zummoconfig RTC_DRV_DS1672
29309a21e56SAlessandro Zummo	tristate "Dallas/Maxim DS1672"
29409a21e56SAlessandro Zummo	help
29509a21e56SAlessandro Zummo	  If you say yes here you get support for the
29609a21e56SAlessandro Zummo	  Dallas/Maxim DS1672 timekeeping chip.
29709a21e56SAlessandro Zummo
29809a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
29909a21e56SAlessandro Zummo	  will be called rtc-ds1672.
30009a21e56SAlessandro Zummo
301dcaf0384SHeiko Stuebnerconfig RTC_DRV_HYM8563
302dcaf0384SHeiko Stuebner	tristate "Haoyu Microelectronics HYM8563"
3033783055eSAlexandre Belloni	depends on OF
304dcaf0384SHeiko Stuebner	help
305dcaf0384SHeiko Stuebner	  Say Y to enable support for the HYM8563 I2C RTC chip. Apart
306dcaf0384SHeiko Stuebner	  from the usual rtc functions it provides a clock output of
307dcaf0384SHeiko Stuebner	  up to 32kHz.
308dcaf0384SHeiko Stuebner
309dcaf0384SHeiko Stuebner	  This driver can also be built as a module. If so, the module
310dcaf0384SHeiko Stuebner	  will be called rtc-hym8563.
311dcaf0384SHeiko Stuebner
31238ae176eSKim, Miloconfig RTC_DRV_LP8788
31338ae176eSKim, Milo	tristate "TI LP8788 RTC driver"
31438ae176eSKim, Milo	depends on MFD_LP8788
31538ae176eSKim, Milo	help
31638ae176eSKim, Milo	  Say Y to enable support for the LP8788 RTC/ALARM driver.
31738ae176eSKim, Milo
31809a21e56SAlessandro Zummoconfig RTC_DRV_MAX6900
31909b6bdb3SAlessandro Zummo	tristate "Maxim MAX6900"
32009a21e56SAlessandro Zummo	help
32109a21e56SAlessandro Zummo	  If you say yes here you will get support for the
32209a21e56SAlessandro Zummo	  Maxim MAX6900 I2C RTC chip.
32309a21e56SAlessandro Zummo
32409a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
32509a21e56SAlessandro Zummo	  will be called rtc-max6900.
32609a21e56SAlessandro Zummo
32794c01ab6SStephen Warrenconfig RTC_DRV_MAX8907
32894c01ab6SStephen Warren	tristate "Maxim MAX8907"
329959df777SKrzysztof Kozlowski	depends on MFD_MAX8907 || COMPILE_TEST
33094c01ab6SStephen Warren	help
33194c01ab6SStephen Warren	  If you say yes here you will get support for the
33294c01ab6SStephen Warren	  RTC of Maxim MAX8907 PMIC.
33394c01ab6SStephen Warren
33494c01ab6SStephen Warren	  This driver can also be built as a module. If so, the module
33594c01ab6SStephen Warren	  will be called rtc-max8907.
33694c01ab6SStephen Warren
337a39069f6SHaojian Zhuangconfig RTC_DRV_MAX8925
338a39069f6SHaojian Zhuang	tristate "Maxim MAX8925"
339a39069f6SHaojian Zhuang	depends on MFD_MAX8925
340a39069f6SHaojian Zhuang	help
341a39069f6SHaojian Zhuang	  If you say yes here you will get support for the
342a39069f6SHaojian Zhuang	  RTC of Maxim MAX8925 PMIC.
343a39069f6SHaojian Zhuang
344a39069f6SHaojian Zhuang	  This driver can also be built as a module. If so, the module
345a39069f6SHaojian Zhuang	  will be called rtc-max8925.
346a39069f6SHaojian Zhuang
3479b16c0a4SJoonyoung Shimconfig RTC_DRV_MAX8998
3489b16c0a4SJoonyoung Shim	tristate "Maxim MAX8998"
3499b16c0a4SJoonyoung Shim	depends on MFD_MAX8998
3509b16c0a4SJoonyoung Shim	help
3519b16c0a4SJoonyoung Shim	  If you say yes here you will get support for the
3529b16c0a4SJoonyoung Shim	  RTC of Maxim MAX8998 PMIC.
3539b16c0a4SJoonyoung Shim
3549b16c0a4SJoonyoung Shim	  This driver can also be built as a module. If so, the module
3559b16c0a4SJoonyoung Shim	  will be called rtc-max8998.
3569b16c0a4SJoonyoung Shim
3575e0b2704SJonghwa Leeconfig RTC_DRV_MAX8997
3585e0b2704SJonghwa Lee	tristate "Maxim MAX8997"
3595e0b2704SJonghwa Lee	depends on MFD_MAX8997
3605e0b2704SJonghwa Lee	help
3615e0b2704SJonghwa Lee	  If you say yes here you will get support for the
3625e0b2704SJonghwa Lee	  RTC of Maxim MAX8997 PMIC.
3635e0b2704SJonghwa Lee
3645e0b2704SJonghwa Lee	  This driver can also be built as a module. If so, the module
3655e0b2704SJonghwa Lee	  will be called rtc-max8997.
3665e0b2704SJonghwa Lee
367fca1dd03SJonghwa Leeconfig RTC_DRV_MAX77686
368fca1dd03SJonghwa Lee	tristate "Maxim MAX77686"
369959df777SKrzysztof Kozlowski	depends on MFD_MAX77686 || MFD_MAX77620 || COMPILE_TEST
370fca1dd03SJonghwa Lee	help
371fca1dd03SJonghwa Lee	  If you say yes here you will get support for the
372726fe738SLaxman Dewangan	  RTC of Maxim MAX77686/MAX77620/MAX77802 PMIC.
373fca1dd03SJonghwa Lee
374fca1dd03SJonghwa Lee	  This driver can also be built as a module. If so, the module
375fca1dd03SJonghwa Lee	  will be called rtc-max77686.
376fca1dd03SJonghwa Lee
3773ca1e326SChris Zhongconfig RTC_DRV_RK808
378dc79054aSTony Xie	tristate "Rockchip RK805/RK808/RK809/RK817/RK818 RTC"
3793ca1e326SChris Zhong	depends on MFD_RK808
3803ca1e326SChris Zhong	help
3813ca1e326SChris Zhong	  If you say yes here you will get support for the
382dc79054aSTony Xie	  RTC of RK805, RK809 and RK817, RK808 and RK818 PMIC.
3833ca1e326SChris Zhong
3843ca1e326SChris Zhong	  This driver can also be built as a module. If so, the module
3853ca1e326SChris Zhong	  will be called rk808-rtc.
3863ca1e326SChris Zhong
38709a21e56SAlessandro Zummoconfig RTC_DRV_RS5C372
3885d4529beSPaul Mundt	tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
38909a21e56SAlessandro Zummo	help
39009a21e56SAlessandro Zummo	  If you say yes here you get support for the
3915d4529beSPaul Mundt	  Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
39209a21e56SAlessandro Zummo
39309a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
39409a21e56SAlessandro Zummo	  will be called rtc-rs5c372.
39509a21e56SAlessandro Zummo
39609a21e56SAlessandro Zummoconfig RTC_DRV_ISL1208
39709b6bdb3SAlessandro Zummo	tristate "Intersil ISL1208"
39809a21e56SAlessandro Zummo	help
39909a21e56SAlessandro Zummo	  If you say yes here you get support for the
40009b6bdb3SAlessandro Zummo	  Intersil ISL1208 RTC chip.
40109a21e56SAlessandro Zummo
40209a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
40309a21e56SAlessandro Zummo	  will be called rtc-isl1208.
40409a21e56SAlessandro Zummo
405d6c7428fSRoman Fietzeconfig RTC_DRV_ISL12022
406d6c7428fSRoman Fietze	tristate "Intersil ISL12022"
407d6c7428fSRoman Fietze	help
408d6c7428fSRoman Fietze	  If you say yes here you get support for the
409d6c7428fSRoman Fietze	  Intersil ISL12022 RTC chip.
410d6c7428fSRoman Fietze
411d6c7428fSRoman Fietze	  This driver can also be built as a module. If so, the module
412d6c7428fSRoman Fietze	  will be called rtc-isl12022.
413d6c7428fSRoman Fietze
4144731a431SDavid Daneyconfig RTC_DRV_ISL12026
4154731a431SDavid Daney	tristate "Intersil ISL12026"
4164731a431SDavid Daney	depends on OF || COMPILE_TEST
4174731a431SDavid Daney	help
4184731a431SDavid Daney	  If you say yes here you get support for the
4194731a431SDavid Daney	  Intersil ISL12026 RTC chip.
4204731a431SDavid Daney
4214731a431SDavid Daney	  This driver can also be built as a module. If so, the module
4224731a431SDavid Daney	  will be called rtc-isl12026.
4234731a431SDavid Daney
42409a21e56SAlessandro Zummoconfig RTC_DRV_X1205
42509a21e56SAlessandro Zummo	tristate "Xicor/Intersil X1205"
42609a21e56SAlessandro Zummo	help
42709a21e56SAlessandro Zummo	  If you say yes here you get support for the
42809a21e56SAlessandro Zummo	  Xicor/Intersil X1205 RTC chip.
42909a21e56SAlessandro Zummo
43009a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
43109a21e56SAlessandro Zummo	  will be called rtc-x1205.
43209a21e56SAlessandro Zummo
433f803f0d0SThierry Redingconfig RTC_DRV_PCF8523
434f803f0d0SThierry Reding	tristate "NXP PCF8523"
435f803f0d0SThierry Reding	help
436f803f0d0SThierry Reding	  If you say yes here you get support for the NXP PCF8523 RTC
437f803f0d0SThierry Reding	  chips.
438f803f0d0SThierry Reding
439f803f0d0SThierry Reding	  This driver can also be built as a module. If so, the module
440f803f0d0SThierry Reding	  will be called rtc-pcf8523.
441f803f0d0SThierry Reding
442d084885eSSoren Brinkmannconfig RTC_DRV_PCF85063
443d084885eSSoren Brinkmann	tristate "NXP PCF85063"
444e89b60d0SAlexandre Belloni	select REGMAP_I2C
445d084885eSSoren Brinkmann	help
446d084885eSSoren Brinkmann	  If you say yes here you get support for the PCF85063 RTC chip
447d084885eSSoren Brinkmann
448d084885eSSoren Brinkmann	  This driver can also be built as a module. If so, the module
449d084885eSSoren Brinkmann	  will be called rtc-pcf85063.
450d084885eSSoren Brinkmann
451a9687aa2SEric Nelsonconfig RTC_DRV_PCF85363
452a9687aa2SEric Nelson	tristate "NXP PCF85363"
453a9687aa2SEric Nelson	select REGMAP_I2C
454a9687aa2SEric Nelson	help
455a9687aa2SEric Nelson	  If you say yes here you get support for the PCF85363 RTC chip.
456a9687aa2SEric Nelson
457a9687aa2SEric Nelson	  This driver can also be built as a module. If so, the module
458a9687aa2SEric Nelson	  will be called rtc-pcf85363.
459a9687aa2SEric Nelson
460a9687aa2SEric Nelson	  The nvmem interface will be named pcf85363-#, where # is the
461a9687aa2SEric Nelson	  zero-based instance number.
462a9687aa2SEric Nelson
46309a21e56SAlessandro Zummoconfig RTC_DRV_PCF8563
46409a21e56SAlessandro Zummo	tristate "Philips PCF8563/Epson RTC8564"
46509a21e56SAlessandro Zummo	help
46609a21e56SAlessandro Zummo	  If you say yes here you get support for the
46709a21e56SAlessandro Zummo	  Philips PCF8563 RTC chip. The Epson RTC8564
46809a21e56SAlessandro Zummo	  should work as well.
46909a21e56SAlessandro Zummo
47009a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
47109a21e56SAlessandro Zummo	  will be called rtc-pcf8563.
47209a21e56SAlessandro Zummo
47309a21e56SAlessandro Zummoconfig RTC_DRV_PCF8583
47409a21e56SAlessandro Zummo	tristate "Philips PCF8583"
47509a21e56SAlessandro Zummo	help
47609a21e56SAlessandro Zummo	  If you say yes here you get support for the Philips PCF8583
47709a21e56SAlessandro Zummo	  RTC chip found on Acorn RiscPCs. This driver supports the
47809a21e56SAlessandro Zummo	  platform specific method of retrieving the current year from
47909a21e56SAlessandro Zummo	  the RTC's SRAM. It will work on other platforms with the same
48009a21e56SAlessandro Zummo	  chip, but the year will probably have to be tweaked.
48109a21e56SAlessandro Zummo
48209a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
48309a21e56SAlessandro Zummo	  will be called rtc-pcf8583.
48409a21e56SAlessandro Zummo
485caaff562SAtsushi Nemotoconfig RTC_DRV_M41T80
4866b1a5235SWolfram Sang	tristate "ST M41T62/65/M41T80/81/82/83/84/85/87 and compatible"
487caaff562SAtsushi Nemoto	help
488d3a126fcSSteven A. Falco	  If you say Y here you will get support for the ST M41T60
489d3a126fcSSteven A. Falco	  and M41T80 RTC chips series. Currently, the following chips are
490f30281f4SDaniel Glockner	  supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
4916b1a5235SWolfram Sang	  M41ST85, M41ST87, and MicroCrystal RV4162.
492caaff562SAtsushi Nemoto
493caaff562SAtsushi Nemoto	  This driver can also be built as a module. If so, the module
494caaff562SAtsushi Nemoto	  will be called rtc-m41t80.
495caaff562SAtsushi Nemoto
496617780d2SAtsushi Nemotoconfig RTC_DRV_M41T80_WDT
497d3a126fcSSteven A. Falco	bool "ST M41T65/M41T80 series RTC watchdog timer"
498617780d2SAtsushi Nemoto	depends on RTC_DRV_M41T80
499617780d2SAtsushi Nemoto	help
500617780d2SAtsushi Nemoto	  If you say Y here you will get support for the
501d3a126fcSSteven A. Falco	  watchdog timer in the ST M41T60 and M41T80 RTC chips series.
502fe5a591bSMatti Vaittinen
50332a4a4ebSMatti Vaittinenconfig RTC_DRV_BD70528
50432a4a4ebSMatti Vaittinen	tristate "ROHM BD70528 PMIC RTC"
50541a8e19fSMatti Vaittinen	depends on MFD_ROHM_BD70528 && (BD70528_WATCHDOG || !BD70528_WATCHDOG)
50632a4a4ebSMatti Vaittinen	help
50732a4a4ebSMatti Vaittinen	  If you say Y here you will get support for the RTC
508fe5a591bSMatti Vaittinen	  block on ROHM BD70528 and BD71828 Power Management IC.
50932a4a4ebSMatti Vaittinen
51032a4a4ebSMatti Vaittinen	  This driver can also be built as a module. If so, the module
51132a4a4ebSMatti Vaittinen	  will be called rtc-bd70528.
512617780d2SAtsushi Nemoto
5131ce7c83fSPiotr Ziecikconfig RTC_DRV_BQ32K
5141ce7c83fSPiotr Ziecik	tristate "TI BQ32000"
5151ce7c83fSPiotr Ziecik	help
5161ce7c83fSPiotr Ziecik	  If you say Y here you will get support for the TI
5171ce7c83fSPiotr Ziecik	  BQ32000 I2C RTC chip.
5181ce7c83fSPiotr Ziecik
5191ce7c83fSPiotr Ziecik	  This driver can also be built as a module. If so, the module
5201ce7c83fSPiotr Ziecik	  will be called rtc-bq32k.
5211ce7c83fSPiotr Ziecik
522afd8d0f9SDavid Brownellconfig RTC_DRV_DM355EVM
523afd8d0f9SDavid Brownell	tristate "TI DaVinci DM355 EVM RTC"
524afd8d0f9SDavid Brownell	depends on MFD_DM355EVM_MSP
525afd8d0f9SDavid Brownell	help
526afd8d0f9SDavid Brownell	  Supports the RTC firmware in the MSP430 on the DM355 EVM.
527afd8d0f9SDavid Brownell
5280c4a59feSTony Lindgrenconfig RTC_DRV_TWL92330
5296341e62bSChristoph Jaeger	bool "TI TWL92330/Menelaus"
530bb35fb20SJan Engelhardt	depends on MENELAUS
5310c4a59feSTony Lindgren	help
5320c4a59feSTony Lindgren	  If you say yes here you get support for the RTC on the
53301dd2fbfSMatt LaPlante	  TWL92330 "Menelaus" power management chip, used with OMAP2
5340c4a59feSTony Lindgren	  platforms. The support is integrated with the rest of
5350c4a59feSTony Lindgren	  the Menelaus driver; it's not separate module.
5360c4a59feSTony Lindgren
537f96411abSDavid Brownellconfig RTC_DRV_TWL4030
538a6b49ffdSBalaji T K	tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
5396b8029faSVenu Byravarasu	depends on TWL4030_CORE
5401c02cbfeSNicolae Rosia	depends on OF
541f96411abSDavid Brownell	help
542f96411abSDavid Brownell	  If you say yes here you get support for the RTC on the
543a6b49ffdSBalaji T K	  TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
544f96411abSDavid Brownell
545f96411abSDavid Brownell	  This driver can also be built as a module. If so, the module
546a6b49ffdSBalaji T K	  will be called rtc-twl.
547f96411abSDavid Brownell
548d084885eSSoren Brinkmannconfig RTC_DRV_PALMAS
549d084885eSSoren Brinkmann	tristate "TI Palmas RTC driver"
550d084885eSSoren Brinkmann	depends on MFD_PALMAS
551d084885eSSoren Brinkmann	help
552d084885eSSoren Brinkmann	  If you say yes here you get support for the RTC of TI PALMA series PMIC
553d084885eSSoren Brinkmann	  chips.
554d084885eSSoren Brinkmann
555d084885eSSoren Brinkmann	  This driver can also be built as a module. If so, the module
556d084885eSSoren Brinkmann	  will be called rtc-palma.
557d084885eSSoren Brinkmann
558dc59ed38SLaxman Dewanganconfig RTC_DRV_TPS6586X
559dc59ed38SLaxman Dewangan	tristate "TI TPS6586X RTC driver"
560dc59ed38SLaxman Dewangan	depends on MFD_TPS6586X
561dc59ed38SLaxman Dewangan	help
562a895d57dSMasanari Iida	  TI Power Management IC TPS6586X supports RTC functionality
563dc59ed38SLaxman Dewangan	  along with alarm. This driver supports the RTC driver for
564dc59ed38SLaxman Dewangan	  the TPS6586X RTC module.
565dc59ed38SLaxman Dewangan
5660e783980SVenu Byravarasuconfig RTC_DRV_TPS65910
5670e783980SVenu Byravarasu	tristate "TI TPS65910 RTC driver"
5689c3f0795SMichał Mirosław	depends on MFD_TPS65910
5690e783980SVenu Byravarasu	help
5700e783980SVenu Byravarasu	  If you say yes here you get support for the RTC on the
5710e783980SVenu Byravarasu	  TPS65910 chips.
5720e783980SVenu Byravarasu
5730e783980SVenu Byravarasu	  This driver can also be built as a module. If so, the module
5740e783980SVenu Byravarasu	  will be called rtc-tps65910.
5750e783980SVenu Byravarasu
57636d61824SLaxman Dewanganconfig RTC_DRV_TPS80031
57736d61824SLaxman Dewangan	tristate "TI TPS80031/TPS80032 RTC driver"
57836d61824SLaxman Dewangan	depends on MFD_TPS80031
57936d61824SLaxman Dewangan	help
580a895d57dSMasanari Iida	  TI Power Management IC TPS80031 supports RTC functionality
58136d61824SLaxman Dewangan	  along with alarm. This driver supports the RTC driver for
58236d61824SLaxman Dewangan	  the TPS80031 RTC module.
58336d61824SLaxman Dewangan
58490829c08SVenu Byravarasuconfig RTC_DRV_RC5T583
58590829c08SVenu Byravarasu	tristate "RICOH 5T583 RTC driver"
58690829c08SVenu Byravarasu	depends on MFD_RC5T583
58790829c08SVenu Byravarasu	help
58890829c08SVenu Byravarasu	  If you say yes here you get support for the RTC on the
58990829c08SVenu Byravarasu	  RICOH 5T583 chips.
59090829c08SVenu Byravarasu
59190829c08SVenu Byravarasu	  This driver can also be built as a module. If so, the module
59290829c08SVenu Byravarasu	  will be called rtc-rc5t583.
59390829c08SVenu Byravarasu
594*540d1e15SAndreas Kemnadeconfig RTC_DRV_RC5T619
595*540d1e15SAndreas Kemnade	tristate "RICOH RC5T619 RTC driver"
596*540d1e15SAndreas Kemnade	depends on MFD_RN5T618
597*540d1e15SAndreas Kemnade	help
598*540d1e15SAndreas Kemnade	  If you say yes here you get support for the RTC on the
599*540d1e15SAndreas Kemnade	  RICOH RC5T619 chips.
600*540d1e15SAndreas Kemnade
601*540d1e15SAndreas Kemnade	  This driver can also be built as a module. If so, the module
602*540d1e15SAndreas Kemnade	  will be called rtc-rc5t619.
603*540d1e15SAndreas Kemnade
604c46288b0SByron Bradleyconfig RTC_DRV_S35390A
605c46288b0SByron Bradley	tristate "Seiko Instruments S-35390A"
606d479540dSRandy Dunlap	select BITREVERSE
607c46288b0SByron Bradley	help
608c46288b0SByron Bradley	  If you say yes here you will get support for the Seiko
609c46288b0SByron Bradley	  Instruments S-35390A.
610c46288b0SByron Bradley
611c46288b0SByron Bradley	  This driver can also be built as a module. If so the module
612c46288b0SByron Bradley	  will be called rtc-s35390a.
613c46288b0SByron Bradley
614c6d8f400SSergey Lapinconfig RTC_DRV_FM3130
615c6d8f400SSergey Lapin	tristate "Ramtron FM3130"
616c6d8f400SSergey Lapin	help
617c6d8f400SSergey Lapin	  If you say Y here you will get support for the
618c6d8f400SSergey Lapin	  Ramtron FM3130 RTC chips.
619c6d8f400SSergey Lapin	  Ramtron FM3130 is a chip with two separate devices inside,
620c6d8f400SSergey Lapin	  RTC clock and FRAM. This driver provides only RTC functionality.
621c6d8f400SSergey Lapin
622c6d8f400SSergey Lapin	  This driver can also be built as a module. If so the module
623c6d8f400SSergey Lapin	  will be called rtc-fm3130.
624c6d8f400SSergey Lapin
625ed13d89bSAkshay Bhatconfig RTC_DRV_RX8010
626ed13d89bSAkshay Bhat	tristate "Epson RX8010SJ"
627ed13d89bSAkshay Bhat	help
628ed13d89bSAkshay Bhat	  If you say yes here you get support for the Epson RX8010SJ RTC
629ed13d89bSAkshay Bhat	  chip.
630ed13d89bSAkshay Bhat
631ed13d89bSAkshay Bhat	  This driver can also be built as a module. If so, the module
632ed13d89bSAkshay Bhat	  will be called rtc-rx8010.
633ed13d89bSAkshay Bhat
634a7fa9851SMartyn Welchconfig RTC_DRV_RX8581
63551f896ffSBiju Das	tristate "Epson RX-8571/RX-8581"
636578c2b66SAlexandre Belloni	select REGMAP_I2C
637a7fa9851SMartyn Welch	help
63851f896ffSBiju Das	  If you say yes here you will get support for the Epson RX-8571/
63951f896ffSBiju Das	  RX-8581.
640a7fa9851SMartyn Welch
641a7fa9851SMartyn Welch	  This driver can also be built as a module. If so the module
642a7fa9851SMartyn Welch	  will be called rtc-rx8581.
643a7fa9851SMartyn Welch
6443c2b9075SWolfgang Grandeggerconfig RTC_DRV_RX8025
6453c2b9075SWolfgang Grandegger	tristate "Epson RX-8025SA/NB"
6463c2b9075SWolfgang Grandegger	help
6473c2b9075SWolfgang Grandegger	  If you say yes here you get support for the Epson
6483c2b9075SWolfgang Grandegger	  RX-8025SA/NB RTC chips.
6493c2b9075SWolfgang Grandegger
6503c2b9075SWolfgang Grandegger	  This driver can also be built as a module. If so, the module
6513c2b9075SWolfgang Grandegger	  will be called rtc-rx8025.
6523c2b9075SWolfgang Grandegger
653ae3551f9SMike Rapoportconfig RTC_DRV_EM3027
654ae3551f9SMike Rapoport	tristate "EM Microelectronic EM3027"
655ae3551f9SMike Rapoport	help
656ae3551f9SMike Rapoport	  If you say yes here you get support for the EM
657ae3551f9SMike Rapoport	  Microelectronic EM3027 RTC chips.
658ae3551f9SMike Rapoport
659ae3551f9SMike Rapoport	  This driver can also be built as a module. If so, the module
660ae3551f9SMike Rapoport	  will be called rtc-em3027.
661ae3551f9SMike Rapoport
662e6e7376cSAlexandre Belloniconfig RTC_DRV_RV3028
663e6e7376cSAlexandre Belloni	tristate "Micro Crystal RV3028"
664578c2b66SAlexandre Belloni	select REGMAP_I2C
665e6e7376cSAlexandre Belloni	help
666e6e7376cSAlexandre Belloni	  If you say yes here you get support for the Micro Crystal
667e6e7376cSAlexandre Belloni	  RV3028.
668e6e7376cSAlexandre Belloni
669e6e7376cSAlexandre Belloni	  This driver can also be built as a module. If so, the module
670e6e7376cSAlexandre Belloni	  will be called rtc-rv3028.
671e6e7376cSAlexandre Belloni
6721e3929efSAlexandre Belloniconfig RTC_DRV_RV8803
67334166a00SBenoît Thébaudeau	tristate "Micro Crystal RV8803, Epson RX8900"
6741e3929efSAlexandre Belloni	help
67534166a00SBenoît Thébaudeau	  If you say yes here you get support for the Micro Crystal RV8803 and
67634166a00SBenoît Thébaudeau	  Epson RX8900 RTC chips.
6771e3929efSAlexandre Belloni
6781e3929efSAlexandre Belloni	  This driver can also be built as a module. If so, the module
6791e3929efSAlexandre Belloni	  will be called rtc-rv8803.
6801e3929efSAlexandre Belloni
6815bccae6eSSangbeom Kimconfig RTC_DRV_S5M
6820c5deb1eSKrzysztof Kozlowski	tristate "Samsung S2M/S5M series"
683959df777SKrzysztof Kozlowski	depends on MFD_SEC_CORE || COMPILE_TEST
684959df777SKrzysztof Kozlowski	select REGMAP_IRQ
6855bccae6eSSangbeom Kim	help
6865bccae6eSSangbeom Kim	  If you say yes here you will get support for the
6870c5deb1eSKrzysztof Kozlowski	  RTC of Samsung S2MPS14 and S5M PMIC series.
6885bccae6eSSangbeom Kim
6895bccae6eSSangbeom Kim	  This driver can also be built as a module. If so, the module
6905bccae6eSSangbeom Kim	  will be called rtc-s5m.
6915bccae6eSSangbeom Kim
6921d67a232SDianlong Liconfig RTC_DRV_SD3078
69322e7d514SAlexandre Belloni	tristate "ZXW Shenzhen whwave SD3078"
694578c2b66SAlexandre Belloni	select REGMAP_I2C
6951d67a232SDianlong Li	help
69622e7d514SAlexandre Belloni	  If you say yes here you get support for the ZXW Shenzhen whwave
6971d67a232SDianlong Li	  SD3078 RTC chips.
6981d67a232SDianlong Li
6991d67a232SDianlong Li	  This driver can also be built as a module. If so, the module
7001d67a232SDianlong Li	  will be called rtc-sd3078
7011d67a232SDianlong Li
702bb35fb20SJan Engelhardtendif # I2C
703bb35fb20SJan Engelhardt
70409a21e56SAlessandro Zummocomment "SPI RTC drivers"
705bb35fb20SJan Engelhardt
706bb35fb20SJan Engelhardtif SPI_MASTER
70709a21e56SAlessandro Zummo
70874d34d4bSVoss, Nikolausconfig RTC_DRV_M41T93
70974d34d4bSVoss, Nikolaus	tristate "ST M41T93"
71074d34d4bSVoss, Nikolaus	help
71174d34d4bSVoss, Nikolaus	  If you say yes here you will get support for the
71274d34d4bSVoss, Nikolaus	  ST M41T93 SPI RTC chip.
71374d34d4bSVoss, Nikolaus
71474d34d4bSVoss, Nikolaus	  This driver can also be built as a module. If so, the module
71574d34d4bSVoss, Nikolaus	  will be called rtc-m41t93.
71674d34d4bSVoss, Nikolaus
7178fc2c767SKim B. Heinoconfig RTC_DRV_M41T94
7188fc2c767SKim B. Heino	tristate "ST M41T94"
7198fc2c767SKim B. Heino	help
7208fc2c767SKim B. Heino	  If you say yes here you will get support for the
7218fc2c767SKim B. Heino	  ST M41T94 SPI RTC chip.
7228fc2c767SKim B. Heino
7238fc2c767SKim B. Heino	  This driver can also be built as a module. If so, the module
7248fc2c767SKim B. Heino	  will be called rtc-m41t94.
7258fc2c767SKim B. Heino
726d25a5ed3SSergey Yanovichconfig RTC_DRV_DS1302
727d25a5ed3SSergey Yanovich	tristate "Dallas/Maxim DS1302"
728d25a5ed3SSergey Yanovich	depends on SPI
729d25a5ed3SSergey Yanovich	help
730d25a5ed3SSergey Yanovich	  If you say yes here you get support for the Dallas DS1302 RTC chips.
731d25a5ed3SSergey Yanovich
732d25a5ed3SSergey Yanovich	  This driver can also be built as a module. If so, the module
733d25a5ed3SSergey Yanovich	  will be called rtc-ds1302.
734d25a5ed3SSergey Yanovich
73553e84b67SDavid Brownellconfig RTC_DRV_DS1305
73653e84b67SDavid Brownell	tristate "Dallas/Maxim DS1305/DS1306"
73753e84b67SDavid Brownell	help
73853e84b67SDavid Brownell	  Select this driver to get support for the Dallas/Maxim DS1305
73953e84b67SDavid Brownell	  and DS1306 real time clock chips. These support a trickle
74053e84b67SDavid Brownell	  charger, alarms, and NVRAM in addition to the clock.
74153e84b67SDavid Brownell
74253e84b67SDavid Brownell	  This driver can also be built as a module. If so, the module
74353e84b67SDavid Brownell	  will be called rtc-ds1305.
74453e84b67SDavid Brownell
7451d6316f5SRaghavendra Ganigaconfig RTC_DRV_DS1343
7460dd449b1SRaghavendra Ganiga	select REGMAP_SPI
7471d6316f5SRaghavendra Ganiga	tristate "Dallas/Maxim DS1343/DS1344"
7481d6316f5SRaghavendra Ganiga	help
7491d6316f5SRaghavendra Ganiga	  If you say yes here you get support for the
7501d6316f5SRaghavendra Ganiga	  Dallas/Maxim DS1343 and DS1344 real time clock chips.
7511d6316f5SRaghavendra Ganiga	  Support for trickle charger, alarm is provided.
7521d6316f5SRaghavendra Ganiga
7531d6316f5SRaghavendra Ganiga	  This driver can also be built as a module. If so, the module
7541d6316f5SRaghavendra Ganiga	  will be called rtc-ds1343.
7551d6316f5SRaghavendra Ganiga
756617b26a0SRaghavendra Ganigaconfig RTC_DRV_DS1347
757ee85bb5bSRaghavendra Ganiga	select REGMAP_SPI
758617b26a0SRaghavendra Ganiga	tristate "Dallas/Maxim DS1347"
759617b26a0SRaghavendra Ganiga	help
760617b26a0SRaghavendra Ganiga	  If you say yes here you get support for the
761617b26a0SRaghavendra Ganiga	  Dallas/Maxim DS1347 chips.
762617b26a0SRaghavendra Ganiga
763617b26a0SRaghavendra Ganiga	  This driver only supports the RTC feature, and not other chip
764617b26a0SRaghavendra Ganiga	  features such as alarms.
765617b26a0SRaghavendra Ganiga
766617b26a0SRaghavendra Ganiga	  This driver can also be built as a module. If so, the module
767617b26a0SRaghavendra Ganiga	  will be called rtc-ds1347.
768617b26a0SRaghavendra Ganiga
76906de1808SMark Jacksonconfig RTC_DRV_DS1390
77006de1808SMark Jackson	tristate "Dallas/Maxim DS1390/93/94"
77106de1808SMark Jackson	help
7727b9b2ef1SAlessandro Zummo	  If you say yes here you get support for the
7737b9b2ef1SAlessandro Zummo	  Dallas/Maxim DS1390/93/94 chips.
77406de1808SMark Jackson
775fa395fb8SIvan Grimaldi	  This driver supports the RTC feature and trickle charging but not
776fa395fb8SIvan Grimaldi	  other chip features such as alarms.
77706de1808SMark Jackson
77806de1808SMark Jackson	  This driver can also be built as a module. If so, the module
77906de1808SMark Jackson	  will be called rtc-ds1390.
78006de1808SMark Jackson
78106776c89SVenkat Prashanth B Uconfig RTC_DRV_MAX6916
78206776c89SVenkat Prashanth B U	tristate "Maxim MAX6916"
78306776c89SVenkat Prashanth B U	help
78406776c89SVenkat Prashanth B U	  If you say yes here you will get support for the
78506776c89SVenkat Prashanth B U	  Maxim MAX6916 SPI RTC chip.
78606776c89SVenkat Prashanth B U
78706776c89SVenkat Prashanth B U	  This driver only supports the RTC feature, and not other chip
78806776c89SVenkat Prashanth B U	  features such as alarms.
78906776c89SVenkat Prashanth B U
79006776c89SVenkat Prashanth B U	  This driver can also be built as a module. If so, the module
79106776c89SVenkat Prashanth B U	  will be called rtc-max6916.
79206776c89SVenkat Prashanth B U
7932805b969SMagnus Dammconfig RTC_DRV_R9701
7942805b969SMagnus Damm	tristate "Epson RTC-9701JE"
7952805b969SMagnus Damm	help
7962805b969SMagnus Damm	  If you say yes here you will get support for the
7972805b969SMagnus Damm	  Epson RTC-9701JE SPI RTC chip.
7982805b969SMagnus Damm
7992805b969SMagnus Damm	  This driver can also be built as a module. If so, the module
8002805b969SMagnus Damm	  will be called rtc-r9701.
8012805b969SMagnus Damm
802d084885eSSoren Brinkmannconfig RTC_DRV_RX4581
803d084885eSSoren Brinkmann	tristate "Epson RX-4581"
804d084885eSSoren Brinkmann	help
805d084885eSSoren Brinkmann	  If you say yes here you will get support for the Epson RX-4581.
806d084885eSSoren Brinkmann
807d084885eSSoren Brinkmann	  This driver can also be built as a module. If so the module
808d084885eSSoren Brinkmann	  will be called rtc-rx4581.
809d084885eSSoren Brinkmann
810d084885eSSoren Brinkmannconfig RTC_DRV_RX6110
811d084885eSSoren Brinkmann	tristate "Epson RX-6110"
812d084885eSSoren Brinkmann	select REGMAP_SPI
813d084885eSSoren Brinkmann	help
814d084885eSSoren Brinkmann	  If you say yes here you will get support for the Epson RX-6610.
815d084885eSSoren Brinkmann
816d084885eSSoren Brinkmann	  This driver can also be built as a module. If so the module
817d084885eSSoren Brinkmann	  will be called rtc-rx6110.
818d084885eSSoren Brinkmann
81909a21e56SAlessandro Zummoconfig RTC_DRV_RS5C348
82009a21e56SAlessandro Zummo	tristate "Ricoh RS5C348A/B"
82109a21e56SAlessandro Zummo	help
82209a21e56SAlessandro Zummo	  If you say yes here you get support for the
82309a21e56SAlessandro Zummo	  Ricoh RS5C348A and RS5C348B RTC chips.
82409a21e56SAlessandro Zummo
82509a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
82609a21e56SAlessandro Zummo	  will be called rtc-rs5c348.
82709a21e56SAlessandro Zummo
828d084885eSSoren Brinkmannconfig RTC_DRV_MAX6902
829d084885eSSoren Brinkmann	tristate "Maxim MAX6902"
830d084885eSSoren Brinkmann	help
831d084885eSSoren Brinkmann	  If you say yes here you will get support for the
832d084885eSSoren Brinkmann	  Maxim MAX6902 SPI RTC chip.
833d084885eSSoren Brinkmann
834d084885eSSoren Brinkmann	  This driver can also be built as a module. If so, the module
835d084885eSSoren Brinkmann	  will be called rtc-max6902.
836d084885eSSoren Brinkmann
8377f3923a1SChris Vergesconfig RTC_DRV_PCF2123
8387f3923a1SChris Verges	tristate "NXP PCF2123"
839f2f5cb6aSYueHaibing	select REGMAP_SPI
8407f3923a1SChris Verges	help
8417f3923a1SChris Verges	  If you say yes here you get support for the NXP PCF2123
8427f3923a1SChris Verges	  RTC chip.
8437f3923a1SChris Verges
8447f3923a1SChris Verges	  This driver can also be built as a module. If so, the module
8457f3923a1SChris Verges	  will be called rtc-pcf2123.
8467f3923a1SChris Verges
8471fcbe42cSJosef Gajdusekconfig RTC_DRV_MCP795
8481fcbe42cSJosef Gajdusek	tristate "Microchip MCP795"
8491fcbe42cSJosef Gajdusek	help
8501fcbe42cSJosef Gajdusek	  If you say yes here you will get support for the Microchip MCP795.
8511fcbe42cSJosef Gajdusek
8521fcbe42cSJosef Gajdusek	  This driver can also be built as a module. If so the module
8531fcbe42cSJosef Gajdusek	  will be called rtc-mcp795.
8541fcbe42cSJosef Gajdusek
855bb35fb20SJan Engelhardtendif # SPI_MASTER
856bb35fb20SJan Engelhardt
857080481f5SAkinobu Mita#
858080481f5SAkinobu Mita# Helper to resolve issues with configs that have SPI enabled but I2C
859080481f5SAkinobu Mita# modular.  See SND_SOC_I2C_AND_SPI for more information
860080481f5SAkinobu Mita#
861080481f5SAkinobu Mitaconfig RTC_I2C_AND_SPI
862080481f5SAkinobu Mita	tristate
863080481f5SAkinobu Mita	default m if I2C=m
864080481f5SAkinobu Mita	default y if I2C=y
865080481f5SAkinobu Mita	default y if SPI_MASTER=y
866080481f5SAkinobu Mita
867080481f5SAkinobu Mitacomment "SPI and I2C RTC drivers"
868080481f5SAkinobu Mita
869080481f5SAkinobu Mitaconfig RTC_DRV_DS3232
870080481f5SAkinobu Mita	tristate "Dallas/Maxim DS3232/DS3234"
871080481f5SAkinobu Mita	depends on RTC_I2C_AND_SPI
87234719de9SGeert Uytterhoeven	select REGMAP_I2C if I2C
87334719de9SGeert Uytterhoeven	select REGMAP_SPI if SPI_MASTER
874080481f5SAkinobu Mita	help
875080481f5SAkinobu Mita	  If you say yes here you get support for Dallas Semiconductor
876080481f5SAkinobu Mita	  DS3232 and DS3234 real-time clock chips. If an interrupt is associated
877080481f5SAkinobu Mita	  with the device, the alarm functionality is supported.
878080481f5SAkinobu Mita
879080481f5SAkinobu Mita	  This driver can also be built as a module.  If so, the module
880080481f5SAkinobu Mita	  will be called rtc-ds3232.
881080481f5SAkinobu Mita
882c35c4195SKirill Esipovconfig RTC_DRV_DS3232_HWMON
883c35c4195SKirill Esipov	bool "HWMON support for Dallas/Maxim DS3232/DS3234"
884c35c4195SKirill Esipov	depends on RTC_DRV_DS3232 && HWMON && !(RTC_DRV_DS3232=y && HWMON=m)
885c35c4195SKirill Esipov	default y
886c35c4195SKirill Esipov	help
887c35c4195SKirill Esipov	  Say Y here if you want to expose temperature sensor data on
888c35c4195SKirill Esipov	  rtc-ds3232
889c35c4195SKirill Esipov
8909408ec1aSAkinobu Mitaconfig RTC_DRV_PCF2127
8919408ec1aSAkinobu Mita	tristate "NXP PCF2127"
8929408ec1aSAkinobu Mita	depends on RTC_I2C_AND_SPI
89334719de9SGeert Uytterhoeven	select REGMAP_I2C if I2C
89434719de9SGeert Uytterhoeven	select REGMAP_SPI if SPI_MASTER
89528abbba3SBruno Thomsen	select WATCHDOG_CORE if WATCHDOG
8969408ec1aSAkinobu Mita	help
8979408ec1aSAkinobu Mita	  If you say yes here you get support for the NXP PCF2127/29 RTC
8980e735eaaSBruno Thomsen	  chips with integrated quartz crystal for industrial applications.
8990e735eaaSBruno Thomsen	  Both chips also have watchdog timer and tamper switch detection
9000e735eaaSBruno Thomsen	  features.
9010e735eaaSBruno Thomsen
9020e735eaaSBruno Thomsen	  PCF2127 has an additional feature of 512 bytes battery backed
9030e735eaaSBruno Thomsen	  memory that's accessible using nvmem interface.
9049408ec1aSAkinobu Mita
9059408ec1aSAkinobu Mita	  This driver can also be built as a module. If so, the module
9069408ec1aSAkinobu Mita	  will be called rtc-pcf2127.
9079408ec1aSAkinobu Mita
908c2a1c145SMylène Josserandconfig RTC_DRV_RV3029C2
909c2a1c145SMylène Josserand	tristate "Micro Crystal RV3029/3049"
910c2a1c145SMylène Josserand	depends on RTC_I2C_AND_SPI
91134719de9SGeert Uytterhoeven	select REGMAP_I2C if I2C
91234719de9SGeert Uytterhoeven	select REGMAP_SPI if SPI_MASTER
913c2a1c145SMylène Josserand	help
914c2a1c145SMylène Josserand	  If you say yes here you get support for the Micro Crystal
915c2a1c145SMylène Josserand	  RV3029 and RV3049 RTC chips.
916c2a1c145SMylène Josserand
917c2a1c145SMylène Josserand	  This driver can also be built as a module. If so, the module
918c2a1c145SMylène Josserand	  will be called rtc-rv3029c2.
919c2a1c145SMylène Josserand
920c2a1c145SMylène Josserandconfig RTC_DRV_RV3029_HWMON
921c2a1c145SMylène Josserand	bool "HWMON support for RV3029/3049"
922c2a1c145SMylène Josserand	depends on RTC_DRV_RV3029C2 && HWMON
923c2a1c145SMylène Josserand	depends on !(RTC_DRV_RV3029C2=y && HWMON=m)
924c2a1c145SMylène Josserand	default y
925c2a1c145SMylène Josserand	help
926c2a1c145SMylène Josserand	  Say Y here if you want to expose temperature sensor data on
927c2a1c145SMylène Josserand	  rtc-rv3029.
928c2a1c145SMylène Josserand
92909a21e56SAlessandro Zummocomment "Platform RTC drivers"
9300c86edc0SAlessandro Zummo
931290cd0f0SChristoph Hellwig# this 'CMOS' RTC driver is arch dependent because it requires
932290cd0f0SChristoph Hellwig# <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
9337be2c7c9SDavid Brownell# global rtc_lock ... it's not yet just another platform_device.
9347be2c7c9SDavid Brownell
9357be2c7c9SDavid Brownellconfig RTC_DRV_CMOS
93609a21e56SAlessandro Zummo	tristate "PC-style 'CMOS'"
937a687a533SArnd Bergmann	depends on X86 || ARM || PPC || MIPS || SPARC64
938c7500900SDavid Brownell	default y if X86
939d6faca40SArnd Bergmann	select RTC_MC146818_LIB
9407be2c7c9SDavid Brownell	help
9417be2c7c9SDavid Brownell	  Say "yes" here to get direct support for the real time clock
9427be2c7c9SDavid Brownell	  found in every PC or ACPI-based system, and some other boards.
9437be2c7c9SDavid Brownell	  Specifically the original MC146818, compatibles like those in
9447be2c7c9SDavid Brownell	  PC south bridges, the DS12887 or M48T86, some multifunction
9457be2c7c9SDavid Brownell	  or LPC bus chips, and so on.
9467be2c7c9SDavid Brownell
9477be2c7c9SDavid Brownell	  Your system will need to define the platform device used by
9487be2c7c9SDavid Brownell	  this driver, otherwise it won't be accessible. This means
9497be2c7c9SDavid Brownell	  you can safely enable this driver if you don't know whether
9507be2c7c9SDavid Brownell	  or not your board has this kind of hardware.
9517be2c7c9SDavid Brownell
9527be2c7c9SDavid Brownell	  This driver can also be built as a module. If so, the module
9537be2c7c9SDavid Brownell	  will be called rtc-cmos.
9547be2c7c9SDavid Brownell
95585d0b3a5SRichard Hendersonconfig RTC_DRV_ALPHA
95685d0b3a5SRichard Henderson	bool "Alpha PC-style CMOS"
95785d0b3a5SRichard Henderson	depends on ALPHA
958d6faca40SArnd Bergmann	select RTC_MC146818_LIB
95985d0b3a5SRichard Henderson	default y
96085d0b3a5SRichard Henderson	help
96185d0b3a5SRichard Henderson	  Direct support for the real-time clock found on every Alpha
96285d0b3a5SRichard Henderson	  system, specifically MC146818 compatibles.  If in doubt, say Y.
96385d0b3a5SRichard Henderson
9640146f261SFeng Tangconfig RTC_DRV_VRTC
965933b9463SAlan Cox	tristate "Virtual RTC for Intel MID platforms"
966933b9463SAlan Cox	depends on X86_INTEL_MID
967933b9463SAlan Cox	default y if X86_INTEL_MID
9680146f261SFeng Tang
9690146f261SFeng Tang	help
9700146f261SFeng Tang	Say "yes" here to get direct support for the real time clock
9710146f261SFeng Tang	found on Moorestown platforms. The VRTC is a emulated RTC that
9720146f261SFeng Tang	derives its clock source from a real RTC in the PMIC. The MC146818
9730146f261SFeng Tang	style programming interface is mostly conserved, but any
9740146f261SFeng Tang	updates are done via IPC calls to the system controller FW.
9750146f261SFeng Tang
976537739deSThomas Bogendoerferconfig RTC_DRV_DS1216
977537739deSThomas Bogendoerfer	tristate "Dallas DS1216"
978bb35fb20SJan Engelhardt	depends on SNI_RM
979537739deSThomas Bogendoerfer	help
980537739deSThomas Bogendoerfer	  If you say yes here you get support for the Dallas DS1216 RTC chips.
981537739deSThomas Bogendoerfer
9825f119f29SThomas Bogendoerferconfig RTC_DRV_DS1286
9835f119f29SThomas Bogendoerfer	tristate "Dallas DS1286"
984706b632dSChen Gang	depends on HAS_IOMEM
9855f119f29SThomas Bogendoerfer	help
9865f119f29SThomas Bogendoerfer	  If you say yes here you get support for the Dallas DS1286 RTC chips.
9875f119f29SThomas Bogendoerfer
9888f26795aSAndrew Sharpconfig RTC_DRV_DS1511
9898f26795aSAndrew Sharp	tristate "Dallas DS1511"
990706b632dSChen Gang	depends on HAS_IOMEM
9918f26795aSAndrew Sharp	help
9928f26795aSAndrew Sharp	  If you say yes here you get support for the
9938f26795aSAndrew Sharp	  Dallas DS1511 timekeeping/watchdog chip.
9948f26795aSAndrew Sharp
9958f26795aSAndrew Sharp	  This driver can also be built as a module. If so, the module
9968f26795aSAndrew Sharp	  will be called rtc-ds1511.
9978f26795aSAndrew Sharp
9989bf5b4f5SAtsushi Nemotoconfig RTC_DRV_DS1553
99909b6bdb3SAlessandro Zummo	tristate "Maxim/Dallas DS1553"
1000706b632dSChen Gang	depends on HAS_IOMEM
10019bf5b4f5SAtsushi Nemoto	help
10029bf5b4f5SAtsushi Nemoto	  If you say yes here you get support for the
100309b6bdb3SAlessandro Zummo	  Maxim/Dallas DS1553 timekeeping chip.
10049bf5b4f5SAtsushi Nemoto
10059bf5b4f5SAtsushi Nemoto	  This driver can also be built as a module. If so, the module
10069bf5b4f5SAtsushi Nemoto	  will be called rtc-ds1553.
10079bf5b4f5SAtsushi Nemoto
1008aaaf5fbfSJoshua Kinardconfig RTC_DRV_DS1685_FAMILY
1009aaaf5fbfSJoshua Kinard	tristate "Dallas/Maxim DS1685 Family"
1010aaaf5fbfSJoshua Kinard	help
1011aaaf5fbfSJoshua Kinard	  If you say yes here you get support for the Dallas/Maxim DS1685
1012aaaf5fbfSJoshua Kinard	  family of real time chips.  This family includes the DS1685/DS1687,
1013aaaf5fbfSJoshua Kinard	  DS1689/DS1693, DS17285/DS17287, DS17485/DS17487, and
1014aaaf5fbfSJoshua Kinard	  DS17885/DS17887 chips.
1015aaaf5fbfSJoshua Kinard
1016aaaf5fbfSJoshua Kinard	  This driver can also be built as a module. If so, the module
1017aaaf5fbfSJoshua Kinard	  will be called rtc-ds1685.
1018aaaf5fbfSJoshua Kinard
1019aaaf5fbfSJoshua Kinardchoice
1020aaaf5fbfSJoshua Kinard	prompt "Subtype"
1021aaaf5fbfSJoshua Kinard	depends on RTC_DRV_DS1685_FAMILY
1022aaaf5fbfSJoshua Kinard	default RTC_DRV_DS1685
1023aaaf5fbfSJoshua Kinard
1024aaaf5fbfSJoshua Kinardconfig RTC_DRV_DS1685
1025aaaf5fbfSJoshua Kinard	bool "DS1685/DS1687"
1026aaaf5fbfSJoshua Kinard	help
1027aaaf5fbfSJoshua Kinard	  This enables support for the Dallas/Maxim DS1685/DS1687 real time
1028aaaf5fbfSJoshua Kinard	  clock chip.
1029aaaf5fbfSJoshua Kinard
1030aaaf5fbfSJoshua Kinard	  This chip is commonly found in SGI O2 (IP32) and SGI Octane (IP30)
1031aaaf5fbfSJoshua Kinard	  systems, as well as EPPC-405-UC modules by electronic system design
1032aaaf5fbfSJoshua Kinard	  GmbH.
1033aaaf5fbfSJoshua Kinard
1034aaaf5fbfSJoshua Kinardconfig RTC_DRV_DS1689
1035aaaf5fbfSJoshua Kinard	bool "DS1689/DS1693"
1036aaaf5fbfSJoshua Kinard	help
1037aaaf5fbfSJoshua Kinard	  This enables support for the Dallas/Maxim DS1689/DS1693 real time
1038aaaf5fbfSJoshua Kinard	  clock chip.
1039aaaf5fbfSJoshua Kinard
1040aaaf5fbfSJoshua Kinard	  This is an older RTC chip, supplanted by the DS1685/DS1687 above,
1041aaaf5fbfSJoshua Kinard	  which supports a few minor features such as Vcc, Vbat, and Power
1042aaaf5fbfSJoshua Kinard	  Cycle counters, plus a customer-specific, 8-byte ROM/Serial number.
1043aaaf5fbfSJoshua Kinard
1044aaaf5fbfSJoshua Kinard	  It also works for the even older DS1688/DS1691 RTC chips, which are
1045aaaf5fbfSJoshua Kinard	  virtually the same and carry the same model number.  Both chips
1046aaaf5fbfSJoshua Kinard	  have 114 bytes of user NVRAM.
1047aaaf5fbfSJoshua Kinard
1048aaaf5fbfSJoshua Kinardconfig RTC_DRV_DS17285
1049aaaf5fbfSJoshua Kinard	bool "DS17285/DS17287"
1050aaaf5fbfSJoshua Kinard	help
1051aaaf5fbfSJoshua Kinard	  This enables support for the Dallas/Maxim DS17285/DS17287 real time
1052aaaf5fbfSJoshua Kinard	  clock chip.
1053aaaf5fbfSJoshua Kinard
1054aaaf5fbfSJoshua Kinard	  This chip features 2kb of extended NV-SRAM.  It may possibly be
1055aaaf5fbfSJoshua Kinard	  found in some SGI O2 systems (rare).
1056aaaf5fbfSJoshua Kinard
1057aaaf5fbfSJoshua Kinardconfig RTC_DRV_DS17485
1058aaaf5fbfSJoshua Kinard	bool "DS17485/DS17487"
1059aaaf5fbfSJoshua Kinard	help
1060aaaf5fbfSJoshua Kinard	  This enables support for the Dallas/Maxim DS17485/DS17487 real time
1061aaaf5fbfSJoshua Kinard	  clock chip.
1062aaaf5fbfSJoshua Kinard
1063aaaf5fbfSJoshua Kinard	  This chip features 4kb of extended NV-SRAM.
1064aaaf5fbfSJoshua Kinard
1065aaaf5fbfSJoshua Kinardconfig RTC_DRV_DS17885
1066aaaf5fbfSJoshua Kinard	bool "DS17885/DS17887"
1067aaaf5fbfSJoshua Kinard	help
1068aaaf5fbfSJoshua Kinard	  This enables support for the Dallas/Maxim DS17885/DS17887 real time
1069aaaf5fbfSJoshua Kinard	  clock chip.
1070aaaf5fbfSJoshua Kinard
1071aaaf5fbfSJoshua Kinard	  This chip features 8kb of extended NV-SRAM.
1072aaaf5fbfSJoshua Kinard
1073aaaf5fbfSJoshua Kinardendchoice
1074aaaf5fbfSJoshua Kinard
107509b6bdb3SAlessandro Zummoconfig RTC_DRV_DS1742
107609b6bdb3SAlessandro Zummo	tristate "Maxim/Dallas DS1742/1743"
1077706b632dSChen Gang	depends on HAS_IOMEM
107809b6bdb3SAlessandro Zummo	help
107909b6bdb3SAlessandro Zummo	  If you say yes here you get support for the
108009b6bdb3SAlessandro Zummo	  Maxim/Dallas DS1742/1743 timekeeping chip.
108109b6bdb3SAlessandro Zummo
108209b6bdb3SAlessandro Zummo	  This driver can also be built as a module. If so, the module
108309b6bdb3SAlessandro Zummo	  will be called rtc-ds1742.
108409b6bdb3SAlessandro Zummo
1085ad0200f7SJean Delvareconfig RTC_DRV_DS2404
1086ad0200f7SJean Delvare	tristate "Maxim/Dallas DS2404"
1087ad0200f7SJean Delvare	help
1088ad0200f7SJean Delvare	  If you say yes here you get support for the
1089ad0200f7SJean Delvare	  Dallas DS2404 RTC chip.
1090ad0200f7SJean Delvare
1091ad0200f7SJean Delvare	  This driver can also be built as a module. If so, the module
1092ad0200f7SJean Delvare	  will be called rtc-ds2404.
1093ad0200f7SJean Delvare
1094fef931ffSAshish Jangamconfig RTC_DRV_DA9052
1095fef931ffSAshish Jangam	tristate "Dialog DA9052/DA9053 RTC"
1096fef931ffSAshish Jangam	depends on PMIC_DA9052
1097fef931ffSAshish Jangam	help
1098fef931ffSAshish Jangam	  Say y here to support the RTC driver for Dialog Semiconductor
1099fef931ffSAshish Jangam	  DA9052-BC and DA9053-AA/Bx PMICs.
1100fef931ffSAshish Jangam
11016920d996SAshish Jangamconfig RTC_DRV_DA9055
11026920d996SAshish Jangam	tristate "Dialog Semiconductor DA9055 RTC"
11036920d996SAshish Jangam	depends on MFD_DA9055
11046920d996SAshish Jangam	help
11056920d996SAshish Jangam	  If you say yes here you will get support for the
11066920d996SAshish Jangam	  RTC of the Dialog DA9055 PMIC.
11076920d996SAshish Jangam
11086920d996SAshish Jangam	  This driver can also be built as a module. If so, the module
11096920d996SAshish Jangam	  will be called rtc-da9055
11106920d996SAshish Jangam
1111c2a57550SOpensource [Steve Twiss]config RTC_DRV_DA9063
111280ca3277SS Twiss	tristate "Dialog Semiconductor DA9063/DA9062 RTC"
111380ca3277SS Twiss	depends on MFD_DA9063 || MFD_DA9062
1114c2a57550SOpensource [Steve Twiss]	help
1115c2a57550SOpensource [Steve Twiss]	  If you say yes here you will get support for the RTC subsystem
111680ca3277SS Twiss	  for the Dialog Semiconductor PMIC chips DA9063 and DA9062.
1117c2a57550SOpensource [Steve Twiss]
1118c2a57550SOpensource [Steve Twiss]	  This driver can also be built as a module. If so, the module
1119c2a57550SOpensource [Steve Twiss]	  will be called "rtc-da9063".
1120c2a57550SOpensource [Steve Twiss]
11215e3fd9e5Sdann frazierconfig RTC_DRV_EFI
11225e3fd9e5Sdann frazier	tristate "EFI RTC"
11237efe6659SMatt Fleming	depends on EFI && !X86
11245e3fd9e5Sdann frazier	help
11255e3fd9e5Sdann frazier	  If you say yes here you will get support for the EFI
11265e3fd9e5Sdann frazier	  Real Time Clock.
11275e3fd9e5Sdann frazier
11285e3fd9e5Sdann frazier	  This driver can also be built as a module. If so, the module
11295e3fd9e5Sdann frazier	  will be called rtc-efi.
11305e3fd9e5Sdann frazier
113102964115SThomas Hommelconfig RTC_DRV_STK17TA8
113202964115SThomas Hommel	tristate "Simtek STK17TA8"
1133706b632dSChen Gang	depends on HAS_IOMEM
113402964115SThomas Hommel	help
113502964115SThomas Hommel	  If you say yes here you get support for the
113602964115SThomas Hommel	  Simtek STK17TA8 timekeeping chip.
113702964115SThomas Hommel
113802964115SThomas Hommel	  This driver can also be built as a module. If so, the module
113902964115SThomas Hommel	  will be called rtc-stk17ta8.
114002964115SThomas Hommel
114109a21e56SAlessandro Zummoconfig RTC_DRV_M48T86
114209a21e56SAlessandro Zummo	tristate "ST M48T86/Dallas DS12887"
114309a21e56SAlessandro Zummo	help
114409a21e56SAlessandro Zummo	  If you say Y here you will get support for the
114509a21e56SAlessandro Zummo	  ST M48T86 and Dallas DS12887 RTC chips.
114609a21e56SAlessandro Zummo
114709a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
114809a21e56SAlessandro Zummo	  will be called rtc-m48t86.
114909a21e56SAlessandro Zummo
1150d1dbd82eSThomas Bogendoerferconfig RTC_DRV_M48T35
1151d1dbd82eSThomas Bogendoerfer	tristate "ST M48T35"
1152706b632dSChen Gang	depends on HAS_IOMEM
1153d1dbd82eSThomas Bogendoerfer	help
1154d1dbd82eSThomas Bogendoerfer	  If you say Y here you will get support for the
1155d1dbd82eSThomas Bogendoerfer	  ST M48T35 RTC chip.
1156d1dbd82eSThomas Bogendoerfer
1157d1dbd82eSThomas Bogendoerfer	  This driver can also be built as a module, if so, the module
1158d1dbd82eSThomas Bogendoerfer	  will be called "rtc-m48t35".
1159d1dbd82eSThomas Bogendoerfer
11602e774c7cSMark Zhanconfig RTC_DRV_M48T59
116194fe7424SKrzysztof Helt	tristate "ST M48T59/M48T08/M48T02"
1162706b632dSChen Gang	depends on HAS_IOMEM
11632e774c7cSMark Zhan	help
11642e774c7cSMark Zhan	  If you say Y here you will get support for the
116594fe7424SKrzysztof Helt	  ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
116694fe7424SKrzysztof Helt
116794fe7424SKrzysztof Helt	  These chips are usually found in Sun SPARC and UltraSPARC
116894fe7424SKrzysztof Helt	  workstations.
11692e774c7cSMark Zhan
11702e774c7cSMark Zhan	  This driver can also be built as a module, if so, the module
11712e774c7cSMark Zhan	  will be called "rtc-m48t59".
11722e774c7cSMark Zhan
11734f9b9bbaSGeert Uytterhoevenconfig RTC_DRV_MSM6242
11744f9b9bbaSGeert Uytterhoeven	tristate "Oki MSM6242"
1175706b632dSChen Gang	depends on HAS_IOMEM
11764f9b9bbaSGeert Uytterhoeven	help
11774f9b9bbaSGeert Uytterhoeven	  If you say yes here you get support for the Oki MSM6242
11784f9b9bbaSGeert Uytterhoeven	  timekeeping chip. It is used in some Amiga models (e.g. A2000).
11794f9b9bbaSGeert Uytterhoeven
11804f9b9bbaSGeert Uytterhoeven	  This driver can also be built as a module. If so, the module
11814f9b9bbaSGeert Uytterhoeven	  will be called rtc-msm6242.
11824f9b9bbaSGeert Uytterhoeven
1183cca4c231SDavid S. Millerconfig RTC_DRV_BQ4802
1184cca4c231SDavid S. Miller	tristate "TI BQ4802"
1185706b632dSChen Gang	depends on HAS_IOMEM
1186cca4c231SDavid S. Miller	help
1187cca4c231SDavid S. Miller	  If you say Y here you will get support for the TI
1188cca4c231SDavid S. Miller	  BQ4802 RTC chip.
1189cca4c231SDavid S. Miller
1190cca4c231SDavid S. Miller	  This driver can also be built as a module. If so, the module
1191cca4c231SDavid S. Miller	  will be called rtc-bq4802.
1192cca4c231SDavid S. Miller
11934f672ce2SGeert Uytterhoevenconfig RTC_DRV_RP5C01
11944f672ce2SGeert Uytterhoeven	tristate "Ricoh RP5C01"
1195706b632dSChen Gang	depends on HAS_IOMEM
11964f672ce2SGeert Uytterhoeven	help
11974f672ce2SGeert Uytterhoeven	  If you say yes here you get support for the Ricoh RP5C01
11984f672ce2SGeert Uytterhoeven	  timekeeping chip. It is used in some Amiga models (e.g. A3000
11994f672ce2SGeert Uytterhoeven	  and A4000).
12004f672ce2SGeert Uytterhoeven
12014f672ce2SGeert Uytterhoeven	  This driver can also be built as a module. If so, the module
12024f672ce2SGeert Uytterhoeven	  will be called rtc-rp5c01.
12034f672ce2SGeert Uytterhoeven
120409a21e56SAlessandro Zummoconfig RTC_DRV_V3020
120509a21e56SAlessandro Zummo	tristate "EM Microelectronic V3020"
120609a21e56SAlessandro Zummo	help
120709a21e56SAlessandro Zummo	  If you say yes here you will get support for the
120809a21e56SAlessandro Zummo	  EM Microelectronic v3020 RTC chip.
120909a21e56SAlessandro Zummo
121009a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
121109a21e56SAlessandro Zummo	  will be called rtc-v3020.
121209a21e56SAlessandro Zummo
121335c86bf6SMark Brownconfig RTC_DRV_WM831X
121435c86bf6SMark Brown	tristate "Wolfson Microelectronics WM831x RTC"
121535c86bf6SMark Brown	depends on MFD_WM831X
121635c86bf6SMark Brown	help
121735c86bf6SMark Brown	  If you say yes here you will get support for the RTC subsystem
121835c86bf6SMark Brown	  of the Wolfson Microelectronics WM831X series PMICs.
121935c86bf6SMark Brown
122035c86bf6SMark Brown	  This driver can also be built as a module. If so, the module
122135c86bf6SMark Brown	  will be called "rtc-wm831x".
122235c86bf6SMark Brown
1223077eaf5bSMark Brownconfig RTC_DRV_WM8350
1224077eaf5bSMark Brown	tristate "Wolfson Microelectronics WM8350 RTC"
1225077eaf5bSMark Brown	depends on MFD_WM8350
1226077eaf5bSMark Brown	help
1227077eaf5bSMark Brown	  If you say yes here you will get support for the RTC subsystem
1228077eaf5bSMark Brown	  of the Wolfson Microelectronics WM8350.
1229077eaf5bSMark Brown
1230077eaf5bSMark Brown	  This driver can also be built as a module. If so, the module
1231077eaf5bSMark Brown	  will be called "rtc-wm8350".
1232077eaf5bSMark Brown
1233495bbde5SBaolin Wangconfig RTC_DRV_SC27XX
1234495bbde5SBaolin Wang	tristate "Spreadtrum SC27xx RTC"
1235495bbde5SBaolin Wang	depends on MFD_SC27XX_PMIC || COMPILE_TEST
1236495bbde5SBaolin Wang	help
1237495bbde5SBaolin Wang	  If you say Y here you will get support for the RTC subsystem
1238495bbde5SBaolin Wang	  of the Spreadtrum SC27xx series PMICs. The SC27xx series PMICs
1239495bbde5SBaolin Wang	  includes the SC2720, SC2721, SC2723, SC2730 and SC2731 chips.
1240495bbde5SBaolin Wang
1241495bbde5SBaolin Wang	  This driver can also be built as a module. If so, the module
1242495bbde5SBaolin Wang	  will be called rtc-sc27xx.
1243495bbde5SBaolin Wang
12440942a71eSRajeev Kumarconfig RTC_DRV_SPEAR
12450942a71eSRajeev Kumar	tristate "SPEAR ST RTC"
12467a587eaeSAlexandre Belloni	depends on PLAT_SPEAR || COMPILE_TEST
12470942a71eSRajeev Kumar	default y
12480942a71eSRajeev Kumar	help
12490942a71eSRajeev Kumar	 If you say Y here you will get support for the RTC found on
12500942a71eSRajeev Kumar	 spear
12510942a71eSRajeev Kumar
1252eae854b2SBalaji Raoconfig RTC_DRV_PCF50633
1253eae854b2SBalaji Rao	depends on MFD_PCF50633
1254eae854b2SBalaji Rao	tristate "NXP PCF50633 RTC"
1255eae854b2SBalaji Rao	help
1256eae854b2SBalaji Rao	  If you say yes here you get support for the RTC subsystem of the
1257eae854b2SBalaji Rao	  NXP PCF50633 used in embedded systems.
1258eae854b2SBalaji Rao
1259bd207cfbSLinus Walleijconfig RTC_DRV_AB3100
1260bd207cfbSLinus Walleij	tristate "ST-Ericsson AB3100 RTC"
1261bd207cfbSLinus Walleij	depends on AB3100_CORE
1262bd207cfbSLinus Walleij	default y if AB3100_CORE
1263bd207cfbSLinus Walleij	help
1264bd207cfbSLinus Walleij	  Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
1265bd207cfbSLinus Walleij	  support. This chip contains a battery- and capacitor-backed RTC.
1266bd207cfbSLinus Walleij
12670af62f4dSVirupax Sadashivpetimathconfig RTC_DRV_AB8500
12680af62f4dSVirupax Sadashivpetimath	tristate "ST-Ericsson AB8500 RTC"
12690af62f4dSVirupax Sadashivpetimath	depends on AB8500_CORE
1270651fb480SUlf Hansson	select RTC_INTF_DEV
1271dc43d4a2SRamesh Chandrasekaran	select RTC_INTF_DEV_UIE_EMUL
12720af62f4dSVirupax Sadashivpetimath	help
12730af62f4dSVirupax Sadashivpetimath	  Select this to enable the ST-Ericsson AB8500 power management IC RTC
12740af62f4dSVirupax Sadashivpetimath	  support. This chip contains a battery- and capacitor-backed RTC.
12750af62f4dSVirupax Sadashivpetimath
127616b1d26eSNeelesh Guptaconfig RTC_DRV_OPAL
127716b1d26eSNeelesh Gupta	tristate "IBM OPAL RTC driver"
127816b1d26eSNeelesh Gupta	depends on PPC_POWERNV
127916b1d26eSNeelesh Gupta	default y
128016b1d26eSNeelesh Gupta	help
128116b1d26eSNeelesh Gupta	  If you say yes here you get support for the PowerNV platform RTC
128216b1d26eSNeelesh Gupta	  driver based on OPAL interfaces.
128316b1d26eSNeelesh Gupta
128416b1d26eSNeelesh Gupta	  This driver can also be built as a module. If so, the module
128516b1d26eSNeelesh Gupta	  will be called rtc-opal.
128616b1d26eSNeelesh Gupta
128711143c19SSuneel Garapaticonfig RTC_DRV_ZYNQMP
128811143c19SSuneel Garapati	tristate "Xilinx Zynq Ultrascale+ MPSoC RTC"
128911143c19SSuneel Garapati	depends on OF
129011143c19SSuneel Garapati	help
129111143c19SSuneel Garapati	  If you say yes here you get support for the RTC controller found on
129211143c19SSuneel Garapati	  Xilinx Zynq Ultrascale+ MPSoC.
129311143c19SSuneel Garapati
12946f2a71a3SStephen Barberconfig RTC_DRV_CROS_EC
12956f2a71a3SStephen Barber	tristate "Chrome OS EC RTC driver"
129647f11e0bSEnric Balletbo i Serra	depends on CROS_EC
12976f2a71a3SStephen Barber	help
12986f2a71a3SStephen Barber	  If you say yes here you will get support for the
12996f2a71a3SStephen Barber	  Chrome OS Embedded Controller's RTC.
13006f2a71a3SStephen Barber
13016f2a71a3SStephen Barber	  This driver can also be built as a module. If so, the module
13026f2a71a3SStephen Barber	  will be called rtc-cros-ec.
13036f2a71a3SStephen Barber
130409a21e56SAlessandro Zummocomment "on-CPU RTC drivers"
130509a21e56SAlessandro Zummo
1306125e550fSOleksij Rempelconfig RTC_DRV_ASM9260
1307125e550fSOleksij Rempel	tristate "Alphascale asm9260 RTC"
13087f742e8eSAlexandre Belloni	depends on MACH_ASM9260 || COMPILE_TEST
1309125e550fSOleksij Rempel	help
1310125e550fSOleksij Rempel	  If you say yes here you get support for the RTC on the
1311125e550fSOleksij Rempel	  Alphascale asm9260 SoC.
1312125e550fSOleksij Rempel
1313125e550fSOleksij Rempel	  This driver can also be built as a module. If so, the module
1314125e550fSOleksij Rempel	  will be called rtc-asm9260.
1315125e550fSOleksij Rempel
13168ecf6c54SMiguel Aguilarconfig RTC_DRV_DAVINCI
13178ecf6c54SMiguel Aguilar	tristate "TI DaVinci RTC"
13187a587eaeSAlexandre Belloni	depends on ARCH_DAVINCI_DM365 || COMPILE_TEST
13198ecf6c54SMiguel Aguilar	help
13208ecf6c54SMiguel Aguilar	  If you say yes here you get support for the RTC on the
13218ecf6c54SMiguel Aguilar	  DaVinci platforms (DM365).
13228ecf6c54SMiguel Aguilar
13238ecf6c54SMiguel Aguilar	  This driver can also be built as a module. If so, the module
13248ecf6c54SMiguel Aguilar	  will be called rtc-davinci.
13258ecf6c54SMiguel Aguilar
1326ba172208SBaruch Siachconfig RTC_DRV_DIGICOLOR
1327ba172208SBaruch Siach	tristate "Conexant Digicolor RTC"
13287a587eaeSAlexandre Belloni	depends on ARCH_DIGICOLOR || COMPILE_TEST
1329ba172208SBaruch Siach	help
1330ba172208SBaruch Siach	  If you say yes here you get support for the RTC on Conexant
1331ba172208SBaruch Siach	  Digicolor platforms. This currently includes the CX92755 SoC.
1332ba172208SBaruch Siach
1333ba172208SBaruch Siach	  This driver can also be built as a module. If so, the module
1334ba172208SBaruch Siach	  will be called rtc-digicolor.
1335ba172208SBaruch Siach
1336b224b9acSFabio Estevamconfig RTC_DRV_IMXDI
1337b224b9acSFabio Estevam	tristate "Freescale IMX DryIce Real Time Clock"
1338ef216ad0SRoland Stigge	depends on ARCH_MXC
1339b224b9acSFabio Estevam	help
1340b224b9acSFabio Estevam	   Support for Freescale IMX DryIce RTC
1341b224b9acSFabio Estevam
1342b224b9acSFabio Estevam	   This driver can also be built as a module, if so, the module
1343b224b9acSFabio Estevam	   will be called "rtc-imxdi".
1344b224b9acSFabio Estevam
13457b0b551dSBiwen Liconfig RTC_DRV_FSL_FTM_ALARM
13467b0b551dSBiwen Li	tristate "Freescale FlexTimer alarm timer"
13477b0b551dSBiwen Li	depends on ARCH_LAYERSCAPE || SOC_LS1021A
13487b0b551dSBiwen Li	help
13497b0b551dSBiwen Li	   For the FlexTimer in LS1012A, LS1021A, LS1028A, LS1043A, LS1046A,
13507b0b551dSBiwen Li	   LS1088A, LS208xA, we can use FTM as the wakeup source.
13517b0b551dSBiwen Li
13527b0b551dSBiwen Li	   Say y here to enable FTM alarm support. The FTM alarm provides
13537b0b551dSBiwen Li	   alarm functions for wakeup system from deep sleep.
13547b0b551dSBiwen Li
13557b0b551dSBiwen Li	   This driver can also be built as a module, if so, the module
13567b0b551dSBiwen Li	   will be called "rtc-fsl-ftm-alarm".
13577b0b551dSBiwen Li
1358d8fe6009SMartin Blumenstinglconfig RTC_DRV_MESON
1359d8fe6009SMartin Blumenstingl	tristate "Amlogic Meson RTC"
1360d8fe6009SMartin Blumenstingl	depends on (ARM && ARCH_MESON) || COMPILE_TEST
1361d8fe6009SMartin Blumenstingl	select REGMAP_MMIO
1362d8fe6009SMartin Blumenstingl	help
1363d8fe6009SMartin Blumenstingl	   Support for the RTC block on the Amlogic Meson6, Meson8, Meson8b
1364d8fe6009SMartin Blumenstingl	   and Meson8m2 SoCs.
1365d8fe6009SMartin Blumenstingl
1366d8fe6009SMartin Blumenstingl	   This driver can also be built as a module, if so, the module
1367d8fe6009SMartin Blumenstingl	   will be called "rtc-meson".
1368d8fe6009SMartin Blumenstingl
1369cb0b97d6SAlexandre Belloniconfig RTC_DRV_MESON_VRTC
1370cb0b97d6SAlexandre Belloni	tristate "Amlogic Meson Virtual RTC"
1371cb0b97d6SAlexandre Belloni	depends on ARCH_MESON || COMPILE_TEST
1372cb0b97d6SAlexandre Belloni	default m if ARCH_MESON
1373cb0b97d6SAlexandre Belloni	help
1374cb0b97d6SAlexandre Belloni	  If you say yes here you will get support for the
1375cb0b97d6SAlexandre Belloni	  Virtual RTC of Amlogic SoCs.
1376cb0b97d6SAlexandre Belloni
1377cb0b97d6SAlexandre Belloni	  This driver can also be built as a module. If so, the module
1378cb0b97d6SAlexandre Belloni	  will be called rtc-meson-vrtc.
1379cb0b97d6SAlexandre Belloni
1380db68b189SDavid Brownellconfig RTC_DRV_OMAP
13818608976eSLokesh Vutla	tristate "TI OMAP Real Time Clock"
13827a587eaeSAlexandre Belloni	depends on ARCH_OMAP || ARCH_DAVINCI || COMPILE_TEST
138397ea1906SMarcin Niestroj	depends on OF
138497ea1906SMarcin Niestroj	depends on PINCTRL
138597ea1906SMarcin Niestroj	select GENERIC_PINCONF
1386db68b189SDavid Brownell	help
1387427af9a6SAfzal Mohammed	  Say "yes" here to support the on chip real time clock
13888608976eSLokesh Vutla	  present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
1389427af9a6SAfzal Mohammed
1390427af9a6SAfzal Mohammed	  This driver can also be built as a module, if so, module
1391427af9a6SAfzal Mohammed	  will be called rtc-omap.
1392db68b189SDavid Brownell
139316f4efe7SAtul Dahiyaconfig HAVE_S3C_RTC
139416f4efe7SAtul Dahiya	bool
139516f4efe7SAtul Dahiya	help
139616f4efe7SAtul Dahiya	  This will include RTC support for Samsung SoCs. If
139716f4efe7SAtul Dahiya	  you want to include RTC support for any machine, kindly
139816f4efe7SAtul Dahiya	  select this in the respective mach-XXXX/Kconfig file.
139916f4efe7SAtul Dahiya
14001add6781SBen Dooksconfig RTC_DRV_S3C
14011add6781SBen Dooks	tristate "Samsung S3C series SoC RTC"
14027a587eaeSAlexandre Belloni	depends on ARCH_S3C64XX || HAVE_S3C_RTC || COMPILE_TEST
14031add6781SBen Dooks	help
14041add6781SBen Dooks	  RTC (Realtime Clock) driver for the clock inbuilt into the
14051add6781SBen Dooks	  Samsung S3C24XX series of SoCs. This can provide periodic
14061add6781SBen Dooks	  interrupt rates from 1Hz to 64Hz for user programs, and
14071add6781SBen Dooks	  wakeup from Alarm.
14081add6781SBen Dooks
14091add6781SBen Dooks	  The driver currently supports the common features on all the
14101add6781SBen Dooks	  S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
14111add6781SBen Dooks	  and S3C2442.
14121add6781SBen Dooks
14131add6781SBen Dooks	  This driver can also be build as a module. If so, the module
14141add6781SBen Dooks	  will be called rtc-s3c.
14151add6781SBen Dooks
1416fd507e2fSAlessandro Zummoconfig RTC_DRV_EP93XX
1417fd507e2fSAlessandro Zummo	tristate "Cirrus Logic EP93XX"
14187a587eaeSAlexandre Belloni	depends on ARCH_EP93XX || COMPILE_TEST
1419fd507e2fSAlessandro Zummo	help
1420fd507e2fSAlessandro Zummo	  If you say yes here you get support for the
1421fd507e2fSAlessandro Zummo	  RTC embedded in the Cirrus Logic EP93XX processors.
1422fd507e2fSAlessandro Zummo
1423fd507e2fSAlessandro Zummo	  This driver can also be built as a module. If so, the module
1424fd507e2fSAlessandro Zummo	  will be called rtc-ep93xx.
1425fd507e2fSAlessandro Zummo
1426e842f1c8SRichard Purdieconfig RTC_DRV_SA1100
14273888c090SHaojian Zhuang	tristate "SA11x0/PXA2xx/PXA910"
14283888c090SHaojian Zhuang	depends on ARCH_SA1100 || ARCH_PXA || ARCH_MMP
1429e842f1c8SRichard Purdie	help
1430e842f1c8SRichard Purdie	  If you say Y here you will get access to the real time clock
1431e842f1c8SRichard Purdie	  built into your SA11x0 or PXA2xx CPU.
1432e842f1c8SRichard Purdie
1433e842f1c8SRichard Purdie	  To compile this driver as a module, choose M here: the
1434e842f1c8SRichard Purdie	  module will be called rtc-sa1100.
1435fd507e2fSAlessandro Zummo
1436317a6104SPaul Mundtconfig RTC_DRV_SH
1437317a6104SPaul Mundt	tristate "SuperH On-Chip RTC"
1438dab5aec6SChris Brandt	depends on SUPERH || ARCH_RENESAS
1439317a6104SPaul Mundt	help
1440317a6104SPaul Mundt	  Say Y here to enable support for the on-chip RTC found in
1441dab5aec6SChris Brandt	  most SuperH processors. This RTC is also found in RZ/A SoCs.
1442317a6104SPaul Mundt
1443317a6104SPaul Mundt	  To compile this driver as a module, choose M here: the
1444317a6104SPaul Mundt	  module will be called rtc-sh.
1445317a6104SPaul Mundt
14468417eb7aSYoichi Yuasaconfig RTC_DRV_VR41XX
14473e16f6afSAlessandro Zummo	tristate "NEC VR41XX"
14487a587eaeSAlexandre Belloni	depends on CPU_VR41XX || COMPILE_TEST
14493e16f6afSAlessandro Zummo	help
14503e16f6afSAlessandro Zummo	  If you say Y here you will get access to the real time clock
14513e16f6afSAlessandro Zummo	  built into your NEC VR41XX CPU.
14523e16f6afSAlessandro Zummo
14533e16f6afSAlessandro Zummo	  To compile this driver as a module, choose M here: the
14543e16f6afSAlessandro Zummo	  module will be called rtc-vr41xx.
14558417eb7aSYoichi Yuasa
1456a190901cSRussell Kingconfig RTC_DRV_PL030
1457a190901cSRussell King	tristate "ARM AMBA PL030 RTC"
1458a190901cSRussell King	depends on ARM_AMBA
1459a190901cSRussell King	help
1460a190901cSRussell King	  If you say Y here you will get access to ARM AMBA
1461a190901cSRussell King	  PrimeCell PL030 RTC found on certain ARM SOCs.
1462a190901cSRussell King
1463a190901cSRussell King	  To compile this driver as a module, choose M here: the
1464a190901cSRussell King	  module will be called rtc-pl030.
1465a190901cSRussell King
14668ae6e163SDeepak Saxenaconfig RTC_DRV_PL031
14678ae6e163SDeepak Saxena	tristate "ARM AMBA PL031 RTC"
1468bb35fb20SJan Engelhardt	depends on ARM_AMBA
14698ae6e163SDeepak Saxena	help
14708ae6e163SDeepak Saxena	  If you say Y here you will get access to ARM AMBA
147109a21e56SAlessandro Zummo	  PrimeCell PL031 RTC found on certain ARM SOCs.
14728ae6e163SDeepak Saxena
14738ae6e163SDeepak Saxena	  To compile this driver as a module, choose M here: the
14748ae6e163SDeepak Saxena	  module will be called rtc-pl031.
14758ae6e163SDeepak Saxena
14767fc39f6dSAndrew Victorconfig RTC_DRV_AT91RM9200
147724cecc1bSNicolas Ferre	tristate "AT91RM9200 or some AT91SAM9 RTC"
14787a587eaeSAlexandre Belloni	depends on ARCH_AT91 || COMPILE_TEST
1479288d9cf1SClaudiu Beznea	depends on OF
1480788b1fc6SAndrew Victor	help
14814cdf854fSDavid Brownell	  Driver for the internal RTC (Realtime Clock) module found on
148224cecc1bSNicolas Ferre	  Atmel AT91RM9200's and some  AT91SAM9 chips. On AT91SAM9 chips
14834cdf854fSDavid Brownell	  this is powered by the backup power supply.
14844cdf854fSDavid Brownell
14854cdf854fSDavid Brownellconfig RTC_DRV_AT91SAM9
14863969eb48SBoris BREZILLON	tristate "AT91SAM9 RTT as RTC"
14877a587eaeSAlexandre Belloni	depends on ARCH_AT91 || COMPILE_TEST
14881a76a77cSAlexandre Belloni	depends on OF && HAS_IOMEM
148943e112bbSBoris BREZILLON	select MFD_SYSCON
14904cdf854fSDavid Brownell	help
14913969eb48SBoris BREZILLON	  Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which
14923969eb48SBoris BREZILLON	  can be used as an RTC thanks to the backup power supply (e.g. a
14933969eb48SBoris BREZILLON	  small coin cell battery) which keeps this block and the GPBR
14943969eb48SBoris BREZILLON	  (General Purpose Backup Registers) block powered when the device
14953969eb48SBoris BREZILLON	  is shutdown.
14963969eb48SBoris BREZILLON	  Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd
14973969eb48SBoris BREZILLON	  probably want to use the real RTC block instead of the "RTT as an
14983969eb48SBoris BREZILLON	  RTC" driver.
14994cdf854fSDavid Brownell
150045fd8a0cSManuel Laussconfig RTC_DRV_AU1XXX
150145fd8a0cSManuel Lauss	tristate "Au1xxx Counter0 RTC support"
150242a4f17dSManuel Lauss	depends on MIPS_ALCHEMY
150345fd8a0cSManuel Lauss	help
150445fd8a0cSManuel Lauss	  This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
150545fd8a0cSManuel Lauss	  counter) to be used as a RTC.
150645fd8a0cSManuel Lauss
150745fd8a0cSManuel Lauss	  This driver can also be built as a module. If so, the module
150845fd8a0cSManuel Lauss	  will be called rtc-au1xxx.
150945fd8a0cSManuel Lauss
1510e9f2bd81SNobuhiro Iwamatsuconfig RTC_DRV_RS5C313
1511e9f2bd81SNobuhiro Iwamatsu	tristate "Ricoh RS5C313"
1512bb35fb20SJan Engelhardt	depends on SH_LANDISK
1513e9f2bd81SNobuhiro Iwamatsu	help
1514e9f2bd81SNobuhiro Iwamatsu	  If you say yes here you get support for the Ricoh RS5C313 RTC chips.
1515e9f2bd81SNobuhiro Iwamatsu
15163afe6d04SGeert Uytterhoevenconfig RTC_DRV_GENERIC
15173afe6d04SGeert Uytterhoeven	tristate "Generic RTC support"
15183afe6d04SGeert Uytterhoeven	# Please consider writing a new RTC driver instead of using the generic
15193afe6d04SGeert Uytterhoeven	# RTC abstraction
15207a587eaeSAlexandre Belloni	depends on PARISC || M68K || PPC || SUPERH32 || COMPILE_TEST
15219eb16864SKyle McMartin	help
15223afe6d04SGeert Uytterhoeven	  Say Y or M here to enable RTC support on systems using the generic
15233afe6d04SGeert Uytterhoeven	  RTC abstraction. If you do not know what you are doing, you should
15249eb16864SKyle McMartin	  just say Y.
15259eb16864SKyle McMartin
1526dc944368SRobert Jarzmikconfig RTC_DRV_PXA
1527dc944368SRobert Jarzmik	tristate "PXA27x/PXA3xx"
1528dc944368SRobert Jarzmik	depends on ARCH_PXA
15293cdf4ad9SRob Herring	select RTC_DRV_SA1100
1530dc944368SRobert Jarzmik	help
1531dc944368SRobert Jarzmik	 If you say Y here you will get access to the real time clock
15323cdf4ad9SRob Herring	 built into your PXA27x or PXA3xx CPU. This RTC is actually 2 RTCs
15333cdf4ad9SRob Herring	 consisting of an SA1100 compatible RTC and the extended PXA RTC.
1534dc944368SRobert Jarzmik
1535dc944368SRobert Jarzmik	 This RTC driver uses PXA RTC registers available since pxa27x
1536dc944368SRobert Jarzmik	 series (RDxR, RYxR) instead of legacy RCNR, RTAR.
1537dc944368SRobert Jarzmik
1538f77fbdf9SAlexey Charkovconfig RTC_DRV_VT8500
1539f77fbdf9SAlexey Charkov	tristate "VIA/WonderMedia 85xx SoC RTC"
15407a587eaeSAlexandre Belloni	depends on ARCH_VT8500 || COMPILE_TEST
1541f77fbdf9SAlexey Charkov	help
1542f77fbdf9SAlexey Charkov	  If you say Y here you will get access to the real time clock
1543f77fbdf9SAlexey Charkov	  built into your VIA VT8500 SoC or its relatives.
1544f77fbdf9SAlexey Charkov
1545dc944368SRobert Jarzmik
15467a138edeSDavid S. Millerconfig RTC_DRV_SUN4V
15477a138edeSDavid S. Miller	bool "SUN4V Hypervisor RTC"
15487a138edeSDavid S. Miller	depends on SPARC64
15497a138edeSDavid S. Miller	help
15507a138edeSDavid S. Miller	  If you say Y here you will get support for the Hypervisor
15517a138edeSDavid S. Miller	  based RTC on SUN4V systems.
15527a138edeSDavid S. Miller
15539765d2d9SChen-Yu Tsaiconfig RTC_DRV_SUN6I
155437539414SMaxime Ripard	bool "Allwinner A31 RTC"
155593946c49SAlexandre Belloni	default MACH_SUN6I || MACH_SUN8I
155693946c49SAlexandre Belloni	depends on COMMON_CLK
155793946c49SAlexandre Belloni	depends on ARCH_SUNXI || COMPILE_TEST
15589765d2d9SChen-Yu Tsai	help
15592863934eSAndre Przywara	  If you say Y here you will get support for the RTC found in
15602863934eSAndre Przywara	  some Allwinner SoCs like the A31 or the A64.
15619765d2d9SChen-Yu Tsai
1562594c6fb9SCarlo Caioneconfig RTC_DRV_SUNXI
1563594c6fb9SCarlo Caione	tristate "Allwinner sun4i/sun7i RTC"
15647a587eaeSAlexandre Belloni	depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
1565594c6fb9SCarlo Caione	help
1566594c6fb9SCarlo Caione	  If you say Y here you will get support for the RTC found on
1567594c6fb9SCarlo Caione	  Allwinner A10/A20.
1568594c6fb9SCarlo Caione
1569de2cf332SDavid S. Millerconfig RTC_DRV_STARFIRE
1570de2cf332SDavid S. Miller	bool "Starfire RTC"
1571de2cf332SDavid S. Miller	depends on SPARC64
1572de2cf332SDavid S. Miller	help
1573de2cf332SDavid S. Miller	  If you say Y here you will get support for the RTC found on
1574de2cf332SDavid S. Miller	  Starfire systems.
1575de2cf332SDavid S. Miller
15760e149233SAtsushi Nemotoconfig RTC_DRV_TX4939
15770e149233SAtsushi Nemoto	tristate "TX4939 SoC"
1578faec5f7bSAlexandre Belloni	depends on SOC_TX4939 || COMPILE_TEST
15790e149233SAtsushi Nemoto	help
15800e149233SAtsushi Nemoto	  Driver for the internal RTC (Realtime Clock) module found on
15810e149233SAtsushi Nemoto	  Toshiba TX4939 SoC.
15820e149233SAtsushi Nemoto
1583defb4514SSaeed Bisharaconfig RTC_DRV_MV
1584defb4514SSaeed Bishara	tristate "Marvell SoC RTC"
15857a587eaeSAlexandre Belloni	depends on ARCH_DOVE || ARCH_MVEBU || COMPILE_TEST
1586defb4514SSaeed Bishara	help
1587defb4514SSaeed Bishara	  If you say yes here you will get support for the in-chip RTC
1588defb4514SSaeed Bishara	  that can be found in some of Marvell's SoC devices, such as
1589defb4514SSaeed Bishara	  the Kirkwood 88F6281 and 88F6192.
1590defb4514SSaeed Bishara
1591defb4514SSaeed Bishara	  This driver can also be built as a module. If so, the module
1592defb4514SSaeed Bishara	  will be called rtc-mv.
1593defb4514SSaeed Bishara
1594a3a42806SGregory CLEMENTconfig RTC_DRV_ARMADA38X
1595a3a42806SGregory CLEMENT	tristate "Armada 38x Marvell SoC RTC"
15967a587eaeSAlexandre Belloni	depends on ARCH_MVEBU || COMPILE_TEST
1597a3a42806SGregory CLEMENT	help
1598a3a42806SGregory CLEMENT	  If you say yes here you will get support for the in-chip RTC
1599a3a42806SGregory CLEMENT	  that can be found in the Armada 38x Marvell's SoC device
1600a3a42806SGregory CLEMENT
1601a3a42806SGregory CLEMENT	  This driver can also be built as a module. If so, the module
1602a3a42806SGregory CLEMENT	  will be called armada38x-rtc.
1603a3a42806SGregory CLEMENT
160442986fb8SJan Kotasconfig RTC_DRV_CADENCE
160542986fb8SJan Kotas	tristate "Cadence RTC driver"
160642986fb8SJan Kotas	depends on OF && HAS_IOMEM
160742986fb8SJan Kotas	help
160842986fb8SJan Kotas	  If you say Y here you will get access to Cadence RTC IP
160942986fb8SJan Kotas	  found on certain SOCs.
161042986fb8SJan Kotas
161142986fb8SJan Kotas	  To compile this driver as a module, choose M here: the
161242986fb8SJan Kotas	  module will be called rtc-cadence.
161342986fb8SJan Kotas
16141d61d259SLinus Walleijconfig RTC_DRV_FTRTC010
16151d61d259SLinus Walleij	tristate "Faraday Technology FTRTC010 RTC"
161698a9bb5bSHans Ulli Kroll	depends on HAS_IOMEM
16171d61d259SLinus Walleij	default ARCH_GEMINI
161898a9bb5bSHans Ulli Kroll	help
161998a9bb5bSHans Ulli Kroll	  If you say Y here you will get support for the
16201d61d259SLinus Walleij	  Faraday Technolog FTRTC010 found on e.g. Gemini SoC's.
162198a9bb5bSHans Ulli Kroll
162298a9bb5bSHans Ulli Kroll	  This driver can also be built as a module. If so, the module
16231d61d259SLinus Walleij	  will be called rtc-ftrtc010.
162498a9bb5bSHans Ulli Kroll
16250b5f037aSGeert Uytterhoevenconfig RTC_DRV_PS3
16260b5f037aSGeert Uytterhoeven	tristate "PS3 RTC"
16270b5f037aSGeert Uytterhoeven	depends on PPC_PS3
16280b5f037aSGeert Uytterhoeven	help
16290b5f037aSGeert Uytterhoeven	  If you say yes here you will get support for the RTC on PS3.
16300b5f037aSGeert Uytterhoeven
16310b5f037aSGeert Uytterhoeven	  This driver can also be built as a module. If so, the module
16320b5f037aSGeert Uytterhoeven	  will be called rtc-ps3.
16330b5f037aSGeert Uytterhoeven
1634aa958f57SLinus Walleijconfig RTC_DRV_COH901331
1635aa958f57SLinus Walleij	tristate "ST-Ericsson COH 901 331 RTC"
16367a587eaeSAlexandre Belloni	depends on ARCH_U300 || COMPILE_TEST
1637aa958f57SLinus Walleij	help
1638aa958f57SLinus Walleij	  If you say Y here you will get access to ST-Ericsson
1639aa958f57SLinus Walleij	  COH 901 331 RTC clock found in some ST-Ericsson Mobile
1640aa958f57SLinus Walleij	  Platforms.
1641aa958f57SLinus Walleij
1642aa958f57SLinus Walleij	  This driver can also be built as a module. If so, the module
1643aa958f57SLinus Walleij	  will be called "rtc-coh901331".
1644aa958f57SLinus Walleij
1645aa958f57SLinus Walleij
1646df17f631Sdmitry pervushinconfig RTC_DRV_STMP
164746b21218SWolfram Sang	tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
16487a587eaeSAlexandre Belloni	depends on ARCH_MXS || COMPILE_TEST
164920d048acSAlexandre Belloni	select STMP_DEVICE
1650df17f631Sdmitry pervushin	help
1651df17f631Sdmitry pervushin	  If you say yes here you will get support for the onboard
165246b21218SWolfram Sang	  STMP3xxx/i.MX23/i.MX28 RTC.
1653df17f631Sdmitry pervushin
1654df17f631Sdmitry pervushin	  This driver can also be built as a module. If so, the module
1655df17f631Sdmitry pervushin	  will be called rtc-stmp3xxx.
1656df17f631Sdmitry pervushin
1657d3c7a3f7SDaniel Ribeiroconfig RTC_DRV_PCAP
1658d3c7a3f7SDaniel Ribeiro	tristate "PCAP RTC"
1659d3c7a3f7SDaniel Ribeiro	depends on EZX_PCAP
1660d3c7a3f7SDaniel Ribeiro	help
1661d3c7a3f7SDaniel Ribeiro	  If you say Y here you will get support for the RTC found on
1662d3c7a3f7SDaniel Ribeiro	  the PCAP2 ASIC used on some Motorola phones.
1663d3c7a3f7SDaniel Ribeiro
16641c97872bSUwe Kleine-Königconfig RTC_DRV_MC13XXX
16651c97872bSUwe Kleine-König	depends on MFD_MC13XXX
16661c97872bSUwe Kleine-König	tristate "Freescale MC13xxx RTC"
166743299f28SUwe Kleine-König	help
16681c97872bSUwe Kleine-König	  This enables support for the RTCs found on Freescale's PMICs
16691c97872bSUwe Kleine-König	  MC13783 and MC13892.
167043299f28SUwe Kleine-König
167150aae724SAnatolij Gustschinconfig RTC_DRV_MPC5121
167250aae724SAnatolij Gustschin	tristate "Freescale MPC5121 built-in RTC"
1673955dbea3SDmitry Eremin-Solenikov	depends on PPC_MPC512x || PPC_MPC52xx
167450aae724SAnatolij Gustschin	help
167550aae724SAnatolij Gustschin	  If you say yes here you will get support for the
1676955dbea3SDmitry Eremin-Solenikov	  built-in RTC on MPC5121 or on MPC5200.
167750aae724SAnatolij Gustschin
167850aae724SAnatolij Gustschin	  This driver can also be built as a module. If so, the module
167950aae724SAnatolij Gustschin	  will be called rtc-mpc5121.
168050aae724SAnatolij Gustschin
16813bf0eea8SLars-Peter Clausenconfig RTC_DRV_JZ4740
1682586655d2SAlexandre Belloni	tristate "Ingenic JZ4740 SoC"
16831e6e4e16SPaul Cercueil	depends on MIPS || COMPILE_TEST
16843bf0eea8SLars-Peter Clausen	help
1685cd563200SPaul Cercueil	  If you say yes here you get support for the Ingenic JZ47xx SoCs RTC
1686cd563200SPaul Cercueil	  controllers.
16873bf0eea8SLars-Peter Clausen
1688b9ef8608SMathieu Malaterre	  This driver can also be built as a module. If so, the module
1689586655d2SAlexandre Belloni	  will be called rtc-jz4740.
1690586655d2SAlexandre Belloni
1691c28b42e3SJoachim Eastwoodconfig RTC_DRV_LPC24XX
1692c28b42e3SJoachim Eastwood	tristate "NXP RTC for LPC178x/18xx/408x/43xx"
1693c28b42e3SJoachim Eastwood	depends on ARCH_LPC18XX || COMPILE_TEST
1694c28b42e3SJoachim Eastwood	depends on OF && HAS_IOMEM
1695c28b42e3SJoachim Eastwood	help
1696c28b42e3SJoachim Eastwood	  This enables support for the NXP RTC found which can be found on
1697c28b42e3SJoachim Eastwood	  NXP LPC178x/18xx/408x/43xx devices.
1698c28b42e3SJoachim Eastwood
1699c28b42e3SJoachim Eastwood	  If you have one of the devices above enable this driver to use
170072d3d79fSAlexandre Belloni	  the hardware RTC. This driver can also be built as a module. If
1701c28b42e3SJoachim Eastwood	  so, the module will be called rtc-lpc24xx.
1702c28b42e3SJoachim Eastwood
17039aa449beSKevin Wellsconfig RTC_DRV_LPC32XX
17047a587eaeSAlexandre Belloni	depends on ARCH_LPC32XX || COMPILE_TEST
17059aa449beSKevin Wells	tristate "NXP LPC32XX RTC"
17069aa449beSKevin Wells	help
17079aa449beSKevin Wells	  This enables support for the NXP RTC in the LPC32XX
17089aa449beSKevin Wells
170972d3d79fSAlexandre Belloni	  This driver can also be built as a module. If so, the module
17109aa449beSKevin Wells	  will be called rtc-lpc32xx.
17119aa449beSKevin Wells
17129a9a54adSAnirudh Ghayalconfig RTC_DRV_PM8XXX
17139a9a54adSAnirudh Ghayal	tristate "Qualcomm PMIC8XXX RTC"
17147a587eaeSAlexandre Belloni	depends on MFD_PM8XXX || MFD_SPMI_PMIC || COMPILE_TEST
17159a9a54adSAnirudh Ghayal	help
17169a9a54adSAnirudh Ghayal	  If you say yes here you get support for the
17179a9a54adSAnirudh Ghayal	  Qualcomm PMIC8XXX RTC.
17189a9a54adSAnirudh Ghayal
17199a9a54adSAnirudh Ghayal	  To compile this driver as a module, choose M here: the
17209a9a54adSAnirudh Ghayal	  module will be called rtc-pm8xxx.
17219a9a54adSAnirudh Ghayal
1722ff859ba6SAndrew Chewconfig RTC_DRV_TEGRA
1723ff859ba6SAndrew Chew	tristate "NVIDIA Tegra Internal RTC driver"
17247a587eaeSAlexandre Belloni	depends on ARCH_TEGRA || COMPILE_TEST
1725ff859ba6SAndrew Chew	help
1726ff859ba6SAndrew Chew	  If you say yes here you get support for the
1727ff859ba6SAndrew Chew	  Tegra 200 series internal RTC module.
1728ff859ba6SAndrew Chew
1729ff859ba6SAndrew Chew	  This drive can also be built as a module. If so, the module
1730ff859ba6SAndrew Chew	  will be called rtc-tegra.
1731ff859ba6SAndrew Chew
17322809e80bSGuan Xuetaoconfig RTC_DRV_PUV3
17332809e80bSGuan Xuetao	tristate "PKUnity v3 RTC support"
17342809e80bSGuan Xuetao	depends on ARCH_PUV3
17352809e80bSGuan Xuetao	help
17362809e80bSGuan Xuetao	  This enables support for the RTC in the PKUnity-v3 SoCs.
17372809e80bSGuan Xuetao
17382809e80bSGuan Xuetao	  This drive can also be built as a module. If so, the module
17392809e80bSGuan Xuetao	  will be called rtc-puv3.
17402809e80bSGuan Xuetao
1741b4f0b880Szhao zhangconfig RTC_DRV_LOONGSON1
1742b4f0b880Szhao zhang	tristate "loongson1 RTC support"
174330ad29bbSHuacai Chen	depends on MACH_LOONGSON32
1744b4f0b880Szhao zhang	help
1745b4f0b880Szhao zhang	  This is a driver for the loongson1 on-chip Counter0 (Time-Of-Year
1746b4f0b880Szhao zhang	  counter) to be used as a RTC.
1747b4f0b880Szhao zhang
1748b4f0b880Szhao zhang	  This driver can also be built as a module. If so, the module
1749b4f0b880Szhao zhang	  will be called rtc-ls1x.
1750b4f0b880Szhao zhang
175179811595SFabio Estevamconfig RTC_DRV_MXC
1752b224b9acSFabio Estevam	tristate "Freescale MXC Real Time Clock"
1753b224b9acSFabio Estevam	depends on ARCH_MXC
1754b224b9acSFabio Estevam	help
1755b224b9acSFabio Estevam	   If you say yes here you get support for the Freescale MXC
1756b224b9acSFabio Estevam	   RTC module.
1757b224b9acSFabio Estevam
1758b224b9acSFabio Estevam	   This driver can also be built as a module, if so, the module
1759b224b9acSFabio Estevam	   will be called "rtc-mxc".
1760b224b9acSFabio Estevam
176183c880f7SPatrick Bruennconfig RTC_DRV_MXC_V2
176283c880f7SPatrick Bruenn	tristate "Freescale MXC Real Time Clock for i.MX53"
176383c880f7SPatrick Bruenn	depends on ARCH_MXC
176483c880f7SPatrick Bruenn	help
176583c880f7SPatrick Bruenn	   If you say yes here you get support for the Freescale MXC
176683c880f7SPatrick Bruenn	   SRTC module in i.MX53 processor.
176783c880f7SPatrick Bruenn
176883c880f7SPatrick Bruenn	   This driver can also be built as a module, if so, the module
176983c880f7SPatrick Bruenn	   will be called "rtc-mxc_v2".
177083c880f7SPatrick Bruenn
1771179a502fSShawn Guoconfig RTC_DRV_SNVS
1772179a502fSShawn Guo	tristate "Freescale SNVS RTC support"
17738a0fa184SShawn Guo	select REGMAP_MMIO
1774179a502fSShawn Guo	depends on HAS_IOMEM
1775179a502fSShawn Guo	depends on OF
1776179a502fSShawn Guo	help
1777179a502fSShawn Guo	   If you say yes here you get support for the Freescale SNVS
1778179a502fSShawn Guo	   Low Power (LP) RTC module.
1779179a502fSShawn Guo
1780179a502fSShawn Guo	   This driver can also be built as a module, if so, the module
1781179a502fSShawn Guo	   will be called "rtc-snvs".
1782179a502fSShawn Guo
1783e01b5781SAnson Huangconfig RTC_DRV_IMX_SC
1784e01b5781SAnson Huang	depends on IMX_SCU
17857dd63ec0SAlexandre Belloni	depends on HAVE_ARM_SMCCC
1786e01b5781SAnson Huang	tristate "NXP i.MX System Controller RTC support"
1787e01b5781SAnson Huang	help
1788e01b5781SAnson Huang	   If you say yes here you get support for the NXP i.MX System
1789e01b5781SAnson Huang	   Controller RTC module.
1790e01b5781SAnson Huang
1791e88b815eSXianglong Duconfig RTC_DRV_SIRFSOC
1792e88b815eSXianglong Du	tristate "SiRFSOC RTC"
1793e88b815eSXianglong Du	depends on ARCH_SIRF
1794e88b815eSXianglong Du	help
1795e88b815eSXianglong Du	  Say "yes" here to support the real time clock on SiRF SOC chips.
1796e88b815eSXianglong Du	  This driver can also be built as a module called rtc-sirfsoc.
1797e88b815eSXianglong Du
1798b5b2bdfcSLee Jonesconfig RTC_DRV_ST_LPC
1799b5b2bdfcSLee Jones	tristate "STMicroelectronics LPC RTC"
1800b5b2bdfcSLee Jones	depends on ARCH_STI
1801b5b2bdfcSLee Jones	depends on OF
1802b5b2bdfcSLee Jones	help
1803b5b2bdfcSLee Jones	  Say Y here to include STMicroelectronics Low Power Controller
1804b5b2bdfcSLee Jones	  (LPC) based RTC support.
1805b5b2bdfcSLee Jones
1806b5b2bdfcSLee Jones	  To compile this driver as a module, choose M here: the
1807b5b2bdfcSLee Jones	  module will be called rtc-st-lpc.
1808b5b2bdfcSLee Jones
1809453b4c6dSJonas Jensenconfig RTC_DRV_MOXART
1810453b4c6dSJonas Jensen	tristate "MOXA ART RTC"
1811441fb768SJean Delvare	depends on ARCH_MOXART || COMPILE_TEST
1812453b4c6dSJonas Jensen	help
1813453b4c6dSJonas Jensen	   If you say yes here you get support for the MOXA ART
1814453b4c6dSJonas Jensen	   RTC module.
1815453b4c6dSJonas Jensen
1816453b4c6dSJonas Jensen	   This driver can also be built as a module. If so, the module
1817453b4c6dSJonas Jensen	   will be called rtc-moxart
1818453b4c6dSJonas Jensen
1819fc297911STianping Fangconfig RTC_DRV_MT6397
1820d00a7ed2SSean Wang	tristate "MediaTek PMIC based RTC"
182104d3ba70SArnd Bergmann	depends on MFD_MT6397 || (COMPILE_TEST && IRQ_DOMAIN)
1822fc297911STianping Fang	help
1823d00a7ed2SSean Wang	  This selects the MediaTek(R) RTC driver. RTC is part of MediaTek
1824fc297911STianping Fang	  MT6397 PMIC. You should enable MT6397 PMIC MFD before select
1825d00a7ed2SSean Wang	  MediaTek(R) RTC driver.
1826fc297911STianping Fang
1827d00a7ed2SSean Wang	  If you want to use MediaTek(R) RTC interface, select Y or M here.
1828fc297911STianping Fang
1829ba5d0181SSean Wangconfig RTC_DRV_MT7622
1830ba5d0181SSean Wang	tristate "MediaTek SoC based RTC"
1831ba5d0181SSean Wang	depends on ARCH_MEDIATEK || COMPILE_TEST
1832ba5d0181SSean Wang	help
1833ba5d0181SSean Wang	  This enables support for the real time clock built in the MediaTek
1834ba5d0181SSean Wang	  SoCs.
1835ba5d0181SSean Wang
1836ba5d0181SSean Wang	  This drive can also be built as a module. If so, the module
1837ba5d0181SSean Wang	  will be called rtc-mt7622.
1838ba5d0181SSean Wang
1839f12d8695SLoc Hoconfig RTC_DRV_XGENE
1840f12d8695SLoc Ho	tristate "APM X-Gene RTC"
1841706b632dSChen Gang	depends on HAS_IOMEM
1842fdf8afa1SJean Delvare	depends on ARCH_XGENE || COMPILE_TEST
1843f12d8695SLoc Ho	help
1844f12d8695SLoc Ho	  If you say yes here you get support for the APM X-Gene SoC real time
1845f12d8695SLoc Ho	  clock.
1846f12d8695SLoc Ho
1847f12d8695SLoc Ho	  This driver can also be built as a module, if so, the module
1848f12d8695SLoc Ho	  will be called "rtc-xgene".
1849f12d8695SLoc Ho
185051aa905cSJoshua Hendersonconfig RTC_DRV_PIC32
185151aa905cSJoshua Henderson	tristate "Microchip PIC32 RTC"
185251aa905cSJoshua Henderson	depends on MACH_PIC32
185351aa905cSJoshua Henderson	default y
185451aa905cSJoshua Henderson	help
185551aa905cSJoshua Henderson	   If you say yes here you get support for the PIC32 RTC module.
185651aa905cSJoshua Henderson
185751aa905cSJoshua Henderson	   This driver can also be built as a module. If so, the module
185851aa905cSJoshua Henderson	   will be called rtc-pic32
185951aa905cSJoshua Henderson
18600b6a8f5cSAkinobu Mitaconfig RTC_DRV_R7301
18610b6a8f5cSAkinobu Mita	tristate "EPSON TOYOCOM RTC-7301SF/DG"
18620b6a8f5cSAkinobu Mita	select REGMAP_MMIO
18630b6a8f5cSAkinobu Mita	depends on OF && HAS_IOMEM
18640b6a8f5cSAkinobu Mita	help
18650b6a8f5cSAkinobu Mita	   If you say yes here you get support for the EPSON TOYOCOM
18660b6a8f5cSAkinobu Mita	   RTC-7301SF/DG chips.
18670b6a8f5cSAkinobu Mita
18680b6a8f5cSAkinobu Mita	   This driver can also be built as a module. If so, the module
18690b6a8f5cSAkinobu Mita	   will be called rtc-r7301.
18700b6a8f5cSAkinobu Mita
18714e64350fSAmelie Delaunayconfig RTC_DRV_STM32
18724e64350fSAmelie Delaunay	tristate "STM32 RTC"
18734e64350fSAmelie Delaunay	select REGMAP_MMIO
18744e64350fSAmelie Delaunay	depends on ARCH_STM32 || COMPILE_TEST
18754e64350fSAmelie Delaunay	help
18764e64350fSAmelie Delaunay	   If you say yes here you get support for the STM32 On-Chip
18774e64350fSAmelie Delaunay	   Real Time Clock.
18784e64350fSAmelie Delaunay
18794e64350fSAmelie Delaunay	   This driver can also be built as a module, if so, the module
18804e64350fSAmelie Delaunay	   will be called "rtc-stm32".
18814e64350fSAmelie Delaunay
1882dd3bf50bSSebastian Reichelconfig RTC_DRV_CPCAP
1883dd3bf50bSSebastian Reichel	depends on MFD_CPCAP
1884dd3bf50bSSebastian Reichel	tristate "Motorola CPCAP RTC"
1885dd3bf50bSSebastian Reichel	help
1886dd3bf50bSSebastian Reichel	   Say y here for CPCAP rtc found on some Motorola phones
1887dd3bf50bSSebastian Reichel	   and tablets such as Droid 4.
1888dd3bf50bSSebastian Reichel
1889ae930c91SAndreas Färberconfig RTC_DRV_RTD119X
1890ae930c91SAndreas Färber	bool "Realtek RTD129x RTC"
1891ae930c91SAndreas Färber	depends on ARCH_REALTEK || COMPILE_TEST
1892ae930c91SAndreas Färber	default ARCH_REALTEK
1893ae930c91SAndreas Färber	help
1894ae930c91SAndreas Färber	  If you say yes here, you get support for the RTD1295 SoC
1895ae930c91SAndreas Färber	  Real Time Clock.
1896ae930c91SAndreas Färber
1897184a182eSJoel Stanleyconfig RTC_DRV_ASPEED
1898184a182eSJoel Stanley	tristate "ASPEED RTC"
1899184a182eSJoel Stanley	depends on OF
1900184a182eSJoel Stanley	depends on ARCH_ASPEED || COMPILE_TEST
1901184a182eSJoel Stanley	help
1902184a182eSJoel Stanley	  If you say yes here you get support for the ASPEED BMC SoC real time
1903184a182eSJoel Stanley	  clocks.
1904184a182eSJoel Stanley
1905184a182eSJoel Stanley	  This driver can also be built as a module, if so, the module
1906184a182eSJoel Stanley	  will be called "rtc-aspeed".
1907184a182eSJoel Stanley
190862e00cb9SAlexander Hollercomment "HID Sensor RTC drivers"
190962e00cb9SAlexander Holler
191062e00cb9SAlexander Hollerconfig RTC_DRV_HID_SENSOR_TIME
191162e00cb9SAlexander Holler	tristate "HID Sensor Time"
191262e00cb9SAlexander Holler	depends on USB_HID
19133cbb7b63SAlexandre Belloni	depends on HID_SENSOR_HUB && IIO
191462e00cb9SAlexander Holler	select HID_SENSOR_IIO_COMMON
191562e00cb9SAlexander Holler	help
191662e00cb9SAlexander Holler	  Say yes here to build support for the HID Sensors of type Time.
191762e00cb9SAlexander Holler	  This drivers makes such sensors available as RTCs.
191862e00cb9SAlexander Holler
191962e00cb9SAlexander Holler	  If this driver is compiled as a module, it will be named
192062e00cb9SAlexander Holler	  rtc-hid-sensor-time.
192162e00cb9SAlexander Holler
1922f22d9cdcSMiodrag Dinicconfig RTC_DRV_GOLDFISH
1923f22d9cdcSMiodrag Dinic	tristate "Goldfish Real Time Clock"
19246a6ec8c1SAlexandre Belloni	depends on OF && HAS_IOMEM
19256a6ec8c1SAlexandre Belloni	depends on GOLDFISH || COMPILE_TEST
1926f22d9cdcSMiodrag Dinic	help
1927f22d9cdcSMiodrag Dinic	  Say yes to enable RTC driver for the Goldfish based virtual platform.
1928f22d9cdcSMiodrag Dinic
1929f22d9cdcSMiodrag Dinic	  Goldfish is a code name for the virtual platform developed by Google
1930f22d9cdcSMiodrag Dinic	  for Android emulation.
193162e00cb9SAlexander Holler
19320d2f2a3dSNick Crewsconfig RTC_DRV_WILCO_EC
19330d2f2a3dSNick Crews	tristate "Wilco EC RTC"
19340d2f2a3dSNick Crews	depends on WILCO_EC
19350d2f2a3dSNick Crews	default m
19360d2f2a3dSNick Crews	help
19370d2f2a3dSNick Crews	  If you say yes here, you get read/write support for the Real Time
19380d2f2a3dSNick Crews	  Clock on the Wilco Embedded Controller (Wilco is a kind of Chromebook)
19390d2f2a3dSNick Crews
19400d2f2a3dSNick Crews	  This can also be built as a module. If so, the module will
19410d2f2a3dSNick Crews	  be named "rtc_wilco_ec".
19420d2f2a3dSNick Crews
1943bb35fb20SJan Engelhardtendif # RTC_CLASS
1944