xref: /openbmc/linux/drivers/rtc/Kconfig (revision ff859ba6d166202d6fd8d6344a41be54e4c8a2b6)
17be2c7c9SDavid Brownell#
2c58411e9SAlessandro Zummo# RTC class/drivers configuration
3c58411e9SAlessandro Zummo#
4c58411e9SAlessandro Zummo
5c58411e9SAlessandro Zummoconfig RTC_LIB
6c58411e9SAlessandro Zummo	tristate
70c86edc0SAlessandro Zummo
8bb35fb20SJan Engelhardtmenuconfig RTC_CLASS
9bb35fb20SJan Engelhardt	tristate "Real Time Clock"
100c86edc0SAlessandro Zummo	default n
11bb35fb20SJan Engelhardt	depends on !S390
120c86edc0SAlessandro Zummo	select RTC_LIB
130c86edc0SAlessandro Zummo	help
140c86edc0SAlessandro Zummo	  Generic RTC class support. If you say yes here, you will
150c86edc0SAlessandro Zummo 	  be allowed to plug one or more RTCs to your system. You will
1627ae4104SAdrian Bunk	  probably want to enable one or more of the interfaces below.
170c86edc0SAlessandro Zummo
180c86edc0SAlessandro Zummo	  This driver can also be built as a module. If so, the module
1944e0451dSAlessandro Zummo	  will be called rtc-core.
200c86edc0SAlessandro Zummo
21bb35fb20SJan Engelhardtif RTC_CLASS
22bb35fb20SJan Engelhardt
230c86edc0SAlessandro Zummoconfig RTC_HCTOSYS
247ca1d488SDavid Brownell	bool "Set system time from RTC on startup and resume"
250c86edc0SAlessandro Zummo	depends on RTC_CLASS = y
260c86edc0SAlessandro Zummo	default y
270c86edc0SAlessandro Zummo	help
287ca1d488SDavid Brownell	  If you say yes here, the system time (wall clock) will be set using
297ca1d488SDavid Brownell	  the value read from a specified RTC device. This is useful to avoid
307ca1d488SDavid Brownell	  unnecessary fsck runs at boot time, and to network better.
310c86edc0SAlessandro Zummo
320c86edc0SAlessandro Zummoconfig RTC_HCTOSYS_DEVICE
337ca1d488SDavid Brownell	string "RTC used to set the system time"
340c86edc0SAlessandro Zummo	depends on RTC_HCTOSYS = y
350c86edc0SAlessandro Zummo	default "rtc0"
360c86edc0SAlessandro Zummo	help
377ca1d488SDavid Brownell	  The RTC device that will be used to (re)initialize the system
387ca1d488SDavid Brownell	  clock, usually rtc0. Initialization is done when the system
39779d2089SDavid Brownell	  starts up, and when it resumes from a low power state. This
40779d2089SDavid Brownell	  device should record time in UTC, since the kernel won't do
41779d2089SDavid Brownell	  timezone correction.
427ca1d488SDavid Brownell
4355ff1abaSDavid Brownell	  The driver for this RTC device must be loaded before late_initcall
4455ff1abaSDavid Brownell	  functions run, so it must usually be statically linked.
4555ff1abaSDavid Brownell
467ca1d488SDavid Brownell	  This clock should be battery-backed, so that it reads the correct
477ca1d488SDavid Brownell	  time when the system boots from a power-off state. Otherwise, your
487ca1d488SDavid Brownell	  system will need an external clock source (like an NTP server).
497ca1d488SDavid Brownell
507ca1d488SDavid Brownell	  If the clock you specify here is not battery backed, it may still
517ca1d488SDavid Brownell	  be useful to reinitialize system time when resuming from system
527ca1d488SDavid Brownell	  sleep states. Do not specify an RTC here unless it stays powered
537ca1d488SDavid Brownell	  during all this system's supported sleep states.
540c86edc0SAlessandro Zummo
559e86ecb6SDavid Brownellconfig RTC_DEBUG
569e86ecb6SDavid Brownell	bool "RTC debug support"
579e86ecb6SDavid Brownell	depends on RTC_CLASS = y
589e86ecb6SDavid Brownell	help
599e86ecb6SDavid Brownell	  Say yes here to enable debugging support in the RTC framework
609e86ecb6SDavid Brownell	  and individual RTC drivers.
619e86ecb6SDavid Brownell
620c86edc0SAlessandro Zummocomment "RTC interfaces"
630c86edc0SAlessandro Zummo
64c5c3e192SAlessandro Zummoconfig RTC_INTF_SYSFS
65e40659c5SDavid Brownell	boolean "/sys/class/rtc/rtcN (sysfs)"
66bb35fb20SJan Engelhardt	depends on SYSFS
67c5c3e192SAlessandro Zummo	default RTC_CLASS
68c5c3e192SAlessandro Zummo	help
699e86ecb6SDavid Brownell	  Say yes here if you want to use your RTCs using sysfs interfaces,
709e86ecb6SDavid Brownell	  /sys/class/rtc/rtc0 through /sys/.../rtcN.
71c5c3e192SAlessandro Zummo
72ae64d169SAlessandro Zummo	  If unsure, say Y.
73c5c3e192SAlessandro Zummo
74728a2947SAlessandro Zummoconfig RTC_INTF_PROC
75e40659c5SDavid Brownell	boolean "/proc/driver/rtc (procfs for rtc0)"
76bb35fb20SJan Engelhardt	depends on PROC_FS
77728a2947SAlessandro Zummo	default RTC_CLASS
78728a2947SAlessandro Zummo	help
799e86ecb6SDavid Brownell	  Say yes here if you want to use your first RTC through the proc
809e86ecb6SDavid Brownell	  interface, /proc/driver/rtc. Other RTCs will not be available
819e86ecb6SDavid Brownell	  through that API.
82728a2947SAlessandro Zummo
83ae64d169SAlessandro Zummo	  If unsure, say Y.
84728a2947SAlessandro Zummo
85e824290eSAlessandro Zummoconfig RTC_INTF_DEV
86e40659c5SDavid Brownell	boolean "/dev/rtcN (character devices)"
87e824290eSAlessandro Zummo	default RTC_CLASS
88e824290eSAlessandro Zummo	help
899e86ecb6SDavid Brownell	  Say yes here if you want to use your RTCs using the /dev
909e86ecb6SDavid Brownell	  interfaces, which "udev" sets up as /dev/rtc0 through
91ae64d169SAlessandro Zummo	  /dev/rtcN.
92e824290eSAlessandro Zummo
93ae64d169SAlessandro Zummo	  You may want to set up a symbolic link so one of these
94ae64d169SAlessandro Zummo	  can be accessed as /dev/rtc, which is a name
95ae64d169SAlessandro Zummo	  expected by "hwclock" and some other programs. Recent
96ae64d169SAlessandro Zummo	  versions of "udev" are known to set up the symlink for you.
97ae64d169SAlessandro Zummo
98ae64d169SAlessandro Zummo	  If unsure, say Y.
99e824290eSAlessandro Zummo
1006e57b1d6SJohn Stultzconfig RTC_INTF_DEV_UIE_EMUL
1016e57b1d6SJohn Stultz	bool "RTC UIE emulation on dev interface"
1026e57b1d6SJohn Stultz	depends on RTC_INTF_DEV
1036e57b1d6SJohn Stultz	help
1046e57b1d6SJohn Stultz	  Provides an emulation for RTC_UIE if the underlying rtc chip
1056e57b1d6SJohn Stultz	  driver does not expose RTC_UIE ioctls. Those requests generate
1066e57b1d6SJohn Stultz	  once-per-second update interrupts, used for synchronization.
1076e57b1d6SJohn Stultz
1086e57b1d6SJohn Stultz	  The emulation code will read the time from the hardware
1096e57b1d6SJohn Stultz	  clock several times per second, please enable this option
1106e57b1d6SJohn Stultz	  only if you know that you really need it.
1116e57b1d6SJohn Stultz
11209a21e56SAlessandro Zummoconfig RTC_DRV_TEST
11309a21e56SAlessandro Zummo	tristate "Test driver/device"
11409a21e56SAlessandro Zummo	help
11509a21e56SAlessandro Zummo	  If you say yes here you get support for the
11609a21e56SAlessandro Zummo	  RTC test driver. It's a software RTC which can be
11709a21e56SAlessandro Zummo	  used to test the RTC subsystem APIs. It gets
11809a21e56SAlessandro Zummo	  the time from the system clock.
11909a21e56SAlessandro Zummo	  You want this driver only if you are doing development
12009a21e56SAlessandro Zummo	  on the RTC subsystem. Please read the source code
12109a21e56SAlessandro Zummo	  for further details.
12209a21e56SAlessandro Zummo
12309a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
12409a21e56SAlessandro Zummo	  will be called rtc-test.
12509a21e56SAlessandro Zummo
12609a21e56SAlessandro Zummocomment "I2C RTC drivers"
127bb35fb20SJan Engelhardt	depends on I2C
128bb35fb20SJan Engelhardt
129bb35fb20SJan Engelhardtif I2C
13009a21e56SAlessandro Zummo
13109a21e56SAlessandro Zummoconfig RTC_DRV_DS1307
132a2166858SMatthias Fuchs	tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00, EPSON RX-8025"
13309a21e56SAlessandro Zummo	help
13409a21e56SAlessandro Zummo	  If you say yes here you get support for various compatible RTC
13509a21e56SAlessandro Zummo	  chips (often with battery backup) connected with I2C. This driver
13609a21e56SAlessandro Zummo	  should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
137a2166858SMatthias Fuchs	  EPSON RX-8025 and probably other chips. In some cases the RTC
138a2166858SMatthias Fuchs	  must already have been initialized (by manufacturing or a
139a2166858SMatthias Fuchs	  bootloader).
14009a21e56SAlessandro Zummo
14109a21e56SAlessandro Zummo	  The first seven registers on these chips hold an RTC, and other
14209a21e56SAlessandro Zummo	  registers may add features such as NVRAM, a trickle charger for
143682d73f6SDavid Brownell	  the RTC/NVRAM backup power, and alarms. NVRAM is visible in
144682d73f6SDavid Brownell	  sysfs, but other chip features may not be available.
14509a21e56SAlessandro Zummo
14609a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
14709a21e56SAlessandro Zummo	  will be called rtc-ds1307.
14809a21e56SAlessandro Zummo
149bf4994d7SScott Woodconfig RTC_DRV_DS1374
15009b6bdb3SAlessandro Zummo	tristate "Dallas/Maxim DS1374"
151bf4994d7SScott Wood	depends on RTC_CLASS && I2C
152bf4994d7SScott Wood	help
153bf4994d7SScott Wood	  If you say yes here you get support for Dallas Semiconductor
154bf4994d7SScott Wood	  DS1374 real-time clock chips. If an interrupt is associated
155bf4994d7SScott Wood	  with the device, the alarm functionality is supported.
156bf4994d7SScott Wood
157bf4994d7SScott Wood	  This driver can also be built as a module. If so, the module
158bf4994d7SScott Wood	  will be called rtc-ds1374.
159bf4994d7SScott Wood
16009a21e56SAlessandro Zummoconfig RTC_DRV_DS1672
16109a21e56SAlessandro Zummo	tristate "Dallas/Maxim DS1672"
16209a21e56SAlessandro Zummo	help
16309a21e56SAlessandro Zummo	  If you say yes here you get support for the
16409a21e56SAlessandro Zummo	  Dallas/Maxim DS1672 timekeeping chip.
16509a21e56SAlessandro Zummo
16609a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
16709a21e56SAlessandro Zummo	  will be called rtc-ds1672.
16809a21e56SAlessandro Zummo
169c03675f0SRoy Zangconfig RTC_DRV_DS3232
170c03675f0SRoy Zang	tristate "Dallas/Maxim DS3232"
171c03675f0SRoy Zang	depends on RTC_CLASS && I2C
172c03675f0SRoy Zang	help
173c03675f0SRoy Zang	  If you say yes here you get support for Dallas Semiconductor
174f46418c5SLan Chunhe-B25806	  DS3232 real-time clock chips. If an interrupt is associated
175f46418c5SLan Chunhe-B25806	  with the device, the alarm functionality is supported.
176c03675f0SRoy Zang
177c03675f0SRoy Zang	  This driver can also be built as a module.  If so, the module
178c03675f0SRoy Zang	  will be called rtc-ds3232.
179c03675f0SRoy Zang
18009a21e56SAlessandro Zummoconfig RTC_DRV_MAX6900
18109b6bdb3SAlessandro Zummo	tristate "Maxim MAX6900"
18209a21e56SAlessandro Zummo	help
18309a21e56SAlessandro Zummo	  If you say yes here you will get support for the
18409a21e56SAlessandro Zummo	  Maxim MAX6900 I2C RTC chip.
18509a21e56SAlessandro Zummo
18609a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
18709a21e56SAlessandro Zummo	  will be called rtc-max6900.
18809a21e56SAlessandro Zummo
189a39069f6SHaojian Zhuangconfig RTC_DRV_MAX8925
190a39069f6SHaojian Zhuang	tristate "Maxim MAX8925"
191a39069f6SHaojian Zhuang	depends on MFD_MAX8925
192a39069f6SHaojian Zhuang	help
193a39069f6SHaojian Zhuang	  If you say yes here you will get support for the
194a39069f6SHaojian Zhuang	  RTC of Maxim MAX8925 PMIC.
195a39069f6SHaojian Zhuang
196a39069f6SHaojian Zhuang	  This driver can also be built as a module. If so, the module
197a39069f6SHaojian Zhuang	  will be called rtc-max8925.
198a39069f6SHaojian Zhuang
1999b16c0a4SJoonyoung Shimconfig RTC_DRV_MAX8998
2009b16c0a4SJoonyoung Shim	tristate "Maxim MAX8998"
2019b16c0a4SJoonyoung Shim	depends on MFD_MAX8998
2029b16c0a4SJoonyoung Shim	help
2039b16c0a4SJoonyoung Shim	  If you say yes here you will get support for the
2049b16c0a4SJoonyoung Shim	  RTC of Maxim MAX8998 PMIC.
2059b16c0a4SJoonyoung Shim
2069b16c0a4SJoonyoung Shim	  This driver can also be built as a module. If so, the module
2079b16c0a4SJoonyoung Shim	  will be called rtc-max8998.
2089b16c0a4SJoonyoung Shim
20909a21e56SAlessandro Zummoconfig RTC_DRV_RS5C372
2105d4529beSPaul Mundt	tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
21109a21e56SAlessandro Zummo	help
21209a21e56SAlessandro Zummo	  If you say yes here you get support for the
2135d4529beSPaul Mundt	  Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
21409a21e56SAlessandro Zummo
21509a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
21609a21e56SAlessandro Zummo	  will be called rtc-rs5c372.
21709a21e56SAlessandro Zummo
21809a21e56SAlessandro Zummoconfig RTC_DRV_ISL1208
21909b6bdb3SAlessandro Zummo	tristate "Intersil ISL1208"
22009a21e56SAlessandro Zummo	help
22109a21e56SAlessandro Zummo	  If you say yes here you get support for the
22209b6bdb3SAlessandro Zummo	  Intersil ISL1208 RTC chip.
22309a21e56SAlessandro Zummo
22409a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
22509a21e56SAlessandro Zummo	  will be called rtc-isl1208.
22609a21e56SAlessandro Zummo
227d6c7428fSRoman Fietzeconfig RTC_DRV_ISL12022
228d6c7428fSRoman Fietze	tristate "Intersil ISL12022"
229d6c7428fSRoman Fietze	help
230d6c7428fSRoman Fietze	  If you say yes here you get support for the
231d6c7428fSRoman Fietze	  Intersil ISL12022 RTC chip.
232d6c7428fSRoman Fietze
233d6c7428fSRoman Fietze	  This driver can also be built as a module. If so, the module
234d6c7428fSRoman Fietze	  will be called rtc-isl12022.
235d6c7428fSRoman Fietze
23609a21e56SAlessandro Zummoconfig RTC_DRV_X1205
23709a21e56SAlessandro Zummo	tristate "Xicor/Intersil X1205"
23809a21e56SAlessandro Zummo	help
23909a21e56SAlessandro Zummo	  If you say yes here you get support for the
24009a21e56SAlessandro Zummo	  Xicor/Intersil X1205 RTC chip.
24109a21e56SAlessandro Zummo
24209a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
24309a21e56SAlessandro Zummo	  will be called rtc-x1205.
24409a21e56SAlessandro Zummo
24509a21e56SAlessandro Zummoconfig RTC_DRV_PCF8563
24609a21e56SAlessandro Zummo	tristate "Philips PCF8563/Epson RTC8564"
24709a21e56SAlessandro Zummo	help
24809a21e56SAlessandro Zummo	  If you say yes here you get support for the
24909a21e56SAlessandro Zummo	  Philips PCF8563 RTC chip. The Epson RTC8564
25009a21e56SAlessandro Zummo	  should work as well.
25109a21e56SAlessandro Zummo
25209a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
25309a21e56SAlessandro Zummo	  will be called rtc-pcf8563.
25409a21e56SAlessandro Zummo
25509a21e56SAlessandro Zummoconfig RTC_DRV_PCF8583
25609a21e56SAlessandro Zummo	tristate "Philips PCF8583"
25709a21e56SAlessandro Zummo	help
25809a21e56SAlessandro Zummo	  If you say yes here you get support for the Philips PCF8583
25909a21e56SAlessandro Zummo	  RTC chip found on Acorn RiscPCs. This driver supports the
26009a21e56SAlessandro Zummo	  platform specific method of retrieving the current year from
26109a21e56SAlessandro Zummo	  the RTC's SRAM. It will work on other platforms with the same
26209a21e56SAlessandro Zummo	  chip, but the year will probably have to be tweaked.
26309a21e56SAlessandro Zummo
26409a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
26509a21e56SAlessandro Zummo	  will be called rtc-pcf8583.
26609a21e56SAlessandro Zummo
267caaff562SAtsushi Nemotoconfig RTC_DRV_M41T80
268f30281f4SDaniel Glockner	tristate "ST M41T62/65/M41T80/81/82/83/84/85/87"
269caaff562SAtsushi Nemoto	help
270d3a126fcSSteven A. Falco	  If you say Y here you will get support for the ST M41T60
271d3a126fcSSteven A. Falco	  and M41T80 RTC chips series. Currently, the following chips are
272f30281f4SDaniel Glockner	  supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
273d3a126fcSSteven A. Falco	  M41ST85, and M41ST87.
274caaff562SAtsushi Nemoto
275caaff562SAtsushi Nemoto	  This driver can also be built as a module. If so, the module
276caaff562SAtsushi Nemoto	  will be called rtc-m41t80.
277caaff562SAtsushi Nemoto
278617780d2SAtsushi Nemotoconfig RTC_DRV_M41T80_WDT
279d3a126fcSSteven A. Falco	bool "ST M41T65/M41T80 series RTC watchdog timer"
280617780d2SAtsushi Nemoto	depends on RTC_DRV_M41T80
281617780d2SAtsushi Nemoto	help
282617780d2SAtsushi Nemoto	  If you say Y here you will get support for the
283d3a126fcSSteven A. Falco	  watchdog timer in the ST M41T60 and M41T80 RTC chips series.
284617780d2SAtsushi Nemoto
2851ce7c83fSPiotr Ziecikconfig RTC_DRV_BQ32K
2861ce7c83fSPiotr Ziecik	tristate "TI BQ32000"
2871ce7c83fSPiotr Ziecik	help
2881ce7c83fSPiotr Ziecik	  If you say Y here you will get support for the TI
2891ce7c83fSPiotr Ziecik	  BQ32000 I2C RTC chip.
2901ce7c83fSPiotr Ziecik
2911ce7c83fSPiotr Ziecik	  This driver can also be built as a module. If so, the module
2921ce7c83fSPiotr Ziecik	  will be called rtc-bq32k.
2931ce7c83fSPiotr Ziecik
294afd8d0f9SDavid Brownellconfig RTC_DRV_DM355EVM
295afd8d0f9SDavid Brownell	tristate "TI DaVinci DM355 EVM RTC"
296afd8d0f9SDavid Brownell	depends on MFD_DM355EVM_MSP
297afd8d0f9SDavid Brownell	help
298afd8d0f9SDavid Brownell	  Supports the RTC firmware in the MSP430 on the DM355 EVM.
299afd8d0f9SDavid Brownell
3000c4a59feSTony Lindgrenconfig RTC_DRV_TWL92330
3010c4a59feSTony Lindgren	boolean "TI TWL92330/Menelaus"
302bb35fb20SJan Engelhardt	depends on MENELAUS
3030c4a59feSTony Lindgren	help
3040c4a59feSTony Lindgren	  If you say yes here you get support for the RTC on the
30501dd2fbfSMatt LaPlante	  TWL92330 "Menelaus" power management chip, used with OMAP2
3060c4a59feSTony Lindgren	  platforms. The support is integrated with the rest of
3070c4a59feSTony Lindgren	  the Menelaus driver; it's not separate module.
3080c4a59feSTony Lindgren
309f96411abSDavid Brownellconfig RTC_DRV_TWL4030
310a6b49ffdSBalaji T K	tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
311f96411abSDavid Brownell	depends on RTC_CLASS && TWL4030_CORE
312f96411abSDavid Brownell	help
313f96411abSDavid Brownell	  If you say yes here you get support for the RTC on the
314a6b49ffdSBalaji T K	  TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
315f96411abSDavid Brownell
316f96411abSDavid Brownell	  This driver can also be built as a module. If so, the module
317a6b49ffdSBalaji T K	  will be called rtc-twl.
318f96411abSDavid Brownell
319c46288b0SByron Bradleyconfig RTC_DRV_S35390A
320c46288b0SByron Bradley	tristate "Seiko Instruments S-35390A"
321d479540dSRandy Dunlap	select BITREVERSE
322c46288b0SByron Bradley	help
323c46288b0SByron Bradley	  If you say yes here you will get support for the Seiko
324c46288b0SByron Bradley	  Instruments S-35390A.
325c46288b0SByron Bradley
326c46288b0SByron Bradley	  This driver can also be built as a module. If so the module
327c46288b0SByron Bradley	  will be called rtc-s35390a.
328c46288b0SByron Bradley
329c6d8f400SSergey Lapinconfig RTC_DRV_FM3130
330c6d8f400SSergey Lapin	tristate "Ramtron FM3130"
331c6d8f400SSergey Lapin	help
332c6d8f400SSergey Lapin	  If you say Y here you will get support for the
333c6d8f400SSergey Lapin	  Ramtron FM3130 RTC chips.
334c6d8f400SSergey Lapin	  Ramtron FM3130 is a chip with two separate devices inside,
335c6d8f400SSergey Lapin	  RTC clock and FRAM. This driver provides only RTC functionality.
336c6d8f400SSergey Lapin
337c6d8f400SSergey Lapin	  This driver can also be built as a module. If so the module
338c6d8f400SSergey Lapin	  will be called rtc-fm3130.
339c6d8f400SSergey Lapin
340a7fa9851SMartyn Welchconfig RTC_DRV_RX8581
341a7fa9851SMartyn Welch	tristate "Epson RX-8581"
342a7fa9851SMartyn Welch	help
343a7fa9851SMartyn Welch	  If you say yes here you will get support for the Epson RX-8581.
344a7fa9851SMartyn Welch
345a7fa9851SMartyn Welch	  This driver can also be built as a module. If so the module
346a7fa9851SMartyn Welch	  will be called rtc-rx8581.
347a7fa9851SMartyn Welch
3483c2b9075SWolfgang Grandeggerconfig RTC_DRV_RX8025
3493c2b9075SWolfgang Grandegger	tristate "Epson RX-8025SA/NB"
3503c2b9075SWolfgang Grandegger	help
3513c2b9075SWolfgang Grandegger	  If you say yes here you get support for the Epson
3523c2b9075SWolfgang Grandegger	  RX-8025SA/NB RTC chips.
3533c2b9075SWolfgang Grandegger
3543c2b9075SWolfgang Grandegger	  This driver can also be built as a module. If so, the module
3553c2b9075SWolfgang Grandegger	  will be called rtc-rx8025.
3563c2b9075SWolfgang Grandegger
357bb35fb20SJan Engelhardtendif # I2C
358bb35fb20SJan Engelhardt
35909a21e56SAlessandro Zummocomment "SPI RTC drivers"
360bb35fb20SJan Engelhardt
361bb35fb20SJan Engelhardtif SPI_MASTER
36209a21e56SAlessandro Zummo
3638fc2c767SKim B. Heinoconfig RTC_DRV_M41T94
3648fc2c767SKim B. Heino	tristate "ST M41T94"
3658fc2c767SKim B. Heino	help
3668fc2c767SKim B. Heino	  If you say yes here you will get support for the
3678fc2c767SKim B. Heino	  ST M41T94 SPI RTC chip.
3688fc2c767SKim B. Heino
3698fc2c767SKim B. Heino	  This driver can also be built as a module. If so, the module
3708fc2c767SKim B. Heino	  will be called rtc-m41t94.
3718fc2c767SKim B. Heino
37253e84b67SDavid Brownellconfig RTC_DRV_DS1305
37353e84b67SDavid Brownell	tristate "Dallas/Maxim DS1305/DS1306"
37453e84b67SDavid Brownell	help
37553e84b67SDavid Brownell	  Select this driver to get support for the Dallas/Maxim DS1305
37653e84b67SDavid Brownell	  and DS1306 real time clock chips. These support a trickle
37753e84b67SDavid Brownell	  charger, alarms, and NVRAM in addition to the clock.
37853e84b67SDavid Brownell
37953e84b67SDavid Brownell	  This driver can also be built as a module. If so, the module
38053e84b67SDavid Brownell	  will be called rtc-ds1305.
38153e84b67SDavid Brownell
38206de1808SMark Jacksonconfig RTC_DRV_DS1390
38306de1808SMark Jackson	tristate "Dallas/Maxim DS1390/93/94"
38406de1808SMark Jackson	help
3857b9b2ef1SAlessandro Zummo	  If you say yes here you get support for the
3867b9b2ef1SAlessandro Zummo	  Dallas/Maxim DS1390/93/94 chips.
38706de1808SMark Jackson
38806de1808SMark Jackson	  This driver only supports the RTC feature, and not other chip
38906de1808SMark Jackson	  features such as alarms and trickle charging.
39006de1808SMark Jackson
39106de1808SMark Jackson	  This driver can also be built as a module. If so, the module
39206de1808SMark Jackson	  will be called rtc-ds1390.
39306de1808SMark Jackson
39409b6bdb3SAlessandro Zummoconfig RTC_DRV_MAX6902
39509b6bdb3SAlessandro Zummo	tristate "Maxim MAX6902"
39609b6bdb3SAlessandro Zummo	help
39709b6bdb3SAlessandro Zummo	  If you say yes here you will get support for the
39809b6bdb3SAlessandro Zummo	  Maxim MAX6902 SPI RTC chip.
39909b6bdb3SAlessandro Zummo
40009b6bdb3SAlessandro Zummo	  This driver can also be built as a module. If so, the module
40109b6bdb3SAlessandro Zummo	  will be called rtc-max6902.
40209b6bdb3SAlessandro Zummo
4032805b969SMagnus Dammconfig RTC_DRV_R9701
4042805b969SMagnus Damm	tristate "Epson RTC-9701JE"
4052805b969SMagnus Damm	help
4062805b969SMagnus Damm	  If you say yes here you will get support for the
4072805b969SMagnus Damm	  Epson RTC-9701JE SPI RTC chip.
4082805b969SMagnus Damm
4092805b969SMagnus Damm	  This driver can also be built as a module. If so, the module
4102805b969SMagnus Damm	  will be called rtc-r9701.
4112805b969SMagnus Damm
41209a21e56SAlessandro Zummoconfig RTC_DRV_RS5C348
41309a21e56SAlessandro Zummo	tristate "Ricoh RS5C348A/B"
41409a21e56SAlessandro Zummo	help
41509a21e56SAlessandro Zummo	  If you say yes here you get support for the
41609a21e56SAlessandro Zummo	  Ricoh RS5C348A and RS5C348B RTC chips.
41709a21e56SAlessandro Zummo
41809a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
41909a21e56SAlessandro Zummo	  will be called rtc-rs5c348.
42009a21e56SAlessandro Zummo
4212f9b75e0SDennis Aberillaconfig RTC_DRV_DS3234
4222f9b75e0SDennis Aberilla	tristate "Maxim/Dallas DS3234"
4232f9b75e0SDennis Aberilla	help
4242f9b75e0SDennis Aberilla	  If you say yes here you get support for the
4252f9b75e0SDennis Aberilla	  Maxim/Dallas DS3234 SPI RTC chip.
4262f9b75e0SDennis Aberilla
4272f9b75e0SDennis Aberilla	  This driver can also be built as a module. If so, the module
4282f9b75e0SDennis Aberilla	  will be called rtc-ds3234.
4292f9b75e0SDennis Aberilla
4307f3923a1SChris Vergesconfig RTC_DRV_PCF2123
4317f3923a1SChris Verges	tristate "NXP PCF2123"
4327f3923a1SChris Verges	help
4337f3923a1SChris Verges	  If you say yes here you get support for the NXP PCF2123
4347f3923a1SChris Verges	  RTC chip.
4357f3923a1SChris Verges
4367f3923a1SChris Verges	  This driver can also be built as a module. If so, the module
4377f3923a1SChris Verges	  will be called rtc-pcf2123.
4387f3923a1SChris Verges
439bb35fb20SJan Engelhardtendif # SPI_MASTER
440bb35fb20SJan Engelhardt
44109a21e56SAlessandro Zummocomment "Platform RTC drivers"
4420c86edc0SAlessandro Zummo
4437be2c7c9SDavid Brownell# this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h>
4447be2c7c9SDavid Brownell# requires <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
4457be2c7c9SDavid Brownell# global rtc_lock ... it's not yet just another platform_device.
4467be2c7c9SDavid Brownell
4477be2c7c9SDavid Brownellconfig RTC_DRV_CMOS
44809a21e56SAlessandro Zummo	tristate "PC-style 'CMOS'"
4495ec87708SAndrew Morton	depends on X86 || ALPHA || ARM || M32R || ATARI || PPC || MIPS || SPARC64
450c7500900SDavid Brownell	default y if X86
4517be2c7c9SDavid Brownell	help
4527be2c7c9SDavid Brownell	  Say "yes" here to get direct support for the real time clock
4537be2c7c9SDavid Brownell	  found in every PC or ACPI-based system, and some other boards.
4547be2c7c9SDavid Brownell	  Specifically the original MC146818, compatibles like those in
4557be2c7c9SDavid Brownell	  PC south bridges, the DS12887 or M48T86, some multifunction
4567be2c7c9SDavid Brownell	  or LPC bus chips, and so on.
4577be2c7c9SDavid Brownell
4587be2c7c9SDavid Brownell	  Your system will need to define the platform device used by
4597be2c7c9SDavid Brownell	  this driver, otherwise it won't be accessible. This means
4607be2c7c9SDavid Brownell	  you can safely enable this driver if you don't know whether
4617be2c7c9SDavid Brownell	  or not your board has this kind of hardware.
4627be2c7c9SDavid Brownell
4637be2c7c9SDavid Brownell	  This driver can also be built as a module. If so, the module
4647be2c7c9SDavid Brownell	  will be called rtc-cmos.
4657be2c7c9SDavid Brownell
4660146f261SFeng Tangconfig RTC_DRV_VRTC
4670146f261SFeng Tang	tristate "Virtual RTC for Moorestown platforms"
4680146f261SFeng Tang	depends on X86_MRST
4690146f261SFeng Tang	default y if X86_MRST
4700146f261SFeng Tang
4710146f261SFeng Tang	help
4720146f261SFeng Tang	Say "yes" here to get direct support for the real time clock
4730146f261SFeng Tang	found on Moorestown platforms. The VRTC is a emulated RTC that
4740146f261SFeng Tang	derives its clock source from a real RTC in the PMIC. The MC146818
4750146f261SFeng Tang	style programming interface is mostly conserved, but any
4760146f261SFeng Tang	updates are done via IPC calls to the system controller FW.
4770146f261SFeng Tang
478537739deSThomas Bogendoerferconfig RTC_DRV_DS1216
479537739deSThomas Bogendoerfer	tristate "Dallas DS1216"
480bb35fb20SJan Engelhardt	depends on SNI_RM
481537739deSThomas Bogendoerfer	help
482537739deSThomas Bogendoerfer	  If you say yes here you get support for the Dallas DS1216 RTC chips.
483537739deSThomas Bogendoerfer
4845f119f29SThomas Bogendoerferconfig RTC_DRV_DS1286
4855f119f29SThomas Bogendoerfer	tristate "Dallas DS1286"
4865f119f29SThomas Bogendoerfer	help
4875f119f29SThomas Bogendoerfer	  If you say yes here you get support for the Dallas DS1286 RTC chips.
4885f119f29SThomas Bogendoerfer
489739d340dSPaul Mundtconfig RTC_DRV_DS1302
490739d340dSPaul Mundt	tristate "Dallas DS1302"
491739d340dSPaul Mundt	depends on SH_SECUREEDGE5410
492739d340dSPaul Mundt	help
493739d340dSPaul Mundt	  If you say yes here you get support for the Dallas DS1302 RTC chips.
494739d340dSPaul Mundt
4958f26795aSAndrew Sharpconfig RTC_DRV_DS1511
4968f26795aSAndrew Sharp	tristate "Dallas DS1511"
4978f26795aSAndrew Sharp	depends on RTC_CLASS
4988f26795aSAndrew Sharp	help
4998f26795aSAndrew Sharp	  If you say yes here you get support for the
5008f26795aSAndrew Sharp	  Dallas DS1511 timekeeping/watchdog chip.
5018f26795aSAndrew Sharp
5028f26795aSAndrew Sharp	  This driver can also be built as a module. If so, the module
5038f26795aSAndrew Sharp	  will be called rtc-ds1511.
5048f26795aSAndrew Sharp
5059bf5b4f5SAtsushi Nemotoconfig RTC_DRV_DS1553
50609b6bdb3SAlessandro Zummo	tristate "Maxim/Dallas DS1553"
5079bf5b4f5SAtsushi Nemoto	help
5089bf5b4f5SAtsushi Nemoto	  If you say yes here you get support for the
50909b6bdb3SAlessandro Zummo	  Maxim/Dallas DS1553 timekeeping chip.
5109bf5b4f5SAtsushi Nemoto
5119bf5b4f5SAtsushi Nemoto	  This driver can also be built as a module. If so, the module
5129bf5b4f5SAtsushi Nemoto	  will be called rtc-ds1553.
5139bf5b4f5SAtsushi Nemoto
51409b6bdb3SAlessandro Zummoconfig RTC_DRV_DS1742
51509b6bdb3SAlessandro Zummo	tristate "Maxim/Dallas DS1742/1743"
51609b6bdb3SAlessandro Zummo	help
51709b6bdb3SAlessandro Zummo	  If you say yes here you get support for the
51809b6bdb3SAlessandro Zummo	  Maxim/Dallas DS1742/1743 timekeeping chip.
51909b6bdb3SAlessandro Zummo
52009b6bdb3SAlessandro Zummo	  This driver can also be built as a module. If so, the module
52109b6bdb3SAlessandro Zummo	  will be called rtc-ds1742.
52209b6bdb3SAlessandro Zummo
5235e3fd9e5Sdann frazierconfig RTC_DRV_EFI
5245e3fd9e5Sdann frazier	tristate "EFI RTC"
5255e3fd9e5Sdann frazier	depends on IA64
5265e3fd9e5Sdann frazier	help
5275e3fd9e5Sdann frazier	  If you say yes here you will get support for the EFI
5285e3fd9e5Sdann frazier	  Real Time Clock.
5295e3fd9e5Sdann frazier
5305e3fd9e5Sdann frazier	  This driver can also be built as a module. If so, the module
5315e3fd9e5Sdann frazier	  will be called rtc-efi.
5325e3fd9e5Sdann frazier
53302964115SThomas Hommelconfig RTC_DRV_STK17TA8
53402964115SThomas Hommel	tristate "Simtek STK17TA8"
53502964115SThomas Hommel	depends on RTC_CLASS
53602964115SThomas Hommel	help
53702964115SThomas Hommel	  If you say yes here you get support for the
53802964115SThomas Hommel	  Simtek STK17TA8 timekeeping chip.
53902964115SThomas Hommel
54002964115SThomas Hommel	  This driver can also be built as a module. If so, the module
54102964115SThomas Hommel	  will be called rtc-stk17ta8.
54202964115SThomas Hommel
54309a21e56SAlessandro Zummoconfig RTC_DRV_M48T86
54409a21e56SAlessandro Zummo	tristate "ST M48T86/Dallas DS12887"
54509a21e56SAlessandro Zummo	help
54609a21e56SAlessandro Zummo	  If you say Y here you will get support for the
54709a21e56SAlessandro Zummo	  ST M48T86 and Dallas DS12887 RTC chips.
54809a21e56SAlessandro Zummo
54909a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
55009a21e56SAlessandro Zummo	  will be called rtc-m48t86.
55109a21e56SAlessandro Zummo
552d1dbd82eSThomas Bogendoerferconfig RTC_DRV_M48T35
553d1dbd82eSThomas Bogendoerfer	tristate "ST M48T35"
554d1dbd82eSThomas Bogendoerfer	help
555d1dbd82eSThomas Bogendoerfer	  If you say Y here you will get support for the
556d1dbd82eSThomas Bogendoerfer	  ST M48T35 RTC chip.
557d1dbd82eSThomas Bogendoerfer
558d1dbd82eSThomas Bogendoerfer	  This driver can also be built as a module, if so, the module
559d1dbd82eSThomas Bogendoerfer	  will be called "rtc-m48t35".
560d1dbd82eSThomas Bogendoerfer
5612e774c7cSMark Zhanconfig RTC_DRV_M48T59
56294fe7424SKrzysztof Helt	tristate "ST M48T59/M48T08/M48T02"
5632e774c7cSMark Zhan	help
5642e774c7cSMark Zhan	  If you say Y here you will get support for the
56594fe7424SKrzysztof Helt	  ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
56694fe7424SKrzysztof Helt
56794fe7424SKrzysztof Helt	  These chips are usually found in Sun SPARC and UltraSPARC
56894fe7424SKrzysztof Helt	  workstations.
5692e774c7cSMark Zhan
5702e774c7cSMark Zhan	  This driver can also be built as a module, if so, the module
5712e774c7cSMark Zhan	  will be called "rtc-m48t59".
5722e774c7cSMark Zhan
5734f9b9bbaSGeert Uytterhoevenconfig RTC_DRV_MSM6242
5744f9b9bbaSGeert Uytterhoeven	tristate "Oki MSM6242"
5754f9b9bbaSGeert Uytterhoeven	help
5764f9b9bbaSGeert Uytterhoeven	  If you say yes here you get support for the Oki MSM6242
5774f9b9bbaSGeert Uytterhoeven	  timekeeping chip. It is used in some Amiga models (e.g. A2000).
5784f9b9bbaSGeert Uytterhoeven
5794f9b9bbaSGeert Uytterhoeven	  This driver can also be built as a module. If so, the module
5804f9b9bbaSGeert Uytterhoeven	  will be called rtc-msm6242.
5814f9b9bbaSGeert Uytterhoeven
582eba54546SBaruch Siachconfig RTC_DRV_IMXDI
583eba54546SBaruch Siach	tristate "Freescale IMX DryIce Real Time Clock"
584eba54546SBaruch Siach	depends on ARCH_MX25
585eba54546SBaruch Siach	depends on RTC_CLASS
586eba54546SBaruch Siach	help
587eba54546SBaruch Siach	   Support for Freescale IMX DryIce RTC
588eba54546SBaruch Siach
589eba54546SBaruch Siach	   This driver can also be built as a module, if so, the module
590eba54546SBaruch Siach	   will be called "rtc-imxdi".
591eba54546SBaruch Siach
592d00ed3cfSDaniel Mackconfig RTC_MXC
593d00ed3cfSDaniel Mack	tristate "Freescale MXC Real Time Clock"
594d00ed3cfSDaniel Mack	depends on ARCH_MXC
595d00ed3cfSDaniel Mack	depends on RTC_CLASS
596d00ed3cfSDaniel Mack	help
597d00ed3cfSDaniel Mack	   If you say yes here you get support for the Freescale MXC
598d00ed3cfSDaniel Mack	   RTC module.
599d00ed3cfSDaniel Mack
600d00ed3cfSDaniel Mack	   This driver can also be built as a module, if so, the module
601d00ed3cfSDaniel Mack	   will be called "rtc-mxc".
602d00ed3cfSDaniel Mack
603cca4c231SDavid S. Millerconfig RTC_DRV_BQ4802
604cca4c231SDavid S. Miller	tristate "TI BQ4802"
605cca4c231SDavid S. Miller	help
606cca4c231SDavid S. Miller	  If you say Y here you will get support for the TI
607cca4c231SDavid S. Miller	  BQ4802 RTC chip.
608cca4c231SDavid S. Miller
609cca4c231SDavid S. Miller	  This driver can also be built as a module. If so, the module
610cca4c231SDavid S. Miller	  will be called rtc-bq4802.
611cca4c231SDavid S. Miller
6124f672ce2SGeert Uytterhoevenconfig RTC_DRV_RP5C01
6134f672ce2SGeert Uytterhoeven	tristate "Ricoh RP5C01"
6144f672ce2SGeert Uytterhoeven	help
6154f672ce2SGeert Uytterhoeven	  If you say yes here you get support for the Ricoh RP5C01
6164f672ce2SGeert Uytterhoeven	  timekeeping chip. It is used in some Amiga models (e.g. A3000
6174f672ce2SGeert Uytterhoeven	  and A4000).
6184f672ce2SGeert Uytterhoeven
6194f672ce2SGeert Uytterhoeven	  This driver can also be built as a module. If so, the module
6204f672ce2SGeert Uytterhoeven	  will be called rtc-rp5c01.
6214f672ce2SGeert Uytterhoeven
62209a21e56SAlessandro Zummoconfig RTC_DRV_V3020
62309a21e56SAlessandro Zummo	tristate "EM Microelectronic V3020"
62409a21e56SAlessandro Zummo	help
62509a21e56SAlessandro Zummo	  If you say yes here you will get support for the
62609a21e56SAlessandro Zummo	  EM Microelectronic v3020 RTC chip.
62709a21e56SAlessandro Zummo
62809a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
62909a21e56SAlessandro Zummo	  will be called rtc-v3020.
63009a21e56SAlessandro Zummo
63135c86bf6SMark Brownconfig RTC_DRV_WM831X
63235c86bf6SMark Brown	tristate "Wolfson Microelectronics WM831x RTC"
63335c86bf6SMark Brown	depends on MFD_WM831X
63435c86bf6SMark Brown	help
63535c86bf6SMark Brown	  If you say yes here you will get support for the RTC subsystem
63635c86bf6SMark Brown	  of the Wolfson Microelectronics WM831X series PMICs.
63735c86bf6SMark Brown
63835c86bf6SMark Brown	  This driver can also be built as a module. If so, the module
63935c86bf6SMark Brown	  will be called "rtc-wm831x".
64035c86bf6SMark Brown
641077eaf5bSMark Brownconfig RTC_DRV_WM8350
642077eaf5bSMark Brown	tristate "Wolfson Microelectronics WM8350 RTC"
643077eaf5bSMark Brown	depends on MFD_WM8350
644077eaf5bSMark Brown	help
645077eaf5bSMark Brown	  If you say yes here you will get support for the RTC subsystem
646077eaf5bSMark Brown	  of the Wolfson Microelectronics WM8350.
647077eaf5bSMark Brown
648077eaf5bSMark Brown	  This driver can also be built as a module. If so, the module
649077eaf5bSMark Brown	  will be called "rtc-wm8350".
650077eaf5bSMark Brown
651eae854b2SBalaji Raoconfig RTC_DRV_PCF50633
652eae854b2SBalaji Rao	depends on MFD_PCF50633
653eae854b2SBalaji Rao	tristate "NXP PCF50633 RTC"
654eae854b2SBalaji Rao	help
655eae854b2SBalaji Rao	  If you say yes here you get support for the RTC subsystem of the
656eae854b2SBalaji Rao	  NXP PCF50633 used in embedded systems.
657eae854b2SBalaji Rao
658bd207cfbSLinus Walleijconfig RTC_DRV_AB3100
659bd207cfbSLinus Walleij	tristate "ST-Ericsson AB3100 RTC"
660bd207cfbSLinus Walleij	depends on AB3100_CORE
661bd207cfbSLinus Walleij	default y if AB3100_CORE
662bd207cfbSLinus Walleij	help
663bd207cfbSLinus Walleij	  Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
664bd207cfbSLinus Walleij	  support. This chip contains a battery- and capacitor-backed RTC.
665bd207cfbSLinus Walleij
6660af62f4dSVirupax Sadashivpetimathconfig RTC_DRV_AB8500
6670af62f4dSVirupax Sadashivpetimath	tristate "ST-Ericsson AB8500 RTC"
6680af62f4dSVirupax Sadashivpetimath	depends on AB8500_CORE
6690af62f4dSVirupax Sadashivpetimath	help
6700af62f4dSVirupax Sadashivpetimath	  Select this to enable the ST-Ericsson AB8500 power management IC RTC
6710af62f4dSVirupax Sadashivpetimath	  support. This chip contains a battery- and capacitor-backed RTC.
6720af62f4dSVirupax Sadashivpetimath
673afd49a7eSWan ZongShunconfig RTC_DRV_NUC900
674afd49a7eSWan ZongShun	tristate "NUC910/NUC920 RTC driver"
675afd49a7eSWan ZongShun	depends on RTC_CLASS && ARCH_W90X900
676afd49a7eSWan ZongShun	help
677afd49a7eSWan ZongShun	  If you say yes here you get support for the RTC subsystem of the
678afd49a7eSWan ZongShun	  NUC910/NUC920 used in embedded systems.
679bd207cfbSLinus Walleij
68009a21e56SAlessandro Zummocomment "on-CPU RTC drivers"
68109a21e56SAlessandro Zummo
6828ecf6c54SMiguel Aguilarconfig RTC_DRV_DAVINCI
6838ecf6c54SMiguel Aguilar	tristate "TI DaVinci RTC"
6848ecf6c54SMiguel Aguilar	depends on ARCH_DAVINCI_DM365
6858ecf6c54SMiguel Aguilar	help
6868ecf6c54SMiguel Aguilar	  If you say yes here you get support for the RTC on the
6878ecf6c54SMiguel Aguilar	  DaVinci platforms (DM365).
6888ecf6c54SMiguel Aguilar
6898ecf6c54SMiguel Aguilar	  This driver can also be built as a module. If so, the module
6908ecf6c54SMiguel Aguilar	  will be called rtc-davinci.
6918ecf6c54SMiguel Aguilar
692db68b189SDavid Brownellconfig RTC_DRV_OMAP
693db68b189SDavid Brownell	tristate "TI OMAP1"
6948cfde8c1SMark A. Greer	depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730 || ARCH_DAVINCI_DA8XX
695db68b189SDavid Brownell	help
6968cfde8c1SMark A. Greer	  Say "yes" here to support the real time clock on TI OMAP1 and
6978cfde8c1SMark A. Greer	  DA8xx/OMAP-L13x chips.  This driver can also be built as a
6988cfde8c1SMark A. Greer	  module called rtc-omap.
699db68b189SDavid Brownell
70016f4efe7SAtul Dahiyaconfig HAVE_S3C_RTC
70116f4efe7SAtul Dahiya	bool
70216f4efe7SAtul Dahiya	help
70316f4efe7SAtul Dahiya	  This will include RTC support for Samsung SoCs. If
70416f4efe7SAtul Dahiya	  you want to include RTC support for any machine, kindly
70516f4efe7SAtul Dahiya	  select this in the respective mach-XXXX/Kconfig file.
70616f4efe7SAtul Dahiya
7071add6781SBen Dooksconfig RTC_DRV_S3C
7081add6781SBen Dooks	tristate "Samsung S3C series SoC RTC"
70916f4efe7SAtul Dahiya	depends on ARCH_S3C2410 || ARCH_S3C64XX || HAVE_S3C_RTC
7101add6781SBen Dooks	help
7111add6781SBen Dooks	  RTC (Realtime Clock) driver for the clock inbuilt into the
7121add6781SBen Dooks	  Samsung S3C24XX series of SoCs. This can provide periodic
7131add6781SBen Dooks	  interrupt rates from 1Hz to 64Hz for user programs, and
7141add6781SBen Dooks	  wakeup from Alarm.
7151add6781SBen Dooks
7161add6781SBen Dooks	  The driver currently supports the common features on all the
7171add6781SBen Dooks	  S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
7181add6781SBen Dooks	  and S3C2442.
7191add6781SBen Dooks
7201add6781SBen Dooks	  This driver can also be build as a module. If so, the module
7211add6781SBen Dooks	  will be called rtc-s3c.
7221add6781SBen Dooks
723fd507e2fSAlessandro Zummoconfig RTC_DRV_EP93XX
724fd507e2fSAlessandro Zummo	tristate "Cirrus Logic EP93XX"
725bb35fb20SJan Engelhardt	depends on ARCH_EP93XX
726fd507e2fSAlessandro Zummo	help
727fd507e2fSAlessandro Zummo	  If you say yes here you get support for the
728fd507e2fSAlessandro Zummo	  RTC embedded in the Cirrus Logic EP93XX processors.
729fd507e2fSAlessandro Zummo
730fd507e2fSAlessandro Zummo	  This driver can also be built as a module. If so, the module
731fd507e2fSAlessandro Zummo	  will be called rtc-ep93xx.
732fd507e2fSAlessandro Zummo
733e842f1c8SRichard Purdieconfig RTC_DRV_SA1100
734e842f1c8SRichard Purdie	tristate "SA11x0/PXA2xx"
735bb35fb20SJan Engelhardt	depends on ARCH_SA1100 || ARCH_PXA
736e842f1c8SRichard Purdie	help
737e842f1c8SRichard Purdie	  If you say Y here you will get access to the real time clock
738e842f1c8SRichard Purdie	  built into your SA11x0 or PXA2xx CPU.
739e842f1c8SRichard Purdie
740e842f1c8SRichard Purdie	  To compile this driver as a module, choose M here: the
741e842f1c8SRichard Purdie	  module will be called rtc-sa1100.
742fd507e2fSAlessandro Zummo
743317a6104SPaul Mundtconfig RTC_DRV_SH
744317a6104SPaul Mundt	tristate "SuperH On-Chip RTC"
745063adc75SPaul Mundt	depends on RTC_CLASS && SUPERH && HAVE_CLK
746317a6104SPaul Mundt	help
747317a6104SPaul Mundt	  Say Y here to enable support for the on-chip RTC found in
748317a6104SPaul Mundt	  most SuperH processors.
749317a6104SPaul Mundt
750317a6104SPaul Mundt 	  To compile this driver as a module, choose M here: the
751317a6104SPaul Mundt	  module will be called rtc-sh.
752317a6104SPaul Mundt
7538417eb7aSYoichi Yuasaconfig RTC_DRV_VR41XX
7543e16f6afSAlessandro Zummo	tristate "NEC VR41XX"
755bb35fb20SJan Engelhardt	depends on CPU_VR41XX
7563e16f6afSAlessandro Zummo	help
7573e16f6afSAlessandro Zummo	  If you say Y here you will get access to the real time clock
7583e16f6afSAlessandro Zummo	  built into your NEC VR41XX CPU.
7593e16f6afSAlessandro Zummo
7603e16f6afSAlessandro Zummo	  To compile this driver as a module, choose M here: the
7613e16f6afSAlessandro Zummo	  module will be called rtc-vr41xx.
7628417eb7aSYoichi Yuasa
763a190901cSRussell Kingconfig RTC_DRV_PL030
764a190901cSRussell King	tristate "ARM AMBA PL030 RTC"
765a190901cSRussell King	depends on ARM_AMBA
766a190901cSRussell King	help
767a190901cSRussell King	  If you say Y here you will get access to ARM AMBA
768a190901cSRussell King	  PrimeCell PL030 RTC found on certain ARM SOCs.
769a190901cSRussell King
770a190901cSRussell King	  To compile this driver as a module, choose M here: the
771a190901cSRussell King	  module will be called rtc-pl030.
772a190901cSRussell King
7738ae6e163SDeepak Saxenaconfig RTC_DRV_PL031
7748ae6e163SDeepak Saxena	tristate "ARM AMBA PL031 RTC"
775bb35fb20SJan Engelhardt	depends on ARM_AMBA
7768ae6e163SDeepak Saxena	help
7778ae6e163SDeepak Saxena	  If you say Y here you will get access to ARM AMBA
77809a21e56SAlessandro Zummo	  PrimeCell PL031 RTC found on certain ARM SOCs.
7798ae6e163SDeepak Saxena
7808ae6e163SDeepak Saxena	  To compile this driver as a module, choose M here: the
7818ae6e163SDeepak Saxena	  module will be called rtc-pl031.
7828ae6e163SDeepak Saxena
783fa04e78bSHans-Christian Egtvedtconfig RTC_DRV_AT32AP700X
784fa04e78bSHans-Christian Egtvedt	tristate "AT32AP700X series RTC"
785bb35fb20SJan Engelhardt	depends on PLATFORM_AT32AP
786fa04e78bSHans-Christian Egtvedt	help
787fa04e78bSHans-Christian Egtvedt	  Driver for the internal RTC (Realtime Clock) on Atmel AVR32
788fa04e78bSHans-Christian Egtvedt	  AT32AP700x family processors.
789fa04e78bSHans-Christian Egtvedt
7907fc39f6dSAndrew Victorconfig RTC_DRV_AT91RM9200
79124cecc1bSNicolas Ferre	tristate "AT91RM9200 or some AT91SAM9 RTC"
79224cecc1bSNicolas Ferre	depends on ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9G45
793788b1fc6SAndrew Victor	help
7944cdf854fSDavid Brownell	  Driver for the internal RTC (Realtime Clock) module found on
79524cecc1bSNicolas Ferre	  Atmel AT91RM9200's and some  AT91SAM9 chips. On AT91SAM9 chips
7964cdf854fSDavid Brownell	  this is powered by the backup power supply.
7974cdf854fSDavid Brownell
7984cdf854fSDavid Brownellconfig RTC_DRV_AT91SAM9
79924cecc1bSNicolas Ferre	tristate "AT91SAM9x/AT91CAP9 RTT as RTC"
8004cdf854fSDavid Brownell	depends on ARCH_AT91 && !(ARCH_AT91RM9200 || ARCH_AT91X40)
8014cdf854fSDavid Brownell	help
8026b71dbf6SStelian Pop	  RTC driver for the Atmel AT91SAM9x and AT91CAP9 internal RTT
8036b71dbf6SStelian Pop	  (Real Time Timer). These timers are powered by the backup power
8046b71dbf6SStelian Pop	  supply (such as a small coin cell battery), but do not need to
8056b71dbf6SStelian Pop	  be used as RTCs.
8064cdf854fSDavid Brownell
80724cecc1bSNicolas Ferre	  (On AT91SAM9rl and AT91SAM9G45 chips you probably want to use the
80824cecc1bSNicolas Ferre	  dedicated RTC module and leave the RTT available for other uses.)
8094cdf854fSDavid Brownell
8104cdf854fSDavid Brownellconfig RTC_DRV_AT91SAM9_RTT
8114cdf854fSDavid Brownell	int
8124cdf854fSDavid Brownell	range 0 1
8134cdf854fSDavid Brownell	default 0
8144cdf854fSDavid Brownell	prompt "RTT module Number" if ARCH_AT91SAM9263
8154cdf854fSDavid Brownell	depends on RTC_DRV_AT91SAM9
8164cdf854fSDavid Brownell	help
8174cdf854fSDavid Brownell	  More than one RTT module is available. You can choose which
8184cdf854fSDavid Brownell	  one will be used as an RTC. The default of zero is normally
8194cdf854fSDavid Brownell	  OK to use, though some systems use that for non-RTC purposes.
8204cdf854fSDavid Brownell
8214cdf854fSDavid Brownellconfig RTC_DRV_AT91SAM9_GPBR
8224cdf854fSDavid Brownell	int
8234cdf854fSDavid Brownell	range 0 3 if !ARCH_AT91SAM9263
8244cdf854fSDavid Brownell	range 0 15 if ARCH_AT91SAM9263
8254cdf854fSDavid Brownell	default 0
8264cdf854fSDavid Brownell	prompt "Backup Register Number"
8274cdf854fSDavid Brownell	depends on RTC_DRV_AT91SAM9
8284cdf854fSDavid Brownell	help
8294cdf854fSDavid Brownell	  The RTC driver needs to use one of the General Purpose Backup
8304cdf854fSDavid Brownell	  Registers (GPBRs) as well as the RTT. You can choose which one
8314cdf854fSDavid Brownell	  will be used. The default of zero is normally OK to use, but
8324cdf854fSDavid Brownell	  on some systems other software needs to use that register.
833788b1fc6SAndrew Victor
83445fd8a0cSManuel Laussconfig RTC_DRV_AU1XXX
83545fd8a0cSManuel Lauss	tristate "Au1xxx Counter0 RTC support"
83642a4f17dSManuel Lauss	depends on MIPS_ALCHEMY
83745fd8a0cSManuel Lauss	help
83845fd8a0cSManuel Lauss	  This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
83945fd8a0cSManuel Lauss	  counter) to be used as a RTC.
84045fd8a0cSManuel Lauss
84145fd8a0cSManuel Lauss	  This driver can also be built as a module. If so, the module
84245fd8a0cSManuel Lauss	  will be called rtc-au1xxx.
84345fd8a0cSManuel Lauss
8448cc75c9aSWu, Bryanconfig RTC_DRV_BFIN
8458cc75c9aSWu, Bryan	tristate "Blackfin On-Chip RTC"
8467f604599SGraf Yang	depends on BLACKFIN && !BF561
8478cc75c9aSWu, Bryan	help
8488cc75c9aSWu, Bryan	  If you say yes here you will get support for the
8498cc75c9aSWu, Bryan	  Blackfin On-Chip Real Time Clock.
8508cc75c9aSWu, Bryan
8518cc75c9aSWu, Bryan	  This driver can also be built as a module. If so, the module
8528cc75c9aSWu, Bryan	  will be called rtc-bfin.
8538cc75c9aSWu, Bryan
854e9f2bd81SNobuhiro Iwamatsuconfig RTC_DRV_RS5C313
855e9f2bd81SNobuhiro Iwamatsu	tristate "Ricoh RS5C313"
856bb35fb20SJan Engelhardt	depends on SH_LANDISK
857e9f2bd81SNobuhiro Iwamatsu	help
858e9f2bd81SNobuhiro Iwamatsu	  If you say yes here you get support for the Ricoh RS5C313 RTC chips.
859e9f2bd81SNobuhiro Iwamatsu
8603afe6d04SGeert Uytterhoevenconfig RTC_DRV_GENERIC
8613afe6d04SGeert Uytterhoeven	tristate "Generic RTC support"
8623afe6d04SGeert Uytterhoeven	# Please consider writing a new RTC driver instead of using the generic
8633afe6d04SGeert Uytterhoeven	# RTC abstraction
86447c8a08bSPaul Mundt	depends on PARISC || M68K || PPC || SUPERH32
8659eb16864SKyle McMartin	help
8663afe6d04SGeert Uytterhoeven	  Say Y or M here to enable RTC support on systems using the generic
8673afe6d04SGeert Uytterhoeven	  RTC abstraction. If you do not know what you are doing, you should
8689eb16864SKyle McMartin	  just say Y.
8699eb16864SKyle McMartin
870dc944368SRobert Jarzmikconfig RTC_DRV_PXA
871dc944368SRobert Jarzmik       tristate "PXA27x/PXA3xx"
872dc944368SRobert Jarzmik       depends on ARCH_PXA
873dc944368SRobert Jarzmik       help
874dc944368SRobert Jarzmik         If you say Y here you will get access to the real time clock
875dc944368SRobert Jarzmik         built into your PXA27x or PXA3xx CPU.
876dc944368SRobert Jarzmik
877dc944368SRobert Jarzmik         This RTC driver uses PXA RTC registers available since pxa27x
878dc944368SRobert Jarzmik         series (RDxR, RYxR) instead of legacy RCNR, RTAR.
879dc944368SRobert Jarzmik
880dc944368SRobert Jarzmik
8817a138edeSDavid S. Millerconfig RTC_DRV_SUN4V
8827a138edeSDavid S. Miller	bool "SUN4V Hypervisor RTC"
8837a138edeSDavid S. Miller	depends on SPARC64
8847a138edeSDavid S. Miller	help
8857a138edeSDavid S. Miller	  If you say Y here you will get support for the Hypervisor
8867a138edeSDavid S. Miller	  based RTC on SUN4V systems.
8877a138edeSDavid S. Miller
888de2cf332SDavid S. Millerconfig RTC_DRV_STARFIRE
889de2cf332SDavid S. Miller	bool "Starfire RTC"
890de2cf332SDavid S. Miller	depends on SPARC64
891de2cf332SDavid S. Miller	help
892de2cf332SDavid S. Miller	  If you say Y here you will get support for the RTC found on
893de2cf332SDavid S. Miller	  Starfire systems.
894de2cf332SDavid S. Miller
8950e149233SAtsushi Nemotoconfig RTC_DRV_TX4939
8960e149233SAtsushi Nemoto	tristate "TX4939 SoC"
8970e149233SAtsushi Nemoto	depends on SOC_TX4939
8980e149233SAtsushi Nemoto	help
8990e149233SAtsushi Nemoto	  Driver for the internal RTC (Realtime Clock) module found on
9000e149233SAtsushi Nemoto	  Toshiba TX4939 SoC.
9010e149233SAtsushi Nemoto
902defb4514SSaeed Bisharaconfig RTC_DRV_MV
903defb4514SSaeed Bishara	tristate "Marvell SoC RTC"
904da43243eSSaeed Bishara	depends on ARCH_KIRKWOOD || ARCH_DOVE
905defb4514SSaeed Bishara	help
906defb4514SSaeed Bishara	  If you say yes here you will get support for the in-chip RTC
907defb4514SSaeed Bishara	  that can be found in some of Marvell's SoC devices, such as
908defb4514SSaeed Bishara	  the Kirkwood 88F6281 and 88F6192.
909defb4514SSaeed Bishara
910defb4514SSaeed Bishara	  This driver can also be built as a module. If so, the module
911defb4514SSaeed Bishara	  will be called rtc-mv.
912defb4514SSaeed Bishara
9130b5f037aSGeert Uytterhoevenconfig RTC_DRV_PS3
9140b5f037aSGeert Uytterhoeven	tristate "PS3 RTC"
9150b5f037aSGeert Uytterhoeven	depends on PPC_PS3
9160b5f037aSGeert Uytterhoeven	help
9170b5f037aSGeert Uytterhoeven	  If you say yes here you will get support for the RTC on PS3.
9180b5f037aSGeert Uytterhoeven
9190b5f037aSGeert Uytterhoeven	  This driver can also be built as a module. If so, the module
9200b5f037aSGeert Uytterhoeven	  will be called rtc-ps3.
9210b5f037aSGeert Uytterhoeven
922aa958f57SLinus Walleijconfig RTC_DRV_COH901331
923aa958f57SLinus Walleij	tristate "ST-Ericsson COH 901 331 RTC"
924aa958f57SLinus Walleij	depends on ARCH_U300
925aa958f57SLinus Walleij	help
926aa958f57SLinus Walleij	  If you say Y here you will get access to ST-Ericsson
927aa958f57SLinus Walleij	  COH 901 331 RTC clock found in some ST-Ericsson Mobile
928aa958f57SLinus Walleij	  Platforms.
929aa958f57SLinus Walleij
930aa958f57SLinus Walleij	  This driver can also be built as a module. If so, the module
931aa958f57SLinus Walleij	  will be called "rtc-coh901331".
932aa958f57SLinus Walleij
933aa958f57SLinus Walleij
934df17f631Sdmitry pervushinconfig RTC_DRV_STMP
935df17f631Sdmitry pervushin	tristate "Freescale STMP3xxx RTC"
936df17f631Sdmitry pervushin	depends on ARCH_STMP3XXX
937df17f631Sdmitry pervushin	help
938df17f631Sdmitry pervushin	  If you say yes here you will get support for the onboard
939df17f631Sdmitry pervushin	  STMP3xxx RTC.
940df17f631Sdmitry pervushin
941df17f631Sdmitry pervushin	  This driver can also be built as a module. If so, the module
942df17f631Sdmitry pervushin	  will be called rtc-stmp3xxx.
943df17f631Sdmitry pervushin
944d3c7a3f7SDaniel Ribeiroconfig RTC_DRV_PCAP
945d3c7a3f7SDaniel Ribeiro	tristate "PCAP RTC"
946d3c7a3f7SDaniel Ribeiro	depends on EZX_PCAP
947d3c7a3f7SDaniel Ribeiro	help
948d3c7a3f7SDaniel Ribeiro	  If you say Y here you will get support for the RTC found on
949d3c7a3f7SDaniel Ribeiro	  the PCAP2 ASIC used on some Motorola phones.
950d3c7a3f7SDaniel Ribeiro
9511c97872bSUwe Kleine-Königconfig RTC_DRV_MC13XXX
9521c97872bSUwe Kleine-König	depends on MFD_MC13XXX
9531c97872bSUwe Kleine-König	tristate "Freescale MC13xxx RTC"
95443299f28SUwe Kleine-König	help
9551c97872bSUwe Kleine-König	  This enables support for the RTCs found on Freescale's PMICs
9561c97872bSUwe Kleine-König	  MC13783 and MC13892.
95743299f28SUwe Kleine-König
95850aae724SAnatolij Gustschinconfig RTC_DRV_MPC5121
95950aae724SAnatolij Gustschin	tristate "Freescale MPC5121 built-in RTC"
96050aae724SAnatolij Gustschin	depends on PPC_MPC512x && RTC_CLASS
96150aae724SAnatolij Gustschin	help
96250aae724SAnatolij Gustschin	  If you say yes here you will get support for the
96350aae724SAnatolij Gustschin	  built-in RTC MPC5121.
96450aae724SAnatolij Gustschin
96550aae724SAnatolij Gustschin	  This driver can also be built as a module. If so, the module
96650aae724SAnatolij Gustschin	  will be called rtc-mpc5121.
96750aae724SAnatolij Gustschin
9683bf0eea8SLars-Peter Clausenconfig RTC_DRV_JZ4740
9693bf0eea8SLars-Peter Clausen	tristate "Ingenic JZ4740 SoC"
9703bf0eea8SLars-Peter Clausen	depends on RTC_CLASS
9713bf0eea8SLars-Peter Clausen	depends on MACH_JZ4740
9723bf0eea8SLars-Peter Clausen	help
9733bf0eea8SLars-Peter Clausen	  If you say yes here you get support for the Ingenic JZ4740 SoC RTC
9743bf0eea8SLars-Peter Clausen	  controller.
9753bf0eea8SLars-Peter Clausen
9763bf0eea8SLars-Peter Clausen	  This driver can also be buillt as a module. If so, the module
9773bf0eea8SLars-Peter Clausen	  will be called rtc-jz4740.
9783bf0eea8SLars-Peter Clausen
9799aa449beSKevin Wellsconfig RTC_DRV_LPC32XX
9809aa449beSKevin Wells	depends on ARCH_LPC32XX
9819aa449beSKevin Wells	tristate "NXP LPC32XX RTC"
9829aa449beSKevin Wells	help
9839aa449beSKevin Wells	  This enables support for the NXP RTC in the LPC32XX
9849aa449beSKevin Wells
9859aa449beSKevin Wells	  This driver can also be buillt as a module. If so, the module
9869aa449beSKevin Wells	  will be called rtc-lpc32xx.
9879aa449beSKevin Wells
988*ff859ba6SAndrew Chewconfig RTC_DRV_TEGRA
989*ff859ba6SAndrew Chew	tristate "NVIDIA Tegra Internal RTC driver"
990*ff859ba6SAndrew Chew	depends on RTC_CLASS && ARCH_TEGRA
991*ff859ba6SAndrew Chew	help
992*ff859ba6SAndrew Chew	  If you say yes here you get support for the
993*ff859ba6SAndrew Chew	  Tegra 200 series internal RTC module.
994*ff859ba6SAndrew Chew
995*ff859ba6SAndrew Chew	  This drive can also be built as a module. If so, the module
996*ff859ba6SAndrew Chew	  will be called rtc-tegra.
997*ff859ba6SAndrew Chew
998bb35fb20SJan Engelhardtendif # RTC_CLASS
999