xref: /linux/drivers/rtc/Kconfig (revision 1ce7c83fa91d27bd0e195e8b2ff10d3a1caeb0d6)
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
100655066c3SAtsushi Nemotoconfig RTC_INTF_DEV_UIE_EMUL
101655066c3SAtsushi Nemoto	bool "RTC UIE emulation on dev interface"
102655066c3SAtsushi Nemoto	depends on RTC_INTF_DEV
103655066c3SAtsushi Nemoto	help
1043dde6ad8SDavid Sterba	  Provides an emulation for RTC_UIE if the underlying rtc chip
1059e86ecb6SDavid Brownell	  driver does not expose RTC_UIE ioctls. Those requests generate
1069e86ecb6SDavid Brownell	  once-per-second update interrupts, used for synchronization.
107099e6576SAlessandro Zummo
108099e6576SAlessandro Zummo	  The emulation code will read the time from the hardware
109099e6576SAlessandro Zummo	  clock several times per second, please enable this option
110099e6576SAlessandro Zummo	  only if you know that you really need it.
111655066c3SAtsushi Nemoto
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
16909a21e56SAlessandro Zummoconfig RTC_DRV_MAX6900
17009b6bdb3SAlessandro Zummo	tristate "Maxim MAX6900"
17109a21e56SAlessandro Zummo	help
17209a21e56SAlessandro Zummo	  If you say yes here you will get support for the
17309a21e56SAlessandro Zummo	  Maxim MAX6900 I2C RTC chip.
17409a21e56SAlessandro Zummo
17509a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
17609a21e56SAlessandro Zummo	  will be called rtc-max6900.
17709a21e56SAlessandro Zummo
17809a21e56SAlessandro Zummoconfig RTC_DRV_RS5C372
1795d4529beSPaul Mundt	tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
18009a21e56SAlessandro Zummo	help
18109a21e56SAlessandro Zummo	  If you say yes here you get support for the
1825d4529beSPaul Mundt	  Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
18309a21e56SAlessandro Zummo
18409a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
18509a21e56SAlessandro Zummo	  will be called rtc-rs5c372.
18609a21e56SAlessandro Zummo
18709a21e56SAlessandro Zummoconfig RTC_DRV_ISL1208
18809b6bdb3SAlessandro Zummo	tristate "Intersil ISL1208"
18909a21e56SAlessandro Zummo	help
19009a21e56SAlessandro Zummo	  If you say yes here you get support for the
19109b6bdb3SAlessandro Zummo	  Intersil ISL1208 RTC chip.
19209a21e56SAlessandro Zummo
19309a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
19409a21e56SAlessandro Zummo	  will be called rtc-isl1208.
19509a21e56SAlessandro Zummo
19609a21e56SAlessandro Zummoconfig RTC_DRV_X1205
19709a21e56SAlessandro Zummo	tristate "Xicor/Intersil X1205"
19809a21e56SAlessandro Zummo	help
19909a21e56SAlessandro Zummo	  If you say yes here you get support for the
20009a21e56SAlessandro Zummo	  Xicor/Intersil X1205 RTC chip.
20109a21e56SAlessandro Zummo
20209a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
20309a21e56SAlessandro Zummo	  will be called rtc-x1205.
20409a21e56SAlessandro Zummo
20509a21e56SAlessandro Zummoconfig RTC_DRV_PCF8563
20609a21e56SAlessandro Zummo	tristate "Philips PCF8563/Epson RTC8564"
20709a21e56SAlessandro Zummo	help
20809a21e56SAlessandro Zummo	  If you say yes here you get support for the
20909a21e56SAlessandro Zummo	  Philips PCF8563 RTC chip. The Epson RTC8564
21009a21e56SAlessandro Zummo	  should work as well.
21109a21e56SAlessandro Zummo
21209a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
21309a21e56SAlessandro Zummo	  will be called rtc-pcf8563.
21409a21e56SAlessandro Zummo
21509a21e56SAlessandro Zummoconfig RTC_DRV_PCF8583
21609a21e56SAlessandro Zummo	tristate "Philips PCF8583"
21709a21e56SAlessandro Zummo	help
21809a21e56SAlessandro Zummo	  If you say yes here you get support for the Philips PCF8583
21909a21e56SAlessandro Zummo	  RTC chip found on Acorn RiscPCs. This driver supports the
22009a21e56SAlessandro Zummo	  platform specific method of retrieving the current year from
22109a21e56SAlessandro Zummo	  the RTC's SRAM. It will work on other platforms with the same
22209a21e56SAlessandro Zummo	  chip, but the year will probably have to be tweaked.
22309a21e56SAlessandro Zummo
22409a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
22509a21e56SAlessandro Zummo	  will be called rtc-pcf8583.
22609a21e56SAlessandro Zummo
227caaff562SAtsushi Nemotoconfig RTC_DRV_M41T80
228f30281f4SDaniel Glockner	tristate "ST M41T62/65/M41T80/81/82/83/84/85/87"
229caaff562SAtsushi Nemoto	help
230d3a126fcSSteven A. Falco	  If you say Y here you will get support for the ST M41T60
231d3a126fcSSteven A. Falco	  and M41T80 RTC chips series. Currently, the following chips are
232f30281f4SDaniel Glockner	  supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
233d3a126fcSSteven A. Falco	  M41ST85, and M41ST87.
234caaff562SAtsushi Nemoto
235caaff562SAtsushi Nemoto	  This driver can also be built as a module. If so, the module
236caaff562SAtsushi Nemoto	  will be called rtc-m41t80.
237caaff562SAtsushi Nemoto
238617780d2SAtsushi Nemotoconfig RTC_DRV_M41T80_WDT
239d3a126fcSSteven A. Falco	bool "ST M41T65/M41T80 series RTC watchdog timer"
240617780d2SAtsushi Nemoto	depends on RTC_DRV_M41T80
241617780d2SAtsushi Nemoto	help
242617780d2SAtsushi Nemoto	  If you say Y here you will get support for the
243d3a126fcSSteven A. Falco	  watchdog timer in the ST M41T60 and M41T80 RTC chips series.
244617780d2SAtsushi Nemoto
245*1ce7c83fSPiotr Ziecikconfig RTC_DRV_BQ32K
246*1ce7c83fSPiotr Ziecik	tristate "TI BQ32000"
247*1ce7c83fSPiotr Ziecik	help
248*1ce7c83fSPiotr Ziecik	  If you say Y here you will get support for the TI
249*1ce7c83fSPiotr Ziecik	  BQ32000 I2C RTC chip.
250*1ce7c83fSPiotr Ziecik
251*1ce7c83fSPiotr Ziecik	  This driver can also be built as a module. If so, the module
252*1ce7c83fSPiotr Ziecik	  will be called rtc-bq32k.
253*1ce7c83fSPiotr Ziecik
254afd8d0f9SDavid Brownellconfig RTC_DRV_DM355EVM
255afd8d0f9SDavid Brownell	tristate "TI DaVinci DM355 EVM RTC"
256afd8d0f9SDavid Brownell	depends on MFD_DM355EVM_MSP
257afd8d0f9SDavid Brownell	help
258afd8d0f9SDavid Brownell	  Supports the RTC firmware in the MSP430 on the DM355 EVM.
259afd8d0f9SDavid Brownell
2600c4a59feSTony Lindgrenconfig RTC_DRV_TWL92330
2610c4a59feSTony Lindgren	boolean "TI TWL92330/Menelaus"
262bb35fb20SJan Engelhardt	depends on MENELAUS
2630c4a59feSTony Lindgren	help
2640c4a59feSTony Lindgren	  If you say yes here you get support for the RTC on the
26501dd2fbfSMatt LaPlante	  TWL92330 "Menelaus" power management chip, used with OMAP2
2660c4a59feSTony Lindgren	  platforms. The support is integrated with the rest of
2670c4a59feSTony Lindgren	  the Menelaus driver; it's not separate module.
2680c4a59feSTony Lindgren
269f96411abSDavid Brownellconfig RTC_DRV_TWL4030
270a6b49ffdSBalaji T K	tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
271f96411abSDavid Brownell	depends on RTC_CLASS && TWL4030_CORE
272f96411abSDavid Brownell	help
273f96411abSDavid Brownell	  If you say yes here you get support for the RTC on the
274a6b49ffdSBalaji T K	  TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
275f96411abSDavid Brownell
276f96411abSDavid Brownell	  This driver can also be built as a module. If so, the module
277a6b49ffdSBalaji T K	  will be called rtc-twl.
278f96411abSDavid Brownell
279c46288b0SByron Bradleyconfig RTC_DRV_S35390A
280c46288b0SByron Bradley	tristate "Seiko Instruments S-35390A"
281d479540dSRandy Dunlap	select BITREVERSE
282c46288b0SByron Bradley	help
283c46288b0SByron Bradley	  If you say yes here you will get support for the Seiko
284c46288b0SByron Bradley	  Instruments S-35390A.
285c46288b0SByron Bradley
286c46288b0SByron Bradley	  This driver can also be built as a module. If so the module
287c46288b0SByron Bradley	  will be called rtc-s35390a.
288c46288b0SByron Bradley
289c6d8f400SSergey Lapinconfig RTC_DRV_FM3130
290c6d8f400SSergey Lapin	tristate "Ramtron FM3130"
291c6d8f400SSergey Lapin	help
292c6d8f400SSergey Lapin	  If you say Y here you will get support for the
293c6d8f400SSergey Lapin	  Ramtron FM3130 RTC chips.
294c6d8f400SSergey Lapin	  Ramtron FM3130 is a chip with two separate devices inside,
295c6d8f400SSergey Lapin	  RTC clock and FRAM. This driver provides only RTC functionality.
296c6d8f400SSergey Lapin
297c6d8f400SSergey Lapin	  This driver can also be built as a module. If so the module
298c6d8f400SSergey Lapin	  will be called rtc-fm3130.
299c6d8f400SSergey Lapin
300a7fa9851SMartyn Welchconfig RTC_DRV_RX8581
301a7fa9851SMartyn Welch	tristate "Epson RX-8581"
302a7fa9851SMartyn Welch	help
303a7fa9851SMartyn Welch	  If you say yes here you will get support for the Epson RX-8581.
304a7fa9851SMartyn Welch
305a7fa9851SMartyn Welch	  This driver can also be built as a module. If so the module
306a7fa9851SMartyn Welch	  will be called rtc-rx8581.
307a7fa9851SMartyn Welch
3083c2b9075SWolfgang Grandeggerconfig RTC_DRV_RX8025
3093c2b9075SWolfgang Grandegger	tristate "Epson RX-8025SA/NB"
3103c2b9075SWolfgang Grandegger	help
3113c2b9075SWolfgang Grandegger	  If you say yes here you get support for the Epson
3123c2b9075SWolfgang Grandegger	  RX-8025SA/NB RTC chips.
3133c2b9075SWolfgang Grandegger
3143c2b9075SWolfgang Grandegger	  This driver can also be built as a module. If so, the module
3153c2b9075SWolfgang Grandegger	  will be called rtc-rx8025.
3163c2b9075SWolfgang Grandegger
317bb35fb20SJan Engelhardtendif # I2C
318bb35fb20SJan Engelhardt
31909a21e56SAlessandro Zummocomment "SPI RTC drivers"
320bb35fb20SJan Engelhardt
321bb35fb20SJan Engelhardtif SPI_MASTER
32209a21e56SAlessandro Zummo
3238fc2c767SKim B. Heinoconfig RTC_DRV_M41T94
3248fc2c767SKim B. Heino	tristate "ST M41T94"
3258fc2c767SKim B. Heino	help
3268fc2c767SKim B. Heino	  If you say yes here you will get support for the
3278fc2c767SKim B. Heino	  ST M41T94 SPI RTC chip.
3288fc2c767SKim B. Heino
3298fc2c767SKim B. Heino	  This driver can also be built as a module. If so, the module
3308fc2c767SKim B. Heino	  will be called rtc-m41t94.
3318fc2c767SKim B. Heino
33253e84b67SDavid Brownellconfig RTC_DRV_DS1305
33353e84b67SDavid Brownell	tristate "Dallas/Maxim DS1305/DS1306"
33453e84b67SDavid Brownell	help
33553e84b67SDavid Brownell	  Select this driver to get support for the Dallas/Maxim DS1305
33653e84b67SDavid Brownell	  and DS1306 real time clock chips. These support a trickle
33753e84b67SDavid Brownell	  charger, alarms, and NVRAM in addition to the clock.
33853e84b67SDavid Brownell
33953e84b67SDavid Brownell	  This driver can also be built as a module. If so, the module
34053e84b67SDavid Brownell	  will be called rtc-ds1305.
34153e84b67SDavid Brownell
34206de1808SMark Jacksonconfig RTC_DRV_DS1390
34306de1808SMark Jackson	tristate "Dallas/Maxim DS1390/93/94"
34406de1808SMark Jackson	help
3457b9b2ef1SAlessandro Zummo	  If you say yes here you get support for the
3467b9b2ef1SAlessandro Zummo	  Dallas/Maxim DS1390/93/94 chips.
34706de1808SMark Jackson
34806de1808SMark Jackson	  This driver only supports the RTC feature, and not other chip
34906de1808SMark Jackson	  features such as alarms and trickle charging.
35006de1808SMark Jackson
35106de1808SMark Jackson	  This driver can also be built as a module. If so, the module
35206de1808SMark Jackson	  will be called rtc-ds1390.
35306de1808SMark Jackson
35409b6bdb3SAlessandro Zummoconfig RTC_DRV_MAX6902
35509b6bdb3SAlessandro Zummo	tristate "Maxim MAX6902"
35609b6bdb3SAlessandro Zummo	help
35709b6bdb3SAlessandro Zummo	  If you say yes here you will get support for the
35809b6bdb3SAlessandro Zummo	  Maxim MAX6902 SPI RTC chip.
35909b6bdb3SAlessandro Zummo
36009b6bdb3SAlessandro Zummo	  This driver can also be built as a module. If so, the module
36109b6bdb3SAlessandro Zummo	  will be called rtc-max6902.
36209b6bdb3SAlessandro Zummo
3632805b969SMagnus Dammconfig RTC_DRV_R9701
3642805b969SMagnus Damm	tristate "Epson RTC-9701JE"
3652805b969SMagnus Damm	help
3662805b969SMagnus Damm	  If you say yes here you will get support for the
3672805b969SMagnus Damm	  Epson RTC-9701JE SPI RTC chip.
3682805b969SMagnus Damm
3692805b969SMagnus Damm	  This driver can also be built as a module. If so, the module
3702805b969SMagnus Damm	  will be called rtc-r9701.
3712805b969SMagnus Damm
37209a21e56SAlessandro Zummoconfig RTC_DRV_RS5C348
37309a21e56SAlessandro Zummo	tristate "Ricoh RS5C348A/B"
37409a21e56SAlessandro Zummo	help
37509a21e56SAlessandro Zummo	  If you say yes here you get support for the
37609a21e56SAlessandro Zummo	  Ricoh RS5C348A and RS5C348B RTC chips.
37709a21e56SAlessandro Zummo
37809a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
37909a21e56SAlessandro Zummo	  will be called rtc-rs5c348.
38009a21e56SAlessandro Zummo
3812f9b75e0SDennis Aberillaconfig RTC_DRV_DS3234
3822f9b75e0SDennis Aberilla	tristate "Maxim/Dallas DS3234"
3832f9b75e0SDennis Aberilla	help
3842f9b75e0SDennis Aberilla	  If you say yes here you get support for the
3852f9b75e0SDennis Aberilla	  Maxim/Dallas DS3234 SPI RTC chip.
3862f9b75e0SDennis Aberilla
3872f9b75e0SDennis Aberilla	  This driver can also be built as a module. If so, the module
3882f9b75e0SDennis Aberilla	  will be called rtc-ds3234.
3892f9b75e0SDennis Aberilla
3907f3923a1SChris Vergesconfig RTC_DRV_PCF2123
3917f3923a1SChris Verges	tristate "NXP PCF2123"
3927f3923a1SChris Verges	help
3937f3923a1SChris Verges	  If you say yes here you get support for the NXP PCF2123
3947f3923a1SChris Verges	  RTC chip.
3957f3923a1SChris Verges
3967f3923a1SChris Verges	  This driver can also be built as a module. If so, the module
3977f3923a1SChris Verges	  will be called rtc-pcf2123.
3987f3923a1SChris Verges
399bb35fb20SJan Engelhardtendif # SPI_MASTER
400bb35fb20SJan Engelhardt
40109a21e56SAlessandro Zummocomment "Platform RTC drivers"
4020c86edc0SAlessandro Zummo
4037be2c7c9SDavid Brownell# this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h>
4047be2c7c9SDavid Brownell# requires <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
4057be2c7c9SDavid Brownell# global rtc_lock ... it's not yet just another platform_device.
4067be2c7c9SDavid Brownell
4077be2c7c9SDavid Brownellconfig RTC_DRV_CMOS
40809a21e56SAlessandro Zummo	tristate "PC-style 'CMOS'"
4095ec87708SAndrew Morton	depends on X86 || ALPHA || ARM || M32R || ATARI || PPC || MIPS || SPARC64
410c7500900SDavid Brownell	default y if X86
4117be2c7c9SDavid Brownell	help
4127be2c7c9SDavid Brownell	  Say "yes" here to get direct support for the real time clock
4137be2c7c9SDavid Brownell	  found in every PC or ACPI-based system, and some other boards.
4147be2c7c9SDavid Brownell	  Specifically the original MC146818, compatibles like those in
4157be2c7c9SDavid Brownell	  PC south bridges, the DS12887 or M48T86, some multifunction
4167be2c7c9SDavid Brownell	  or LPC bus chips, and so on.
4177be2c7c9SDavid Brownell
4187be2c7c9SDavid Brownell	  Your system will need to define the platform device used by
4197be2c7c9SDavid Brownell	  this driver, otherwise it won't be accessible. This means
4207be2c7c9SDavid Brownell	  you can safely enable this driver if you don't know whether
4217be2c7c9SDavid Brownell	  or not your board has this kind of hardware.
4227be2c7c9SDavid Brownell
4237be2c7c9SDavid Brownell	  This driver can also be built as a module. If so, the module
4247be2c7c9SDavid Brownell	  will be called rtc-cmos.
4257be2c7c9SDavid Brownell
426537739deSThomas Bogendoerferconfig RTC_DRV_DS1216
427537739deSThomas Bogendoerfer	tristate "Dallas DS1216"
428bb35fb20SJan Engelhardt	depends on SNI_RM
429537739deSThomas Bogendoerfer	help
430537739deSThomas Bogendoerfer	  If you say yes here you get support for the Dallas DS1216 RTC chips.
431537739deSThomas Bogendoerfer
4325f119f29SThomas Bogendoerferconfig RTC_DRV_DS1286
4335f119f29SThomas Bogendoerfer	tristate "Dallas DS1286"
4345f119f29SThomas Bogendoerfer	help
4355f119f29SThomas Bogendoerfer	  If you say yes here you get support for the Dallas DS1286 RTC chips.
4365f119f29SThomas Bogendoerfer
437739d340dSPaul Mundtconfig RTC_DRV_DS1302
438739d340dSPaul Mundt	tristate "Dallas DS1302"
439739d340dSPaul Mundt	depends on SH_SECUREEDGE5410
440739d340dSPaul Mundt	help
441739d340dSPaul Mundt	  If you say yes here you get support for the Dallas DS1302 RTC chips.
442739d340dSPaul Mundt
4438f26795aSAndrew Sharpconfig RTC_DRV_DS1511
4448f26795aSAndrew Sharp	tristate "Dallas DS1511"
4458f26795aSAndrew Sharp	depends on RTC_CLASS
4468f26795aSAndrew Sharp	help
4478f26795aSAndrew Sharp	  If you say yes here you get support for the
4488f26795aSAndrew Sharp	  Dallas DS1511 timekeeping/watchdog chip.
4498f26795aSAndrew Sharp
4508f26795aSAndrew Sharp	  This driver can also be built as a module. If so, the module
4518f26795aSAndrew Sharp	  will be called rtc-ds1511.
4528f26795aSAndrew Sharp
4539bf5b4f5SAtsushi Nemotoconfig RTC_DRV_DS1553
45409b6bdb3SAlessandro Zummo	tristate "Maxim/Dallas DS1553"
4559bf5b4f5SAtsushi Nemoto	help
4569bf5b4f5SAtsushi Nemoto	  If you say yes here you get support for the
45709b6bdb3SAlessandro Zummo	  Maxim/Dallas DS1553 timekeeping chip.
4589bf5b4f5SAtsushi Nemoto
4599bf5b4f5SAtsushi Nemoto	  This driver can also be built as a module. If so, the module
4609bf5b4f5SAtsushi Nemoto	  will be called rtc-ds1553.
4619bf5b4f5SAtsushi Nemoto
46209b6bdb3SAlessandro Zummoconfig RTC_DRV_DS1742
46309b6bdb3SAlessandro Zummo	tristate "Maxim/Dallas DS1742/1743"
46409b6bdb3SAlessandro Zummo	help
46509b6bdb3SAlessandro Zummo	  If you say yes here you get support for the
46609b6bdb3SAlessandro Zummo	  Maxim/Dallas DS1742/1743 timekeeping chip.
46709b6bdb3SAlessandro Zummo
46809b6bdb3SAlessandro Zummo	  This driver can also be built as a module. If so, the module
46909b6bdb3SAlessandro Zummo	  will be called rtc-ds1742.
47009b6bdb3SAlessandro Zummo
4715e3fd9e5Sdann frazierconfig RTC_DRV_EFI
4725e3fd9e5Sdann frazier	tristate "EFI RTC"
4735e3fd9e5Sdann frazier	depends on IA64
4745e3fd9e5Sdann frazier	help
4755e3fd9e5Sdann frazier	  If you say yes here you will get support for the EFI
4765e3fd9e5Sdann frazier	  Real Time Clock.
4775e3fd9e5Sdann frazier
4785e3fd9e5Sdann frazier	  This driver can also be built as a module. If so, the module
4795e3fd9e5Sdann frazier	  will be called rtc-efi.
4805e3fd9e5Sdann frazier
48102964115SThomas Hommelconfig RTC_DRV_STK17TA8
48202964115SThomas Hommel	tristate "Simtek STK17TA8"
48302964115SThomas Hommel	depends on RTC_CLASS
48402964115SThomas Hommel	help
48502964115SThomas Hommel	  If you say yes here you get support for the
48602964115SThomas Hommel	  Simtek STK17TA8 timekeeping chip.
48702964115SThomas Hommel
48802964115SThomas Hommel	  This driver can also be built as a module. If so, the module
48902964115SThomas Hommel	  will be called rtc-stk17ta8.
49002964115SThomas Hommel
49109a21e56SAlessandro Zummoconfig RTC_DRV_M48T86
49209a21e56SAlessandro Zummo	tristate "ST M48T86/Dallas DS12887"
49309a21e56SAlessandro Zummo	help
49409a21e56SAlessandro Zummo	  If you say Y here you will get support for the
49509a21e56SAlessandro Zummo	  ST M48T86 and Dallas DS12887 RTC chips.
49609a21e56SAlessandro Zummo
49709a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
49809a21e56SAlessandro Zummo	  will be called rtc-m48t86.
49909a21e56SAlessandro Zummo
500d1dbd82eSThomas Bogendoerferconfig RTC_DRV_M48T35
501d1dbd82eSThomas Bogendoerfer	tristate "ST M48T35"
502d1dbd82eSThomas Bogendoerfer	help
503d1dbd82eSThomas Bogendoerfer	  If you say Y here you will get support for the
504d1dbd82eSThomas Bogendoerfer	  ST M48T35 RTC chip.
505d1dbd82eSThomas Bogendoerfer
506d1dbd82eSThomas Bogendoerfer	  This driver can also be built as a module, if so, the module
507d1dbd82eSThomas Bogendoerfer	  will be called "rtc-m48t35".
508d1dbd82eSThomas Bogendoerfer
5092e774c7cSMark Zhanconfig RTC_DRV_M48T59
51094fe7424SKrzysztof Helt	tristate "ST M48T59/M48T08/M48T02"
5112e774c7cSMark Zhan	help
5122e774c7cSMark Zhan	  If you say Y here you will get support for the
51394fe7424SKrzysztof Helt	  ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
51494fe7424SKrzysztof Helt
51594fe7424SKrzysztof Helt	  These chips are usually found in Sun SPARC and UltraSPARC
51694fe7424SKrzysztof Helt	  workstations.
5172e774c7cSMark Zhan
5182e774c7cSMark Zhan	  This driver can also be built as a module, if so, the module
5192e774c7cSMark Zhan	  will be called "rtc-m48t59".
5202e774c7cSMark Zhan
5214f9b9bbaSGeert Uytterhoevenconfig RTC_DRV_MSM6242
5224f9b9bbaSGeert Uytterhoeven	tristate "Oki MSM6242"
5234f9b9bbaSGeert Uytterhoeven	help
5244f9b9bbaSGeert Uytterhoeven	  If you say yes here you get support for the Oki MSM6242
5254f9b9bbaSGeert Uytterhoeven	  timekeeping chip. It is used in some Amiga models (e.g. A2000).
5264f9b9bbaSGeert Uytterhoeven
5274f9b9bbaSGeert Uytterhoeven	  This driver can also be built as a module. If so, the module
5284f9b9bbaSGeert Uytterhoeven	  will be called rtc-msm6242.
5294f9b9bbaSGeert Uytterhoeven
530d00ed3cfSDaniel Mackconfig RTC_MXC
531d00ed3cfSDaniel Mack	tristate "Freescale MXC Real Time Clock"
532d00ed3cfSDaniel Mack	depends on ARCH_MXC
533d00ed3cfSDaniel Mack	depends on RTC_CLASS
534d00ed3cfSDaniel Mack	help
535d00ed3cfSDaniel Mack	   If you say yes here you get support for the Freescale MXC
536d00ed3cfSDaniel Mack	   RTC module.
537d00ed3cfSDaniel Mack
538d00ed3cfSDaniel Mack	   This driver can also be built as a module, if so, the module
539d00ed3cfSDaniel Mack	   will be called "rtc-mxc".
540d00ed3cfSDaniel Mack
541cca4c231SDavid S. Millerconfig RTC_DRV_BQ4802
542cca4c231SDavid S. Miller	tristate "TI BQ4802"
543cca4c231SDavid S. Miller	help
544cca4c231SDavid S. Miller	  If you say Y here you will get support for the TI
545cca4c231SDavid S. Miller	  BQ4802 RTC chip.
546cca4c231SDavid S. Miller
547cca4c231SDavid S. Miller	  This driver can also be built as a module. If so, the module
548cca4c231SDavid S. Miller	  will be called rtc-bq4802.
549cca4c231SDavid S. Miller
5504f672ce2SGeert Uytterhoevenconfig RTC_DRV_RP5C01
5514f672ce2SGeert Uytterhoeven	tristate "Ricoh RP5C01"
5524f672ce2SGeert Uytterhoeven	help
5534f672ce2SGeert Uytterhoeven	  If you say yes here you get support for the Ricoh RP5C01
5544f672ce2SGeert Uytterhoeven	  timekeeping chip. It is used in some Amiga models (e.g. A3000
5554f672ce2SGeert Uytterhoeven	  and A4000).
5564f672ce2SGeert Uytterhoeven
5574f672ce2SGeert Uytterhoeven	  This driver can also be built as a module. If so, the module
5584f672ce2SGeert Uytterhoeven	  will be called rtc-rp5c01.
5594f672ce2SGeert Uytterhoeven
56009a21e56SAlessandro Zummoconfig RTC_DRV_V3020
56109a21e56SAlessandro Zummo	tristate "EM Microelectronic V3020"
56209a21e56SAlessandro Zummo	help
56309a21e56SAlessandro Zummo	  If you say yes here you will get support for the
56409a21e56SAlessandro Zummo	  EM Microelectronic v3020 RTC chip.
56509a21e56SAlessandro Zummo
56609a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
56709a21e56SAlessandro Zummo	  will be called rtc-v3020.
56809a21e56SAlessandro Zummo
56935c86bf6SMark Brownconfig RTC_DRV_WM831X
57035c86bf6SMark Brown	tristate "Wolfson Microelectronics WM831x RTC"
57135c86bf6SMark Brown	depends on MFD_WM831X
57235c86bf6SMark Brown	help
57335c86bf6SMark Brown	  If you say yes here you will get support for the RTC subsystem
57435c86bf6SMark Brown	  of the Wolfson Microelectronics WM831X series PMICs.
57535c86bf6SMark Brown
57635c86bf6SMark Brown	  This driver can also be built as a module. If so, the module
57735c86bf6SMark Brown	  will be called "rtc-wm831x".
57835c86bf6SMark Brown
579077eaf5bSMark Brownconfig RTC_DRV_WM8350
580077eaf5bSMark Brown	tristate "Wolfson Microelectronics WM8350 RTC"
581077eaf5bSMark Brown	depends on MFD_WM8350
582077eaf5bSMark Brown	help
583077eaf5bSMark Brown	  If you say yes here you will get support for the RTC subsystem
584077eaf5bSMark Brown	  of the Wolfson Microelectronics WM8350.
585077eaf5bSMark Brown
586077eaf5bSMark Brown	  This driver can also be built as a module. If so, the module
587077eaf5bSMark Brown	  will be called "rtc-wm8350".
588077eaf5bSMark Brown
589eae854b2SBalaji Raoconfig RTC_DRV_PCF50633
590eae854b2SBalaji Rao	depends on MFD_PCF50633
591eae854b2SBalaji Rao	tristate "NXP PCF50633 RTC"
592eae854b2SBalaji Rao	help
593eae854b2SBalaji Rao	  If you say yes here you get support for the RTC subsystem of the
594eae854b2SBalaji Rao	  NXP PCF50633 used in embedded systems.
595eae854b2SBalaji Rao
596bd207cfbSLinus Walleijconfig RTC_DRV_AB3100
597bd207cfbSLinus Walleij	tristate "ST-Ericsson AB3100 RTC"
598bd207cfbSLinus Walleij	depends on AB3100_CORE
599bd207cfbSLinus Walleij	default y if AB3100_CORE
600bd207cfbSLinus Walleij	help
601bd207cfbSLinus Walleij	  Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
602bd207cfbSLinus Walleij	  support. This chip contains a battery- and capacitor-backed RTC.
603bd207cfbSLinus Walleij
604bd207cfbSLinus Walleij
60509a21e56SAlessandro Zummocomment "on-CPU RTC drivers"
60609a21e56SAlessandro Zummo
607db68b189SDavid Brownellconfig RTC_DRV_OMAP
608db68b189SDavid Brownell	tristate "TI OMAP1"
6098cfde8c1SMark A. Greer	depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730 || ARCH_DAVINCI_DA8XX
610db68b189SDavid Brownell	help
6118cfde8c1SMark A. Greer	  Say "yes" here to support the real time clock on TI OMAP1 and
6128cfde8c1SMark A. Greer	  DA8xx/OMAP-L13x chips.  This driver can also be built as a
6138cfde8c1SMark A. Greer	  module called rtc-omap.
614db68b189SDavid Brownell
6151add6781SBen Dooksconfig RTC_DRV_S3C
6161add6781SBen Dooks	tristate "Samsung S3C series SoC RTC"
617bb35fb20SJan Engelhardt	depends on ARCH_S3C2410
6181add6781SBen Dooks	help
6191add6781SBen Dooks	  RTC (Realtime Clock) driver for the clock inbuilt into the
6201add6781SBen Dooks	  Samsung S3C24XX series of SoCs. This can provide periodic
6211add6781SBen Dooks	  interrupt rates from 1Hz to 64Hz for user programs, and
6221add6781SBen Dooks	  wakeup from Alarm.
6231add6781SBen Dooks
6241add6781SBen Dooks	  The driver currently supports the common features on all the
6251add6781SBen Dooks	  S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
6261add6781SBen Dooks	  and S3C2442.
6271add6781SBen Dooks
6281add6781SBen Dooks	  This driver can also be build as a module. If so, the module
6291add6781SBen Dooks	  will be called rtc-s3c.
6301add6781SBen Dooks
631fd507e2fSAlessandro Zummoconfig RTC_DRV_EP93XX
632fd507e2fSAlessandro Zummo	tristate "Cirrus Logic EP93XX"
633bb35fb20SJan Engelhardt	depends on ARCH_EP93XX
634fd507e2fSAlessandro Zummo	help
635fd507e2fSAlessandro Zummo	  If you say yes here you get support for the
636fd507e2fSAlessandro Zummo	  RTC embedded in the Cirrus Logic EP93XX processors.
637fd507e2fSAlessandro Zummo
638fd507e2fSAlessandro Zummo	  This driver can also be built as a module. If so, the module
639fd507e2fSAlessandro Zummo	  will be called rtc-ep93xx.
640fd507e2fSAlessandro Zummo
641e842f1c8SRichard Purdieconfig RTC_DRV_SA1100
642e842f1c8SRichard Purdie	tristate "SA11x0/PXA2xx"
643bb35fb20SJan Engelhardt	depends on ARCH_SA1100 || ARCH_PXA
644e842f1c8SRichard Purdie	help
645e842f1c8SRichard Purdie	  If you say Y here you will get access to the real time clock
646e842f1c8SRichard Purdie	  built into your SA11x0 or PXA2xx CPU.
647e842f1c8SRichard Purdie
648e842f1c8SRichard Purdie	  To compile this driver as a module, choose M here: the
649e842f1c8SRichard Purdie	  module will be called rtc-sa1100.
650fd507e2fSAlessandro Zummo
651317a6104SPaul Mundtconfig RTC_DRV_SH
652317a6104SPaul Mundt	tristate "SuperH On-Chip RTC"
653063adc75SPaul Mundt	depends on RTC_CLASS && SUPERH && HAVE_CLK
654317a6104SPaul Mundt	help
655317a6104SPaul Mundt	  Say Y here to enable support for the on-chip RTC found in
656317a6104SPaul Mundt	  most SuperH processors.
657317a6104SPaul Mundt
658317a6104SPaul Mundt 	  To compile this driver as a module, choose M here: the
659317a6104SPaul Mundt	  module will be called rtc-sh.
660317a6104SPaul Mundt
6618417eb7aSYoichi Yuasaconfig RTC_DRV_VR41XX
6623e16f6afSAlessandro Zummo	tristate "NEC VR41XX"
663bb35fb20SJan Engelhardt	depends on CPU_VR41XX
6643e16f6afSAlessandro Zummo	help
6653e16f6afSAlessandro Zummo	  If you say Y here you will get access to the real time clock
6663e16f6afSAlessandro Zummo	  built into your NEC VR41XX CPU.
6673e16f6afSAlessandro Zummo
6683e16f6afSAlessandro Zummo	  To compile this driver as a module, choose M here: the
6693e16f6afSAlessandro Zummo	  module will be called rtc-vr41xx.
6708417eb7aSYoichi Yuasa
671a190901cSRussell Kingconfig RTC_DRV_PL030
672a190901cSRussell King	tristate "ARM AMBA PL030 RTC"
673a190901cSRussell King	depends on ARM_AMBA
674a190901cSRussell King	help
675a190901cSRussell King	  If you say Y here you will get access to ARM AMBA
676a190901cSRussell King	  PrimeCell PL030 RTC found on certain ARM SOCs.
677a190901cSRussell King
678a190901cSRussell King	  To compile this driver as a module, choose M here: the
679a190901cSRussell King	  module will be called rtc-pl030.
680a190901cSRussell King
6818ae6e163SDeepak Saxenaconfig RTC_DRV_PL031
6828ae6e163SDeepak Saxena	tristate "ARM AMBA PL031 RTC"
683bb35fb20SJan Engelhardt	depends on ARM_AMBA
6848ae6e163SDeepak Saxena	help
6858ae6e163SDeepak Saxena	  If you say Y here you will get access to ARM AMBA
68609a21e56SAlessandro Zummo	  PrimeCell PL031 RTC found on certain ARM SOCs.
6878ae6e163SDeepak Saxena
6888ae6e163SDeepak Saxena	  To compile this driver as a module, choose M here: the
6898ae6e163SDeepak Saxena	  module will be called rtc-pl031.
6908ae6e163SDeepak Saxena
691fa04e78bSHans-Christian Egtvedtconfig RTC_DRV_AT32AP700X
692fa04e78bSHans-Christian Egtvedt	tristate "AT32AP700X series RTC"
693bb35fb20SJan Engelhardt	depends on PLATFORM_AT32AP
694fa04e78bSHans-Christian Egtvedt	help
695fa04e78bSHans-Christian Egtvedt	  Driver for the internal RTC (Realtime Clock) on Atmel AVR32
696fa04e78bSHans-Christian Egtvedt	  AT32AP700x family processors.
697fa04e78bSHans-Christian Egtvedt
6987fc39f6dSAndrew Victorconfig RTC_DRV_AT91RM9200
6994cdf854fSDavid Brownell	tristate "AT91RM9200 or AT91SAM9RL"
7004cdf854fSDavid Brownell	depends on ARCH_AT91RM9200 || ARCH_AT91SAM9RL
701788b1fc6SAndrew Victor	help
7024cdf854fSDavid Brownell	  Driver for the internal RTC (Realtime Clock) module found on
7034cdf854fSDavid Brownell	  Atmel AT91RM9200's and AT91SAM9RL chips. On SAM9RL chips
7044cdf854fSDavid Brownell	  this is powered by the backup power supply.
7054cdf854fSDavid Brownell
7064cdf854fSDavid Brownellconfig RTC_DRV_AT91SAM9
7076b71dbf6SStelian Pop	tristate "AT91SAM9x/AT91CAP9"
7084cdf854fSDavid Brownell	depends on ARCH_AT91 && !(ARCH_AT91RM9200 || ARCH_AT91X40)
7094cdf854fSDavid Brownell	help
7106b71dbf6SStelian Pop	  RTC driver for the Atmel AT91SAM9x and AT91CAP9 internal RTT
7116b71dbf6SStelian Pop	  (Real Time Timer). These timers are powered by the backup power
7126b71dbf6SStelian Pop	  supply (such as a small coin cell battery), but do not need to
7136b71dbf6SStelian Pop	  be used as RTCs.
7144cdf854fSDavid Brownell
7154cdf854fSDavid Brownell	  (On AT91SAM9rl chips you probably want to use the dedicated RTC
7164cdf854fSDavid Brownell	  module and leave the RTT available for other uses.)
7174cdf854fSDavid Brownell
7184cdf854fSDavid Brownellconfig RTC_DRV_AT91SAM9_RTT
7194cdf854fSDavid Brownell	int
7204cdf854fSDavid Brownell	range 0 1
7214cdf854fSDavid Brownell	default 0
7224cdf854fSDavid Brownell	prompt "RTT module Number" if ARCH_AT91SAM9263
7234cdf854fSDavid Brownell	depends on RTC_DRV_AT91SAM9
7244cdf854fSDavid Brownell	help
7254cdf854fSDavid Brownell	  More than one RTT module is available. You can choose which
7264cdf854fSDavid Brownell	  one will be used as an RTC. The default of zero is normally
7274cdf854fSDavid Brownell	  OK to use, though some systems use that for non-RTC purposes.
7284cdf854fSDavid Brownell
7294cdf854fSDavid Brownellconfig RTC_DRV_AT91SAM9_GPBR
7304cdf854fSDavid Brownell	int
7314cdf854fSDavid Brownell	range 0 3 if !ARCH_AT91SAM9263
7324cdf854fSDavid Brownell	range 0 15 if ARCH_AT91SAM9263
7334cdf854fSDavid Brownell	default 0
7344cdf854fSDavid Brownell	prompt "Backup Register Number"
7354cdf854fSDavid Brownell	depends on RTC_DRV_AT91SAM9
7364cdf854fSDavid Brownell	help
7374cdf854fSDavid Brownell	  The RTC driver needs to use one of the General Purpose Backup
7384cdf854fSDavid Brownell	  Registers (GPBRs) as well as the RTT. You can choose which one
7394cdf854fSDavid Brownell	  will be used. The default of zero is normally OK to use, but
7404cdf854fSDavid Brownell	  on some systems other software needs to use that register.
741788b1fc6SAndrew Victor
74245fd8a0cSManuel Laussconfig RTC_DRV_AU1XXX
74345fd8a0cSManuel Lauss	tristate "Au1xxx Counter0 RTC support"
74445fd8a0cSManuel Lauss	depends on SOC_AU1X00
74545fd8a0cSManuel Lauss	help
74645fd8a0cSManuel Lauss	  This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
74745fd8a0cSManuel Lauss	  counter) to be used as a RTC.
74845fd8a0cSManuel Lauss
74945fd8a0cSManuel Lauss	  This driver can also be built as a module. If so, the module
75045fd8a0cSManuel Lauss	  will be called rtc-au1xxx.
75145fd8a0cSManuel Lauss
7528cc75c9aSWu, Bryanconfig RTC_DRV_BFIN
7538cc75c9aSWu, Bryan	tristate "Blackfin On-Chip RTC"
7547f604599SGraf Yang	depends on BLACKFIN && !BF561
7558cc75c9aSWu, Bryan	help
7568cc75c9aSWu, Bryan	  If you say yes here you will get support for the
7578cc75c9aSWu, Bryan	  Blackfin On-Chip Real Time Clock.
7588cc75c9aSWu, Bryan
7598cc75c9aSWu, Bryan	  This driver can also be built as a module. If so, the module
7608cc75c9aSWu, Bryan	  will be called rtc-bfin.
7618cc75c9aSWu, Bryan
762e9f2bd81SNobuhiro Iwamatsuconfig RTC_DRV_RS5C313
763e9f2bd81SNobuhiro Iwamatsu	tristate "Ricoh RS5C313"
764bb35fb20SJan Engelhardt	depends on SH_LANDISK
765e9f2bd81SNobuhiro Iwamatsu	help
766e9f2bd81SNobuhiro Iwamatsu	  If you say yes here you get support for the Ricoh RS5C313 RTC chips.
767e9f2bd81SNobuhiro Iwamatsu
7683afe6d04SGeert Uytterhoevenconfig RTC_DRV_GENERIC
7693afe6d04SGeert Uytterhoeven	tristate "Generic RTC support"
7703afe6d04SGeert Uytterhoeven	# Please consider writing a new RTC driver instead of using the generic
7713afe6d04SGeert Uytterhoeven	# RTC abstraction
77247c8a08bSPaul Mundt	depends on PARISC || M68K || PPC || SUPERH32
7739eb16864SKyle McMartin	help
7743afe6d04SGeert Uytterhoeven	  Say Y or M here to enable RTC support on systems using the generic
7753afe6d04SGeert Uytterhoeven	  RTC abstraction. If you do not know what you are doing, you should
7769eb16864SKyle McMartin	  just say Y.
7779eb16864SKyle McMartin
778dc944368SRobert Jarzmikconfig RTC_DRV_PXA
779dc944368SRobert Jarzmik       tristate "PXA27x/PXA3xx"
780dc944368SRobert Jarzmik       depends on ARCH_PXA
781dc944368SRobert Jarzmik       help
782dc944368SRobert Jarzmik         If you say Y here you will get access to the real time clock
783dc944368SRobert Jarzmik         built into your PXA27x or PXA3xx CPU.
784dc944368SRobert Jarzmik
785dc944368SRobert Jarzmik         This RTC driver uses PXA RTC registers available since pxa27x
786dc944368SRobert Jarzmik         series (RDxR, RYxR) instead of legacy RCNR, RTAR.
787dc944368SRobert Jarzmik
788dc944368SRobert Jarzmik
7897a138edeSDavid S. Millerconfig RTC_DRV_SUN4V
7907a138edeSDavid S. Miller	bool "SUN4V Hypervisor RTC"
7917a138edeSDavid S. Miller	depends on SPARC64
7927a138edeSDavid S. Miller	help
7937a138edeSDavid S. Miller	  If you say Y here you will get support for the Hypervisor
7947a138edeSDavid S. Miller	  based RTC on SUN4V systems.
7957a138edeSDavid S. Miller
796de2cf332SDavid S. Millerconfig RTC_DRV_STARFIRE
797de2cf332SDavid S. Miller	bool "Starfire RTC"
798de2cf332SDavid S. Miller	depends on SPARC64
799de2cf332SDavid S. Miller	help
800de2cf332SDavid S. Miller	  If you say Y here you will get support for the RTC found on
801de2cf332SDavid S. Miller	  Starfire systems.
802de2cf332SDavid S. Miller
8030e149233SAtsushi Nemotoconfig RTC_DRV_TX4939
8040e149233SAtsushi Nemoto	tristate "TX4939 SoC"
8050e149233SAtsushi Nemoto	depends on SOC_TX4939
8060e149233SAtsushi Nemoto	help
8070e149233SAtsushi Nemoto	  Driver for the internal RTC (Realtime Clock) module found on
8080e149233SAtsushi Nemoto	  Toshiba TX4939 SoC.
8090e149233SAtsushi Nemoto
810defb4514SSaeed Bisharaconfig RTC_DRV_MV
811defb4514SSaeed Bishara	tristate "Marvell SoC RTC"
812da43243eSSaeed Bishara	depends on ARCH_KIRKWOOD || ARCH_DOVE
813defb4514SSaeed Bishara	help
814defb4514SSaeed Bishara	  If you say yes here you will get support for the in-chip RTC
815defb4514SSaeed Bishara	  that can be found in some of Marvell's SoC devices, such as
816defb4514SSaeed Bishara	  the Kirkwood 88F6281 and 88F6192.
817defb4514SSaeed Bishara
818defb4514SSaeed Bishara	  This driver can also be built as a module. If so, the module
819defb4514SSaeed Bishara	  will be called rtc-mv.
820defb4514SSaeed Bishara
8210b5f037aSGeert Uytterhoevenconfig RTC_DRV_PS3
8220b5f037aSGeert Uytterhoeven	tristate "PS3 RTC"
8230b5f037aSGeert Uytterhoeven	depends on PPC_PS3
8240b5f037aSGeert Uytterhoeven	help
8250b5f037aSGeert Uytterhoeven	  If you say yes here you will get support for the RTC on PS3.
8260b5f037aSGeert Uytterhoeven
8270b5f037aSGeert Uytterhoeven	  This driver can also be built as a module. If so, the module
8280b5f037aSGeert Uytterhoeven	  will be called rtc-ps3.
8290b5f037aSGeert Uytterhoeven
830aa958f57SLinus Walleijconfig RTC_DRV_COH901331
831aa958f57SLinus Walleij	tristate "ST-Ericsson COH 901 331 RTC"
832aa958f57SLinus Walleij	depends on ARCH_U300
833aa958f57SLinus Walleij	help
834aa958f57SLinus Walleij	  If you say Y here you will get access to ST-Ericsson
835aa958f57SLinus Walleij	  COH 901 331 RTC clock found in some ST-Ericsson Mobile
836aa958f57SLinus Walleij	  Platforms.
837aa958f57SLinus Walleij
838aa958f57SLinus Walleij	  This driver can also be built as a module. If so, the module
839aa958f57SLinus Walleij	  will be called "rtc-coh901331".
840aa958f57SLinus Walleij
841aa958f57SLinus Walleij
842df17f631Sdmitry pervushinconfig RTC_DRV_STMP
843df17f631Sdmitry pervushin	tristate "Freescale STMP3xxx RTC"
844df17f631Sdmitry pervushin	depends on ARCH_STMP3XXX
845df17f631Sdmitry pervushin	help
846df17f631Sdmitry pervushin	  If you say yes here you will get support for the onboard
847df17f631Sdmitry pervushin	  STMP3xxx RTC.
848df17f631Sdmitry pervushin
849df17f631Sdmitry pervushin	  This driver can also be built as a module. If so, the module
850df17f631Sdmitry pervushin	  will be called rtc-stmp3xxx.
851df17f631Sdmitry pervushin
852d3c7a3f7SDaniel Ribeiroconfig RTC_DRV_PCAP
853d3c7a3f7SDaniel Ribeiro	tristate "PCAP RTC"
854d3c7a3f7SDaniel Ribeiro	depends on EZX_PCAP
855d3c7a3f7SDaniel Ribeiro	help
856d3c7a3f7SDaniel Ribeiro	  If you say Y here you will get support for the RTC found on
857d3c7a3f7SDaniel Ribeiro	  the PCAP2 ASIC used on some Motorola phones.
858d3c7a3f7SDaniel Ribeiro
85943299f28SUwe Kleine-Königconfig RTC_DRV_MC13783
86043299f28SUwe Kleine-König	depends on MFD_MC13783
86143299f28SUwe Kleine-König	tristate "Freescale MC13783 RTC"
86243299f28SUwe Kleine-König	help
86343299f28SUwe Kleine-König	  This enables support for the Freescale MC13783 PMIC RTC
86443299f28SUwe Kleine-König
865bb35fb20SJan Engelhardtendif # RTC_CLASS
866