xref: /linux/drivers/rtc/Kconfig (revision df17f63173bcfcc8b4b90f63bf88f54ca0dd2dd7)
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
245afd8d0f9SDavid Brownellconfig RTC_DRV_DM355EVM
246afd8d0f9SDavid Brownell	tristate "TI DaVinci DM355 EVM RTC"
247afd8d0f9SDavid Brownell	depends on MFD_DM355EVM_MSP
248afd8d0f9SDavid Brownell	help
249afd8d0f9SDavid Brownell	  Supports the RTC firmware in the MSP430 on the DM355 EVM.
250afd8d0f9SDavid Brownell
2510c4a59feSTony Lindgrenconfig RTC_DRV_TWL92330
2520c4a59feSTony Lindgren	boolean "TI TWL92330/Menelaus"
253bb35fb20SJan Engelhardt	depends on MENELAUS
2540c4a59feSTony Lindgren	help
2550c4a59feSTony Lindgren	  If you say yes here you get support for the RTC on the
25601dd2fbfSMatt LaPlante	  TWL92330 "Menelaus" power management chip, used with OMAP2
2570c4a59feSTony Lindgren	  platforms. The support is integrated with the rest of
2580c4a59feSTony Lindgren	  the Menelaus driver; it's not separate module.
2590c4a59feSTony Lindgren
260f96411abSDavid Brownellconfig RTC_DRV_TWL4030
261f96411abSDavid Brownell	tristate "TI TWL4030/TWL5030/TPS659x0"
262f96411abSDavid Brownell	depends on RTC_CLASS && TWL4030_CORE
263f96411abSDavid Brownell	help
264f96411abSDavid Brownell	  If you say yes here you get support for the RTC on the
265f96411abSDavid Brownell	  TWL4030 family chips, used mostly with OMAP3 platforms.
266f96411abSDavid Brownell
267f96411abSDavid Brownell	  This driver can also be built as a module. If so, the module
268f96411abSDavid Brownell	  will be called rtc-twl4030.
269f96411abSDavid Brownell
270c46288b0SByron Bradleyconfig RTC_DRV_S35390A
271c46288b0SByron Bradley	tristate "Seiko Instruments S-35390A"
272d479540dSRandy Dunlap	select BITREVERSE
273c46288b0SByron Bradley	help
274c46288b0SByron Bradley	  If you say yes here you will get support for the Seiko
275c46288b0SByron Bradley	  Instruments S-35390A.
276c46288b0SByron Bradley
277c46288b0SByron Bradley	  This driver can also be built as a module. If so the module
278c46288b0SByron Bradley	  will be called rtc-s35390a.
279c46288b0SByron Bradley
280c6d8f400SSergey Lapinconfig RTC_DRV_FM3130
281c6d8f400SSergey Lapin	tristate "Ramtron FM3130"
282c6d8f400SSergey Lapin	help
283c6d8f400SSergey Lapin	  If you say Y here you will get support for the
284c6d8f400SSergey Lapin	  Ramtron FM3130 RTC chips.
285c6d8f400SSergey Lapin	  Ramtron FM3130 is a chip with two separate devices inside,
286c6d8f400SSergey Lapin	  RTC clock and FRAM. This driver provides only RTC functionality.
287c6d8f400SSergey Lapin
288c6d8f400SSergey Lapin	  This driver can also be built as a module. If so the module
289c6d8f400SSergey Lapin	  will be called rtc-fm3130.
290c6d8f400SSergey Lapin
291a7fa9851SMartyn Welchconfig RTC_DRV_RX8581
292a7fa9851SMartyn Welch	tristate "Epson RX-8581"
293a7fa9851SMartyn Welch	help
294a7fa9851SMartyn Welch	  If you say yes here you will get support for the Epson RX-8581.
295a7fa9851SMartyn Welch
296a7fa9851SMartyn Welch	  This driver can also be built as a module. If so the module
297a7fa9851SMartyn Welch	  will be called rtc-rx8581.
298a7fa9851SMartyn Welch
2993c2b9075SWolfgang Grandeggerconfig RTC_DRV_RX8025
3003c2b9075SWolfgang Grandegger	tristate "Epson RX-8025SA/NB"
3013c2b9075SWolfgang Grandegger	help
3023c2b9075SWolfgang Grandegger	  If you say yes here you get support for the Epson
3033c2b9075SWolfgang Grandegger	  RX-8025SA/NB RTC chips.
3043c2b9075SWolfgang Grandegger
3053c2b9075SWolfgang Grandegger	  This driver can also be built as a module. If so, the module
3063c2b9075SWolfgang Grandegger	  will be called rtc-rx8025.
3073c2b9075SWolfgang Grandegger
308bb35fb20SJan Engelhardtendif # I2C
309bb35fb20SJan Engelhardt
31009a21e56SAlessandro Zummocomment "SPI RTC drivers"
311bb35fb20SJan Engelhardt
312bb35fb20SJan Engelhardtif SPI_MASTER
31309a21e56SAlessandro Zummo
3148fc2c767SKim B. Heinoconfig RTC_DRV_M41T94
3158fc2c767SKim B. Heino	tristate "ST M41T94"
3168fc2c767SKim B. Heino	help
3178fc2c767SKim B. Heino	  If you say yes here you will get support for the
3188fc2c767SKim B. Heino	  ST M41T94 SPI RTC chip.
3198fc2c767SKim B. Heino
3208fc2c767SKim B. Heino	  This driver can also be built as a module. If so, the module
3218fc2c767SKim B. Heino	  will be called rtc-m41t94.
3228fc2c767SKim B. Heino
32353e84b67SDavid Brownellconfig RTC_DRV_DS1305
32453e84b67SDavid Brownell	tristate "Dallas/Maxim DS1305/DS1306"
32553e84b67SDavid Brownell	help
32653e84b67SDavid Brownell	  Select this driver to get support for the Dallas/Maxim DS1305
32753e84b67SDavid Brownell	  and DS1306 real time clock chips. These support a trickle
32853e84b67SDavid Brownell	  charger, alarms, and NVRAM in addition to the clock.
32953e84b67SDavid Brownell
33053e84b67SDavid Brownell	  This driver can also be built as a module. If so, the module
33153e84b67SDavid Brownell	  will be called rtc-ds1305.
33253e84b67SDavid Brownell
33306de1808SMark Jacksonconfig RTC_DRV_DS1390
33406de1808SMark Jackson	tristate "Dallas/Maxim DS1390/93/94"
33506de1808SMark Jackson	help
3367b9b2ef1SAlessandro Zummo	  If you say yes here you get support for the
3377b9b2ef1SAlessandro Zummo	  Dallas/Maxim DS1390/93/94 chips.
33806de1808SMark Jackson
33906de1808SMark Jackson	  This driver only supports the RTC feature, and not other chip
34006de1808SMark Jackson	  features such as alarms and trickle charging.
34106de1808SMark Jackson
34206de1808SMark Jackson	  This driver can also be built as a module. If so, the module
34306de1808SMark Jackson	  will be called rtc-ds1390.
34406de1808SMark Jackson
34509b6bdb3SAlessandro Zummoconfig RTC_DRV_MAX6902
34609b6bdb3SAlessandro Zummo	tristate "Maxim MAX6902"
34709b6bdb3SAlessandro Zummo	help
34809b6bdb3SAlessandro Zummo	  If you say yes here you will get support for the
34909b6bdb3SAlessandro Zummo	  Maxim MAX6902 SPI RTC chip.
35009b6bdb3SAlessandro Zummo
35109b6bdb3SAlessandro Zummo	  This driver can also be built as a module. If so, the module
35209b6bdb3SAlessandro Zummo	  will be called rtc-max6902.
35309b6bdb3SAlessandro Zummo
3542805b969SMagnus Dammconfig RTC_DRV_R9701
3552805b969SMagnus Damm	tristate "Epson RTC-9701JE"
3562805b969SMagnus Damm	help
3572805b969SMagnus Damm	  If you say yes here you will get support for the
3582805b969SMagnus Damm	  Epson RTC-9701JE SPI RTC chip.
3592805b969SMagnus Damm
3602805b969SMagnus Damm	  This driver can also be built as a module. If so, the module
3612805b969SMagnus Damm	  will be called rtc-r9701.
3622805b969SMagnus Damm
36309a21e56SAlessandro Zummoconfig RTC_DRV_RS5C348
36409a21e56SAlessandro Zummo	tristate "Ricoh RS5C348A/B"
36509a21e56SAlessandro Zummo	help
36609a21e56SAlessandro Zummo	  If you say yes here you get support for the
36709a21e56SAlessandro Zummo	  Ricoh RS5C348A and RS5C348B RTC chips.
36809a21e56SAlessandro Zummo
36909a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
37009a21e56SAlessandro Zummo	  will be called rtc-rs5c348.
37109a21e56SAlessandro Zummo
3722f9b75e0SDennis Aberillaconfig RTC_DRV_DS3234
3732f9b75e0SDennis Aberilla	tristate "Maxim/Dallas DS3234"
3742f9b75e0SDennis Aberilla	help
3752f9b75e0SDennis Aberilla	  If you say yes here you get support for the
3762f9b75e0SDennis Aberilla	  Maxim/Dallas DS3234 SPI RTC chip.
3772f9b75e0SDennis Aberilla
3782f9b75e0SDennis Aberilla	  This driver can also be built as a module. If so, the module
3792f9b75e0SDennis Aberilla	  will be called rtc-ds3234.
3802f9b75e0SDennis Aberilla
3817f3923a1SChris Vergesconfig RTC_DRV_PCF2123
3827f3923a1SChris Verges	tristate "NXP PCF2123"
3837f3923a1SChris Verges	help
3847f3923a1SChris Verges	  If you say yes here you get support for the NXP PCF2123
3857f3923a1SChris Verges	  RTC chip.
3867f3923a1SChris Verges
3877f3923a1SChris Verges	  This driver can also be built as a module. If so, the module
3887f3923a1SChris Verges	  will be called rtc-pcf2123.
3897f3923a1SChris Verges
390bb35fb20SJan Engelhardtendif # SPI_MASTER
391bb35fb20SJan Engelhardt
39209a21e56SAlessandro Zummocomment "Platform RTC drivers"
3930c86edc0SAlessandro Zummo
3947be2c7c9SDavid Brownell# this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h>
3957be2c7c9SDavid Brownell# requires <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
3967be2c7c9SDavid Brownell# global rtc_lock ... it's not yet just another platform_device.
3977be2c7c9SDavid Brownell
3987be2c7c9SDavid Brownellconfig RTC_DRV_CMOS
39909a21e56SAlessandro Zummo	tristate "PC-style 'CMOS'"
4005ec87708SAndrew Morton	depends on X86 || ALPHA || ARM || M32R || ATARI || PPC || MIPS || SPARC64
401c7500900SDavid Brownell	default y if X86
4027be2c7c9SDavid Brownell	help
4037be2c7c9SDavid Brownell	  Say "yes" here to get direct support for the real time clock
4047be2c7c9SDavid Brownell	  found in every PC or ACPI-based system, and some other boards.
4057be2c7c9SDavid Brownell	  Specifically the original MC146818, compatibles like those in
4067be2c7c9SDavid Brownell	  PC south bridges, the DS12887 or M48T86, some multifunction
4077be2c7c9SDavid Brownell	  or LPC bus chips, and so on.
4087be2c7c9SDavid Brownell
4097be2c7c9SDavid Brownell	  Your system will need to define the platform device used by
4107be2c7c9SDavid Brownell	  this driver, otherwise it won't be accessible. This means
4117be2c7c9SDavid Brownell	  you can safely enable this driver if you don't know whether
4127be2c7c9SDavid Brownell	  or not your board has this kind of hardware.
4137be2c7c9SDavid Brownell
4147be2c7c9SDavid Brownell	  This driver can also be built as a module. If so, the module
4157be2c7c9SDavid Brownell	  will be called rtc-cmos.
4167be2c7c9SDavid Brownell
417537739deSThomas Bogendoerferconfig RTC_DRV_DS1216
418537739deSThomas Bogendoerfer	tristate "Dallas DS1216"
419bb35fb20SJan Engelhardt	depends on SNI_RM
420537739deSThomas Bogendoerfer	help
421537739deSThomas Bogendoerfer	  If you say yes here you get support for the Dallas DS1216 RTC chips.
422537739deSThomas Bogendoerfer
4235f119f29SThomas Bogendoerferconfig RTC_DRV_DS1286
4245f119f29SThomas Bogendoerfer	tristate "Dallas DS1286"
4255f119f29SThomas Bogendoerfer	help
4265f119f29SThomas Bogendoerfer	  If you say yes here you get support for the Dallas DS1286 RTC chips.
4275f119f29SThomas Bogendoerfer
428739d340dSPaul Mundtconfig RTC_DRV_DS1302
429739d340dSPaul Mundt	tristate "Dallas DS1302"
430739d340dSPaul Mundt	depends on SH_SECUREEDGE5410
431739d340dSPaul Mundt	help
432739d340dSPaul Mundt	  If you say yes here you get support for the Dallas DS1302 RTC chips.
433739d340dSPaul Mundt
4348f26795aSAndrew Sharpconfig RTC_DRV_DS1511
4358f26795aSAndrew Sharp	tristate "Dallas DS1511"
4368f26795aSAndrew Sharp	depends on RTC_CLASS
4378f26795aSAndrew Sharp	help
4388f26795aSAndrew Sharp	  If you say yes here you get support for the
4398f26795aSAndrew Sharp	  Dallas DS1511 timekeeping/watchdog chip.
4408f26795aSAndrew Sharp
4418f26795aSAndrew Sharp	  This driver can also be built as a module. If so, the module
4428f26795aSAndrew Sharp	  will be called rtc-ds1511.
4438f26795aSAndrew Sharp
4449bf5b4f5SAtsushi Nemotoconfig RTC_DRV_DS1553
44509b6bdb3SAlessandro Zummo	tristate "Maxim/Dallas DS1553"
4469bf5b4f5SAtsushi Nemoto	help
4479bf5b4f5SAtsushi Nemoto	  If you say yes here you get support for the
44809b6bdb3SAlessandro Zummo	  Maxim/Dallas DS1553 timekeeping chip.
4499bf5b4f5SAtsushi Nemoto
4509bf5b4f5SAtsushi Nemoto	  This driver can also be built as a module. If so, the module
4519bf5b4f5SAtsushi Nemoto	  will be called rtc-ds1553.
4529bf5b4f5SAtsushi Nemoto
45309b6bdb3SAlessandro Zummoconfig RTC_DRV_DS1742
45409b6bdb3SAlessandro Zummo	tristate "Maxim/Dallas DS1742/1743"
45509b6bdb3SAlessandro Zummo	help
45609b6bdb3SAlessandro Zummo	  If you say yes here you get support for the
45709b6bdb3SAlessandro Zummo	  Maxim/Dallas DS1742/1743 timekeeping chip.
45809b6bdb3SAlessandro Zummo
45909b6bdb3SAlessandro Zummo	  This driver can also be built as a module. If so, the module
46009b6bdb3SAlessandro Zummo	  will be called rtc-ds1742.
46109b6bdb3SAlessandro Zummo
4625e3fd9e5Sdann frazierconfig RTC_DRV_EFI
4635e3fd9e5Sdann frazier	tristate "EFI RTC"
4645e3fd9e5Sdann frazier	depends on IA64
4655e3fd9e5Sdann frazier	help
4665e3fd9e5Sdann frazier	  If you say yes here you will get support for the EFI
4675e3fd9e5Sdann frazier	  Real Time Clock.
4685e3fd9e5Sdann frazier
4695e3fd9e5Sdann frazier	  This driver can also be built as a module. If so, the module
4705e3fd9e5Sdann frazier	  will be called rtc-efi.
4715e3fd9e5Sdann frazier
47202964115SThomas Hommelconfig RTC_DRV_STK17TA8
47302964115SThomas Hommel	tristate "Simtek STK17TA8"
47402964115SThomas Hommel	depends on RTC_CLASS
47502964115SThomas Hommel	help
47602964115SThomas Hommel	  If you say yes here you get support for the
47702964115SThomas Hommel	  Simtek STK17TA8 timekeeping chip.
47802964115SThomas Hommel
47902964115SThomas Hommel	  This driver can also be built as a module. If so, the module
48002964115SThomas Hommel	  will be called rtc-stk17ta8.
48102964115SThomas Hommel
48209a21e56SAlessandro Zummoconfig RTC_DRV_M48T86
48309a21e56SAlessandro Zummo	tristate "ST M48T86/Dallas DS12887"
48409a21e56SAlessandro Zummo	help
48509a21e56SAlessandro Zummo	  If you say Y here you will get support for the
48609a21e56SAlessandro Zummo	  ST M48T86 and Dallas DS12887 RTC chips.
48709a21e56SAlessandro Zummo
48809a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
48909a21e56SAlessandro Zummo	  will be called rtc-m48t86.
49009a21e56SAlessandro Zummo
491d1dbd82eSThomas Bogendoerferconfig RTC_DRV_M48T35
492d1dbd82eSThomas Bogendoerfer	tristate "ST M48T35"
493d1dbd82eSThomas Bogendoerfer	help
494d1dbd82eSThomas Bogendoerfer	  If you say Y here you will get support for the
495d1dbd82eSThomas Bogendoerfer	  ST M48T35 RTC chip.
496d1dbd82eSThomas Bogendoerfer
497d1dbd82eSThomas Bogendoerfer	  This driver can also be built as a module, if so, the module
498d1dbd82eSThomas Bogendoerfer	  will be called "rtc-m48t35".
499d1dbd82eSThomas Bogendoerfer
5002e774c7cSMark Zhanconfig RTC_DRV_M48T59
50194fe7424SKrzysztof Helt	tristate "ST M48T59/M48T08/M48T02"
5022e774c7cSMark Zhan	help
5032e774c7cSMark Zhan	  If you say Y here you will get support for the
50494fe7424SKrzysztof Helt	  ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
50594fe7424SKrzysztof Helt
50694fe7424SKrzysztof Helt	  These chips are usually found in Sun SPARC and UltraSPARC
50794fe7424SKrzysztof Helt	  workstations.
5082e774c7cSMark Zhan
5092e774c7cSMark Zhan	  This driver can also be built as a module, if so, the module
5102e774c7cSMark Zhan	  will be called "rtc-m48t59".
5112e774c7cSMark Zhan
512d00ed3cfSDaniel Mackconfig RTC_MXC
513d00ed3cfSDaniel Mack	tristate "Freescale MXC Real Time Clock"
514d00ed3cfSDaniel Mack	depends on ARCH_MXC
515d00ed3cfSDaniel Mack	depends on RTC_CLASS
516d00ed3cfSDaniel Mack	help
517d00ed3cfSDaniel Mack	   If you say yes here you get support for the Freescale MXC
518d00ed3cfSDaniel Mack	   RTC module.
519d00ed3cfSDaniel Mack
520d00ed3cfSDaniel Mack	   This driver can also be built as a module, if so, the module
521d00ed3cfSDaniel Mack	   will be called "rtc-mxc".
522d00ed3cfSDaniel Mack
523cca4c231SDavid S. Millerconfig RTC_DRV_BQ4802
524cca4c231SDavid S. Miller	tristate "TI BQ4802"
525cca4c231SDavid S. Miller	help
526cca4c231SDavid S. Miller	  If you say Y here you will get support for the TI
527cca4c231SDavid S. Miller	  BQ4802 RTC chip.
528cca4c231SDavid S. Miller
529cca4c231SDavid S. Miller	  This driver can also be built as a module. If so, the module
530cca4c231SDavid S. Miller	  will be called rtc-bq4802.
531cca4c231SDavid S. Miller
53209a21e56SAlessandro Zummoconfig RTC_DRV_V3020
53309a21e56SAlessandro Zummo	tristate "EM Microelectronic V3020"
53409a21e56SAlessandro Zummo	help
53509a21e56SAlessandro Zummo	  If you say yes here you will get support for the
53609a21e56SAlessandro Zummo	  EM Microelectronic v3020 RTC chip.
53709a21e56SAlessandro Zummo
53809a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
53909a21e56SAlessandro Zummo	  will be called rtc-v3020.
54009a21e56SAlessandro Zummo
54135c86bf6SMark Brownconfig RTC_DRV_WM831X
54235c86bf6SMark Brown	tristate "Wolfson Microelectronics WM831x RTC"
54335c86bf6SMark Brown	depends on MFD_WM831X
54435c86bf6SMark Brown	help
54535c86bf6SMark Brown	  If you say yes here you will get support for the RTC subsystem
54635c86bf6SMark Brown	  of the Wolfson Microelectronics WM831X series PMICs.
54735c86bf6SMark Brown
54835c86bf6SMark Brown	  This driver can also be built as a module. If so, the module
54935c86bf6SMark Brown	  will be called "rtc-wm831x".
55035c86bf6SMark Brown
551077eaf5bSMark Brownconfig RTC_DRV_WM8350
552077eaf5bSMark Brown	tristate "Wolfson Microelectronics WM8350 RTC"
553077eaf5bSMark Brown	depends on MFD_WM8350
554077eaf5bSMark Brown	help
555077eaf5bSMark Brown	  If you say yes here you will get support for the RTC subsystem
556077eaf5bSMark Brown	  of the Wolfson Microelectronics WM8350.
557077eaf5bSMark Brown
558077eaf5bSMark Brown	  This driver can also be built as a module. If so, the module
559077eaf5bSMark Brown	  will be called "rtc-wm8350".
560077eaf5bSMark Brown
561eae854b2SBalaji Raoconfig RTC_DRV_PCF50633
562eae854b2SBalaji Rao	depends on MFD_PCF50633
563eae854b2SBalaji Rao	tristate "NXP PCF50633 RTC"
564eae854b2SBalaji Rao	help
565eae854b2SBalaji Rao	  If you say yes here you get support for the RTC subsystem of the
566eae854b2SBalaji Rao	  NXP PCF50633 used in embedded systems.
567eae854b2SBalaji Rao
568bd207cfbSLinus Walleijconfig RTC_DRV_AB3100
569bd207cfbSLinus Walleij	tristate "ST-Ericsson AB3100 RTC"
570bd207cfbSLinus Walleij	depends on AB3100_CORE
571bd207cfbSLinus Walleij	default y if AB3100_CORE
572bd207cfbSLinus Walleij	help
573bd207cfbSLinus Walleij	  Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
574bd207cfbSLinus Walleij	  support. This chip contains a battery- and capacitor-backed RTC.
575bd207cfbSLinus Walleij
576bd207cfbSLinus Walleij
57709a21e56SAlessandro Zummocomment "on-CPU RTC drivers"
57809a21e56SAlessandro Zummo
579db68b189SDavid Brownellconfig RTC_DRV_OMAP
580db68b189SDavid Brownell	tristate "TI OMAP1"
581bb35fb20SJan Engelhardt	depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730
582db68b189SDavid Brownell	help
583db68b189SDavid Brownell	  Say "yes" here to support the real time clock on TI OMAP1 chips.
584db68b189SDavid Brownell	  This driver can also be built as a module called rtc-omap.
585db68b189SDavid Brownell
5861add6781SBen Dooksconfig RTC_DRV_S3C
5871add6781SBen Dooks	tristate "Samsung S3C series SoC RTC"
588bb35fb20SJan Engelhardt	depends on ARCH_S3C2410
5891add6781SBen Dooks	help
5901add6781SBen Dooks	  RTC (Realtime Clock) driver for the clock inbuilt into the
5911add6781SBen Dooks	  Samsung S3C24XX series of SoCs. This can provide periodic
5921add6781SBen Dooks	  interrupt rates from 1Hz to 64Hz for user programs, and
5931add6781SBen Dooks	  wakeup from Alarm.
5941add6781SBen Dooks
5951add6781SBen Dooks	  The driver currently supports the common features on all the
5961add6781SBen Dooks	  S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
5971add6781SBen Dooks	  and S3C2442.
5981add6781SBen Dooks
5991add6781SBen Dooks	  This driver can also be build as a module. If so, the module
6001add6781SBen Dooks	  will be called rtc-s3c.
6011add6781SBen Dooks
602fd507e2fSAlessandro Zummoconfig RTC_DRV_EP93XX
603fd507e2fSAlessandro Zummo	tristate "Cirrus Logic EP93XX"
604bb35fb20SJan Engelhardt	depends on ARCH_EP93XX
605fd507e2fSAlessandro Zummo	help
606fd507e2fSAlessandro Zummo	  If you say yes here you get support for the
607fd507e2fSAlessandro Zummo	  RTC embedded in the Cirrus Logic EP93XX processors.
608fd507e2fSAlessandro Zummo
609fd507e2fSAlessandro Zummo	  This driver can also be built as a module. If so, the module
610fd507e2fSAlessandro Zummo	  will be called rtc-ep93xx.
611fd507e2fSAlessandro Zummo
612e842f1c8SRichard Purdieconfig RTC_DRV_SA1100
613e842f1c8SRichard Purdie	tristate "SA11x0/PXA2xx"
614bb35fb20SJan Engelhardt	depends on ARCH_SA1100 || ARCH_PXA
615e842f1c8SRichard Purdie	help
616e842f1c8SRichard Purdie	  If you say Y here you will get access to the real time clock
617e842f1c8SRichard Purdie	  built into your SA11x0 or PXA2xx CPU.
618e842f1c8SRichard Purdie
619e842f1c8SRichard Purdie	  To compile this driver as a module, choose M here: the
620e842f1c8SRichard Purdie	  module will be called rtc-sa1100.
621fd507e2fSAlessandro Zummo
622317a6104SPaul Mundtconfig RTC_DRV_SH
623317a6104SPaul Mundt	tristate "SuperH On-Chip RTC"
624063adc75SPaul Mundt	depends on RTC_CLASS && SUPERH && HAVE_CLK
625317a6104SPaul Mundt	help
626317a6104SPaul Mundt	  Say Y here to enable support for the on-chip RTC found in
627317a6104SPaul Mundt	  most SuperH processors.
628317a6104SPaul Mundt
629317a6104SPaul Mundt 	  To compile this driver as a module, choose M here: the
630317a6104SPaul Mundt	  module will be called rtc-sh.
631317a6104SPaul Mundt
6328417eb7aSYoichi Yuasaconfig RTC_DRV_VR41XX
6333e16f6afSAlessandro Zummo	tristate "NEC VR41XX"
634bb35fb20SJan Engelhardt	depends on CPU_VR41XX
6353e16f6afSAlessandro Zummo	help
6363e16f6afSAlessandro Zummo	  If you say Y here you will get access to the real time clock
6373e16f6afSAlessandro Zummo	  built into your NEC VR41XX CPU.
6383e16f6afSAlessandro Zummo
6393e16f6afSAlessandro Zummo	  To compile this driver as a module, choose M here: the
6403e16f6afSAlessandro Zummo	  module will be called rtc-vr41xx.
6418417eb7aSYoichi Yuasa
642a190901cSRussell Kingconfig RTC_DRV_PL030
643a190901cSRussell King	tristate "ARM AMBA PL030 RTC"
644a190901cSRussell King	depends on ARM_AMBA
645a190901cSRussell King	help
646a190901cSRussell King	  If you say Y here you will get access to ARM AMBA
647a190901cSRussell King	  PrimeCell PL030 RTC found on certain ARM SOCs.
648a190901cSRussell King
649a190901cSRussell King	  To compile this driver as a module, choose M here: the
650a190901cSRussell King	  module will be called rtc-pl030.
651a190901cSRussell King
6528ae6e163SDeepak Saxenaconfig RTC_DRV_PL031
6538ae6e163SDeepak Saxena	tristate "ARM AMBA PL031 RTC"
654bb35fb20SJan Engelhardt	depends on ARM_AMBA
6558ae6e163SDeepak Saxena	help
6568ae6e163SDeepak Saxena	  If you say Y here you will get access to ARM AMBA
65709a21e56SAlessandro Zummo	  PrimeCell PL031 RTC found on certain ARM SOCs.
6588ae6e163SDeepak Saxena
6598ae6e163SDeepak Saxena	  To compile this driver as a module, choose M here: the
6608ae6e163SDeepak Saxena	  module will be called rtc-pl031.
6618ae6e163SDeepak Saxena
662fa04e78bSHans-Christian Egtvedtconfig RTC_DRV_AT32AP700X
663fa04e78bSHans-Christian Egtvedt	tristate "AT32AP700X series RTC"
664bb35fb20SJan Engelhardt	depends on PLATFORM_AT32AP
665fa04e78bSHans-Christian Egtvedt	help
666fa04e78bSHans-Christian Egtvedt	  Driver for the internal RTC (Realtime Clock) on Atmel AVR32
667fa04e78bSHans-Christian Egtvedt	  AT32AP700x family processors.
668fa04e78bSHans-Christian Egtvedt
6697fc39f6dSAndrew Victorconfig RTC_DRV_AT91RM9200
6704cdf854fSDavid Brownell	tristate "AT91RM9200 or AT91SAM9RL"
6714cdf854fSDavid Brownell	depends on ARCH_AT91RM9200 || ARCH_AT91SAM9RL
672788b1fc6SAndrew Victor	help
6734cdf854fSDavid Brownell	  Driver for the internal RTC (Realtime Clock) module found on
6744cdf854fSDavid Brownell	  Atmel AT91RM9200's and AT91SAM9RL chips. On SAM9RL chips
6754cdf854fSDavid Brownell	  this is powered by the backup power supply.
6764cdf854fSDavid Brownell
6774cdf854fSDavid Brownellconfig RTC_DRV_AT91SAM9
6786b71dbf6SStelian Pop	tristate "AT91SAM9x/AT91CAP9"
6794cdf854fSDavid Brownell	depends on ARCH_AT91 && !(ARCH_AT91RM9200 || ARCH_AT91X40)
6804cdf854fSDavid Brownell	help
6816b71dbf6SStelian Pop	  RTC driver for the Atmel AT91SAM9x and AT91CAP9 internal RTT
6826b71dbf6SStelian Pop	  (Real Time Timer). These timers are powered by the backup power
6836b71dbf6SStelian Pop	  supply (such as a small coin cell battery), but do not need to
6846b71dbf6SStelian Pop	  be used as RTCs.
6854cdf854fSDavid Brownell
6864cdf854fSDavid Brownell	  (On AT91SAM9rl chips you probably want to use the dedicated RTC
6874cdf854fSDavid Brownell	  module and leave the RTT available for other uses.)
6884cdf854fSDavid Brownell
6894cdf854fSDavid Brownellconfig RTC_DRV_AT91SAM9_RTT
6904cdf854fSDavid Brownell	int
6914cdf854fSDavid Brownell	range 0 1
6924cdf854fSDavid Brownell	default 0
6934cdf854fSDavid Brownell	prompt "RTT module Number" if ARCH_AT91SAM9263
6944cdf854fSDavid Brownell	depends on RTC_DRV_AT91SAM9
6954cdf854fSDavid Brownell	help
6964cdf854fSDavid Brownell	  More than one RTT module is available. You can choose which
6974cdf854fSDavid Brownell	  one will be used as an RTC. The default of zero is normally
6984cdf854fSDavid Brownell	  OK to use, though some systems use that for non-RTC purposes.
6994cdf854fSDavid Brownell
7004cdf854fSDavid Brownellconfig RTC_DRV_AT91SAM9_GPBR
7014cdf854fSDavid Brownell	int
7024cdf854fSDavid Brownell	range 0 3 if !ARCH_AT91SAM9263
7034cdf854fSDavid Brownell	range 0 15 if ARCH_AT91SAM9263
7044cdf854fSDavid Brownell	default 0
7054cdf854fSDavid Brownell	prompt "Backup Register Number"
7064cdf854fSDavid Brownell	depends on RTC_DRV_AT91SAM9
7074cdf854fSDavid Brownell	help
7084cdf854fSDavid Brownell	  The RTC driver needs to use one of the General Purpose Backup
7094cdf854fSDavid Brownell	  Registers (GPBRs) as well as the RTT. You can choose which one
7104cdf854fSDavid Brownell	  will be used. The default of zero is normally OK to use, but
7114cdf854fSDavid Brownell	  on some systems other software needs to use that register.
712788b1fc6SAndrew Victor
71345fd8a0cSManuel Laussconfig RTC_DRV_AU1XXX
71445fd8a0cSManuel Lauss	tristate "Au1xxx Counter0 RTC support"
71545fd8a0cSManuel Lauss	depends on SOC_AU1X00
71645fd8a0cSManuel Lauss	help
71745fd8a0cSManuel Lauss	  This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
71845fd8a0cSManuel Lauss	  counter) to be used as a RTC.
71945fd8a0cSManuel Lauss
72045fd8a0cSManuel Lauss	  This driver can also be built as a module. If so, the module
72145fd8a0cSManuel Lauss	  will be called rtc-au1xxx.
72245fd8a0cSManuel Lauss
7238cc75c9aSWu, Bryanconfig RTC_DRV_BFIN
7248cc75c9aSWu, Bryan	tristate "Blackfin On-Chip RTC"
7257f604599SGraf Yang	depends on BLACKFIN && !BF561
7268cc75c9aSWu, Bryan	help
7278cc75c9aSWu, Bryan	  If you say yes here you will get support for the
7288cc75c9aSWu, Bryan	  Blackfin On-Chip Real Time Clock.
7298cc75c9aSWu, Bryan
7308cc75c9aSWu, Bryan	  This driver can also be built as a module. If so, the module
7318cc75c9aSWu, Bryan	  will be called rtc-bfin.
7328cc75c9aSWu, Bryan
733e9f2bd81SNobuhiro Iwamatsuconfig RTC_DRV_RS5C313
734e9f2bd81SNobuhiro Iwamatsu	tristate "Ricoh RS5C313"
735bb35fb20SJan Engelhardt	depends on SH_LANDISK
736e9f2bd81SNobuhiro Iwamatsu	help
737e9f2bd81SNobuhiro Iwamatsu	  If you say yes here you get support for the Ricoh RS5C313 RTC chips.
738e9f2bd81SNobuhiro Iwamatsu
7393afe6d04SGeert Uytterhoevenconfig RTC_DRV_GENERIC
7403afe6d04SGeert Uytterhoeven	tristate "Generic RTC support"
7413afe6d04SGeert Uytterhoeven	# Please consider writing a new RTC driver instead of using the generic
7423afe6d04SGeert Uytterhoeven	# RTC abstraction
74347c8a08bSPaul Mundt	depends on PARISC || M68K || PPC || SUPERH32
7449eb16864SKyle McMartin	help
7453afe6d04SGeert Uytterhoeven	  Say Y or M here to enable RTC support on systems using the generic
7463afe6d04SGeert Uytterhoeven	  RTC abstraction. If you do not know what you are doing, you should
7479eb16864SKyle McMartin	  just say Y.
7489eb16864SKyle McMartin
749dc944368SRobert Jarzmikconfig RTC_DRV_PXA
750dc944368SRobert Jarzmik       tristate "PXA27x/PXA3xx"
751dc944368SRobert Jarzmik       depends on ARCH_PXA
752dc944368SRobert Jarzmik       help
753dc944368SRobert Jarzmik         If you say Y here you will get access to the real time clock
754dc944368SRobert Jarzmik         built into your PXA27x or PXA3xx CPU.
755dc944368SRobert Jarzmik
756dc944368SRobert Jarzmik         This RTC driver uses PXA RTC registers available since pxa27x
757dc944368SRobert Jarzmik         series (RDxR, RYxR) instead of legacy RCNR, RTAR.
758dc944368SRobert Jarzmik
759dc944368SRobert Jarzmik
7607a138edeSDavid S. Millerconfig RTC_DRV_SUN4V
7617a138edeSDavid S. Miller	bool "SUN4V Hypervisor RTC"
7627a138edeSDavid S. Miller	depends on SPARC64
7637a138edeSDavid S. Miller	help
7647a138edeSDavid S. Miller	  If you say Y here you will get support for the Hypervisor
7657a138edeSDavid S. Miller	  based RTC on SUN4V systems.
7667a138edeSDavid S. Miller
767de2cf332SDavid S. Millerconfig RTC_DRV_STARFIRE
768de2cf332SDavid S. Miller	bool "Starfire RTC"
769de2cf332SDavid S. Miller	depends on SPARC64
770de2cf332SDavid S. Miller	help
771de2cf332SDavid S. Miller	  If you say Y here you will get support for the RTC found on
772de2cf332SDavid S. Miller	  Starfire systems.
773de2cf332SDavid S. Miller
7740e149233SAtsushi Nemotoconfig RTC_DRV_TX4939
7750e149233SAtsushi Nemoto	tristate "TX4939 SoC"
7760e149233SAtsushi Nemoto	depends on SOC_TX4939
7770e149233SAtsushi Nemoto	help
7780e149233SAtsushi Nemoto	  Driver for the internal RTC (Realtime Clock) module found on
7790e149233SAtsushi Nemoto	  Toshiba TX4939 SoC.
7800e149233SAtsushi Nemoto
781defb4514SSaeed Bisharaconfig RTC_DRV_MV
782defb4514SSaeed Bishara	tristate "Marvell SoC RTC"
783defb4514SSaeed Bishara	depends on ARCH_KIRKWOOD
784defb4514SSaeed Bishara	help
785defb4514SSaeed Bishara	  If you say yes here you will get support for the in-chip RTC
786defb4514SSaeed Bishara	  that can be found in some of Marvell's SoC devices, such as
787defb4514SSaeed Bishara	  the Kirkwood 88F6281 and 88F6192.
788defb4514SSaeed Bishara
789defb4514SSaeed Bishara	  This driver can also be built as a module. If so, the module
790defb4514SSaeed Bishara	  will be called rtc-mv.
791defb4514SSaeed Bishara
7920b5f037aSGeert Uytterhoevenconfig RTC_DRV_PS3
7930b5f037aSGeert Uytterhoeven	tristate "PS3 RTC"
7940b5f037aSGeert Uytterhoeven	depends on PPC_PS3
7950b5f037aSGeert Uytterhoeven	help
7960b5f037aSGeert Uytterhoeven	  If you say yes here you will get support for the RTC on PS3.
7970b5f037aSGeert Uytterhoeven
7980b5f037aSGeert Uytterhoeven	  This driver can also be built as a module. If so, the module
7990b5f037aSGeert Uytterhoeven	  will be called rtc-ps3.
8000b5f037aSGeert Uytterhoeven
801aa958f57SLinus Walleijconfig RTC_DRV_COH901331
802aa958f57SLinus Walleij	tristate "ST-Ericsson COH 901 331 RTC"
803aa958f57SLinus Walleij	depends on ARCH_U300
804aa958f57SLinus Walleij	help
805aa958f57SLinus Walleij	  If you say Y here you will get access to ST-Ericsson
806aa958f57SLinus Walleij	  COH 901 331 RTC clock found in some ST-Ericsson Mobile
807aa958f57SLinus Walleij	  Platforms.
808aa958f57SLinus Walleij
809aa958f57SLinus Walleij	  This driver can also be built as a module. If so, the module
810aa958f57SLinus Walleij	  will be called "rtc-coh901331".
811aa958f57SLinus Walleij
812aa958f57SLinus Walleij
813*df17f631Sdmitry pervushinconfig RTC_DRV_STMP
814*df17f631Sdmitry pervushin	tristate "Freescale STMP3xxx RTC"
815*df17f631Sdmitry pervushin	depends on ARCH_STMP3XXX
816*df17f631Sdmitry pervushin	help
817*df17f631Sdmitry pervushin	  If you say yes here you will get support for the onboard
818*df17f631Sdmitry pervushin	  STMP3xxx RTC.
819*df17f631Sdmitry pervushin
820*df17f631Sdmitry pervushin	  This driver can also be built as a module. If so, the module
821*df17f631Sdmitry pervushin	  will be called rtc-stmp3xxx.
822*df17f631Sdmitry pervushin
823bb35fb20SJan Engelhardtendif # RTC_CLASS
824