xref: /linux/drivers/rtc/Kconfig (revision a190901c6b5f1f4a31681e8c69d811a4f9426e2b)
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
72c5c3e192SAlessandro Zummo	  This driver can also be built as a module. If so, the module
73c5c3e192SAlessandro Zummo	  will be called rtc-sysfs.
74c5c3e192SAlessandro Zummo
75728a2947SAlessandro Zummoconfig RTC_INTF_PROC
76e40659c5SDavid Brownell	boolean "/proc/driver/rtc (procfs for rtc0)"
77bb35fb20SJan Engelhardt	depends on PROC_FS
78728a2947SAlessandro Zummo	default RTC_CLASS
79728a2947SAlessandro Zummo	help
809e86ecb6SDavid Brownell	  Say yes here if you want to use your first RTC through the proc
819e86ecb6SDavid Brownell	  interface, /proc/driver/rtc.  Other RTCs will not be available
829e86ecb6SDavid Brownell	  through that API.
83728a2947SAlessandro Zummo
84728a2947SAlessandro Zummo	  This driver can also be built as a module. If so, the module
85728a2947SAlessandro Zummo	  will be called rtc-proc.
86728a2947SAlessandro Zummo
87e824290eSAlessandro Zummoconfig RTC_INTF_DEV
88e40659c5SDavid Brownell	boolean "/dev/rtcN (character devices)"
89e824290eSAlessandro Zummo	default RTC_CLASS
90e824290eSAlessandro Zummo	help
919e86ecb6SDavid Brownell	  Say yes here if you want to use your RTCs using the /dev
929e86ecb6SDavid Brownell	  interfaces, which "udev" sets up as /dev/rtc0 through
939e86ecb6SDavid Brownell	  /dev/rtcN.  You may want to set up a symbolic link so one
949e86ecb6SDavid Brownell	  of these can be accessed as /dev/rtc, which is a name
959e86ecb6SDavid Brownell	  expected by "hwclock" and some other programs.
96e824290eSAlessandro Zummo
97e824290eSAlessandro Zummo	  This driver can also be built as a module. If so, the module
98e824290eSAlessandro Zummo	  will be called rtc-dev.
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.
107655066c3SAtsushi Nemoto
10809a21e56SAlessandro Zummoconfig RTC_DRV_TEST
10909a21e56SAlessandro Zummo	tristate "Test driver/device"
11009a21e56SAlessandro Zummo	help
11109a21e56SAlessandro Zummo	  If you say yes here you get support for the
11209a21e56SAlessandro Zummo	  RTC test driver. It's a software RTC which can be
11309a21e56SAlessandro Zummo	  used to test the RTC subsystem APIs. It gets
11409a21e56SAlessandro Zummo	  the time from the system clock.
11509a21e56SAlessandro Zummo	  You want this driver only if you are doing development
11609a21e56SAlessandro Zummo	  on the RTC subsystem. Please read the source code
11709a21e56SAlessandro Zummo	  for further details.
11809a21e56SAlessandro Zummo
11909a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
12009a21e56SAlessandro Zummo	  will be called rtc-test.
12109a21e56SAlessandro Zummo
12209a21e56SAlessandro Zummocomment "I2C RTC drivers"
123bb35fb20SJan Engelhardt	depends on I2C
124bb35fb20SJan Engelhardt
125bb35fb20SJan Engelhardtif I2C
12609a21e56SAlessandro Zummo
12709a21e56SAlessandro Zummoconfig RTC_DRV_DS1307
12809a21e56SAlessandro Zummo	tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00"
12909a21e56SAlessandro Zummo	help
13009a21e56SAlessandro Zummo	  If you say yes here you get support for various compatible RTC
13109a21e56SAlessandro Zummo	  chips (often with battery backup) connected with I2C.  This driver
13209a21e56SAlessandro Zummo	  should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
13309a21e56SAlessandro Zummo	  and probably other chips.  In some cases the RTC must already
13409a21e56SAlessandro Zummo	  have been initialized (by manufacturing or a bootloader).
13509a21e56SAlessandro Zummo
13609a21e56SAlessandro Zummo	  The first seven registers on these chips hold an RTC, and other
13709a21e56SAlessandro Zummo	  registers may add features such as NVRAM, a trickle charger for
138682d73f6SDavid Brownell	  the RTC/NVRAM backup power, and alarms.  NVRAM is visible in
139682d73f6SDavid Brownell	  sysfs, but other chip features may not be available.
14009a21e56SAlessandro Zummo
14109a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
14209a21e56SAlessandro Zummo	  will be called rtc-ds1307.
14309a21e56SAlessandro Zummo
144bf4994d7SScott Woodconfig RTC_DRV_DS1374
14509b6bdb3SAlessandro Zummo	tristate "Dallas/Maxim DS1374"
146bf4994d7SScott Wood	depends on RTC_CLASS && I2C
147bf4994d7SScott Wood	help
148bf4994d7SScott Wood	  If you say yes here you get support for Dallas Semiconductor
149bf4994d7SScott Wood	  DS1374 real-time clock chips.  If an interrupt is associated
150bf4994d7SScott Wood	  with the device, the alarm functionality is supported.
151bf4994d7SScott Wood
152bf4994d7SScott Wood	  This driver can also be built as a module.  If so, the module
153bf4994d7SScott Wood	  will be called rtc-ds1374.
154bf4994d7SScott Wood
15509a21e56SAlessandro Zummoconfig RTC_DRV_DS1672
15609a21e56SAlessandro Zummo	tristate "Dallas/Maxim DS1672"
15709a21e56SAlessandro Zummo	help
15809a21e56SAlessandro Zummo	  If you say yes here you get support for the
15909a21e56SAlessandro Zummo	  Dallas/Maxim DS1672 timekeeping chip.
16009a21e56SAlessandro Zummo
16109a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
16209a21e56SAlessandro Zummo	  will be called rtc-ds1672.
16309a21e56SAlessandro Zummo
16409a21e56SAlessandro Zummoconfig RTC_DRV_MAX6900
16509b6bdb3SAlessandro Zummo	tristate "Maxim MAX6900"
16609a21e56SAlessandro Zummo	help
16709a21e56SAlessandro Zummo	  If you say yes here you will get support for the
16809a21e56SAlessandro Zummo	  Maxim MAX6900 I2C RTC chip.
16909a21e56SAlessandro Zummo
17009a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
17109a21e56SAlessandro Zummo	  will be called rtc-max6900.
17209a21e56SAlessandro Zummo
17309a21e56SAlessandro Zummoconfig RTC_DRV_RS5C372
174d815461cSDavid Brownell	tristate "Ricoh RS5C372A/B, RV5C386, RV5C387A"
17509a21e56SAlessandro Zummo	help
17609a21e56SAlessandro Zummo	  If you say yes here you get support for the
177d815461cSDavid Brownell	  Ricoh RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
17809a21e56SAlessandro Zummo
17909a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
18009a21e56SAlessandro Zummo	  will be called rtc-rs5c372.
18109a21e56SAlessandro Zummo
18209a21e56SAlessandro Zummoconfig RTC_DRV_ISL1208
18309b6bdb3SAlessandro Zummo	tristate "Intersil ISL1208"
18409a21e56SAlessandro Zummo	help
18509a21e56SAlessandro Zummo	  If you say yes here you get support for the
18609b6bdb3SAlessandro Zummo	  Intersil ISL1208 RTC chip.
18709a21e56SAlessandro Zummo
18809a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
18909a21e56SAlessandro Zummo	  will be called rtc-isl1208.
19009a21e56SAlessandro Zummo
19109a21e56SAlessandro Zummoconfig RTC_DRV_X1205
19209a21e56SAlessandro Zummo	tristate "Xicor/Intersil X1205"
19309a21e56SAlessandro Zummo	help
19409a21e56SAlessandro Zummo	  If you say yes here you get support for the
19509a21e56SAlessandro Zummo	  Xicor/Intersil X1205 RTC chip.
19609a21e56SAlessandro Zummo
19709a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
19809a21e56SAlessandro Zummo	  will be called rtc-x1205.
19909a21e56SAlessandro Zummo
20009a21e56SAlessandro Zummoconfig RTC_DRV_PCF8563
20109a21e56SAlessandro Zummo	tristate "Philips PCF8563/Epson RTC8564"
20209a21e56SAlessandro Zummo	help
20309a21e56SAlessandro Zummo	  If you say yes here you get support for the
20409a21e56SAlessandro Zummo	  Philips PCF8563 RTC chip. The Epson RTC8564
20509a21e56SAlessandro Zummo	  should work as well.
20609a21e56SAlessandro Zummo
20709a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
20809a21e56SAlessandro Zummo	  will be called rtc-pcf8563.
20909a21e56SAlessandro Zummo
21009a21e56SAlessandro Zummoconfig RTC_DRV_PCF8583
21109a21e56SAlessandro Zummo	tristate "Philips PCF8583"
21209a21e56SAlessandro Zummo	help
21309a21e56SAlessandro Zummo	  If you say yes here you get support for the Philips PCF8583
21409a21e56SAlessandro Zummo	  RTC chip found on Acorn RiscPCs. This driver supports the
21509a21e56SAlessandro Zummo	  platform specific method of retrieving the current year from
21609a21e56SAlessandro Zummo	  the RTC's SRAM. It will work on other platforms with the same
21709a21e56SAlessandro Zummo	  chip, but the year will probably have to be tweaked.
21809a21e56SAlessandro Zummo
21909a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
22009a21e56SAlessandro Zummo	  will be called rtc-pcf8583.
22109a21e56SAlessandro Zummo
222caaff562SAtsushi Nemotoconfig RTC_DRV_M41T80
22309b6bdb3SAlessandro Zummo	tristate "ST M41T80/81/82/83/84/85/87"
224caaff562SAtsushi Nemoto	help
225caaff562SAtsushi Nemoto	  If you say Y here you will get support for the
226caaff562SAtsushi Nemoto	  ST M41T80 RTC chips series. Currently following chips are
227caaff562SAtsushi Nemoto	  supported: M41T80, M41T81, M41T82, M41T83, M41ST84, M41ST85
228caaff562SAtsushi Nemoto	  and M41ST87.
229caaff562SAtsushi Nemoto
230caaff562SAtsushi Nemoto	  This driver can also be built as a module. If so, the module
231caaff562SAtsushi Nemoto	  will be called rtc-m41t80.
232caaff562SAtsushi Nemoto
233617780d2SAtsushi Nemotoconfig RTC_DRV_M41T80_WDT
234617780d2SAtsushi Nemoto	bool "ST M41T80 series RTC watchdog timer"
235617780d2SAtsushi Nemoto	depends on RTC_DRV_M41T80
236617780d2SAtsushi Nemoto	help
237617780d2SAtsushi Nemoto	  If you say Y here you will get support for the
238617780d2SAtsushi Nemoto	  watchdog timer in ST M41T80 RTC chips series.
239617780d2SAtsushi Nemoto
2400c4a59feSTony Lindgrenconfig RTC_DRV_TWL92330
2410c4a59feSTony Lindgren	boolean "TI TWL92330/Menelaus"
242bb35fb20SJan Engelhardt	depends on MENELAUS
2430c4a59feSTony Lindgren	help
2440c4a59feSTony Lindgren	  If you say yes here you get support for the RTC on the
24501dd2fbfSMatt LaPlante	  TWL92330 "Menelaus" power management chip, used with OMAP2
2460c4a59feSTony Lindgren	  platforms.  The support is integrated with the rest of
2470c4a59feSTony Lindgren	  the Menelaus driver; it's not separate module.
2480c4a59feSTony Lindgren
249c46288b0SByron Bradleyconfig RTC_DRV_S35390A
250c46288b0SByron Bradley	tristate "Seiko Instruments S-35390A"
251d479540dSRandy Dunlap	select BITREVERSE
252c46288b0SByron Bradley	help
253c46288b0SByron Bradley	  If you say yes here you will get support for the Seiko
254c46288b0SByron Bradley	  Instruments S-35390A.
255c46288b0SByron Bradley
256c46288b0SByron Bradley	  This driver can also be built as a module. If so the module
257c46288b0SByron Bradley	  will be called rtc-s35390a.
258c46288b0SByron Bradley
259bb35fb20SJan Engelhardtendif # I2C
260bb35fb20SJan Engelhardt
26109a21e56SAlessandro Zummocomment "SPI RTC drivers"
262bb35fb20SJan Engelhardt
263bb35fb20SJan Engelhardtif SPI_MASTER
26409a21e56SAlessandro Zummo
26509b6bdb3SAlessandro Zummoconfig RTC_DRV_MAX6902
26609b6bdb3SAlessandro Zummo	tristate "Maxim MAX6902"
26709b6bdb3SAlessandro Zummo	help
26809b6bdb3SAlessandro Zummo	  If you say yes here you will get support for the
26909b6bdb3SAlessandro Zummo	  Maxim MAX6902 SPI RTC chip.
27009b6bdb3SAlessandro Zummo
27109b6bdb3SAlessandro Zummo	  This driver can also be built as a module. If so, the module
27209b6bdb3SAlessandro Zummo	  will be called rtc-max6902.
27309b6bdb3SAlessandro Zummo
2742805b969SMagnus Dammconfig RTC_DRV_R9701
2752805b969SMagnus Damm	tristate "Epson RTC-9701JE"
2762805b969SMagnus Damm	help
2772805b969SMagnus Damm	  If you say yes here you will get support for the
2782805b969SMagnus Damm	  Epson RTC-9701JE SPI RTC chip.
2792805b969SMagnus Damm
2802805b969SMagnus Damm	  This driver can also be built as a module. If so, the module
2812805b969SMagnus Damm	  will be called rtc-r9701.
2822805b969SMagnus Damm
28309a21e56SAlessandro Zummoconfig RTC_DRV_RS5C348
28409a21e56SAlessandro Zummo	tristate "Ricoh RS5C348A/B"
28509a21e56SAlessandro Zummo	help
28609a21e56SAlessandro Zummo	  If you say yes here you get support for the
28709a21e56SAlessandro Zummo	  Ricoh RS5C348A and RS5C348B RTC chips.
28809a21e56SAlessandro Zummo
28909a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
29009a21e56SAlessandro Zummo	  will be called rtc-rs5c348.
29109a21e56SAlessandro Zummo
292bb35fb20SJan Engelhardtendif # SPI_MASTER
293bb35fb20SJan Engelhardt
29409a21e56SAlessandro Zummocomment "Platform RTC drivers"
2950c86edc0SAlessandro Zummo
2967be2c7c9SDavid Brownell# this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h>
2977be2c7c9SDavid Brownell# requires <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
2987be2c7c9SDavid Brownell# global rtc_lock ... it's not yet just another platform_device.
2997be2c7c9SDavid Brownell
3007be2c7c9SDavid Brownellconfig RTC_DRV_CMOS
30109a21e56SAlessandro Zummo	tristate "PC-style 'CMOS'"
302bb35fb20SJan Engelhardt	depends on X86 || ALPHA || ARM || M32R || ATARI || PPC || MIPS
303c7500900SDavid Brownell	default y if X86
3047be2c7c9SDavid Brownell	help
3057be2c7c9SDavid Brownell	  Say "yes" here to get direct support for the real time clock
3067be2c7c9SDavid Brownell	  found in every PC or ACPI-based system, and some other boards.
3077be2c7c9SDavid Brownell	  Specifically the original MC146818, compatibles like those in
3087be2c7c9SDavid Brownell	  PC south bridges, the DS12887 or M48T86, some multifunction
3097be2c7c9SDavid Brownell	  or LPC bus chips, and so on.
3107be2c7c9SDavid Brownell
3117be2c7c9SDavid Brownell	  Your system will need to define the platform device used by
3127be2c7c9SDavid Brownell	  this driver, otherwise it won't be accessible.  This means
3137be2c7c9SDavid Brownell	  you can safely enable this driver if you don't know whether
3147be2c7c9SDavid Brownell	  or not your board has this kind of hardware.
3157be2c7c9SDavid Brownell
3167be2c7c9SDavid Brownell	  This driver can also be built as a module. If so, the module
3177be2c7c9SDavid Brownell	  will be called rtc-cmos.
3187be2c7c9SDavid Brownell
319537739deSThomas Bogendoerferconfig RTC_DRV_DS1216
320537739deSThomas Bogendoerfer	tristate "Dallas DS1216"
321bb35fb20SJan Engelhardt	depends on SNI_RM
322537739deSThomas Bogendoerfer	help
323537739deSThomas Bogendoerfer	  If you say yes here you get support for the Dallas DS1216 RTC chips.
324537739deSThomas Bogendoerfer
325739d340dSPaul Mundtconfig RTC_DRV_DS1302
326739d340dSPaul Mundt	tristate "Dallas DS1302"
327739d340dSPaul Mundt	depends on SH_SECUREEDGE5410
328739d340dSPaul Mundt	help
329739d340dSPaul Mundt	  If you say yes here you get support for the Dallas DS1302 RTC chips.
330739d340dSPaul Mundt
3318f26795aSAndrew Sharpconfig RTC_DRV_DS1511
3328f26795aSAndrew Sharp	tristate "Dallas DS1511"
3338f26795aSAndrew Sharp	depends on RTC_CLASS
3348f26795aSAndrew Sharp	help
3358f26795aSAndrew Sharp	  If you say yes here you get support for the
3368f26795aSAndrew Sharp	  Dallas DS1511 timekeeping/watchdog chip.
3378f26795aSAndrew Sharp
3388f26795aSAndrew Sharp	  This driver can also be built as a module. If so, the module
3398f26795aSAndrew Sharp	  will be called rtc-ds1511.
3408f26795aSAndrew Sharp
3419bf5b4f5SAtsushi Nemotoconfig RTC_DRV_DS1553
34209b6bdb3SAlessandro Zummo	tristate "Maxim/Dallas DS1553"
3439bf5b4f5SAtsushi Nemoto	help
3449bf5b4f5SAtsushi Nemoto	  If you say yes here you get support for the
34509b6bdb3SAlessandro Zummo	  Maxim/Dallas DS1553 timekeeping chip.
3469bf5b4f5SAtsushi Nemoto
3479bf5b4f5SAtsushi Nemoto	  This driver can also be built as a module. If so, the module
3489bf5b4f5SAtsushi Nemoto	  will be called rtc-ds1553.
3499bf5b4f5SAtsushi Nemoto
35009b6bdb3SAlessandro Zummoconfig RTC_DRV_DS1742
35109b6bdb3SAlessandro Zummo	tristate "Maxim/Dallas DS1742/1743"
35209b6bdb3SAlessandro Zummo	help
35309b6bdb3SAlessandro Zummo	  If you say yes here you get support for the
35409b6bdb3SAlessandro Zummo	  Maxim/Dallas DS1742/1743 timekeeping chip.
35509b6bdb3SAlessandro Zummo
35609b6bdb3SAlessandro Zummo	  This driver can also be built as a module. If so, the module
35709b6bdb3SAlessandro Zummo	  will be called rtc-ds1742.
35809b6bdb3SAlessandro Zummo
35902964115SThomas Hommelconfig RTC_DRV_STK17TA8
36002964115SThomas Hommel	tristate "Simtek STK17TA8"
36102964115SThomas Hommel	depends on RTC_CLASS
36202964115SThomas Hommel	help
36302964115SThomas Hommel	  If you say yes here you get support for the
36402964115SThomas Hommel	  Simtek STK17TA8 timekeeping chip.
36502964115SThomas Hommel
36602964115SThomas Hommel	  This driver can also be built as a module. If so, the module
36702964115SThomas Hommel	  will be called rtc-stk17ta8.
36802964115SThomas Hommel
36909a21e56SAlessandro Zummoconfig RTC_DRV_M48T86
37009a21e56SAlessandro Zummo	tristate "ST M48T86/Dallas DS12887"
37109a21e56SAlessandro Zummo	help
37209a21e56SAlessandro Zummo	  If you say Y here you will get support for the
37309a21e56SAlessandro Zummo	  ST M48T86 and Dallas DS12887 RTC chips.
37409a21e56SAlessandro Zummo
37509a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
37609a21e56SAlessandro Zummo	  will be called rtc-m48t86.
37709a21e56SAlessandro Zummo
3782e774c7cSMark Zhanconfig RTC_DRV_M48T59
3792e774c7cSMark Zhan	tristate "ST M48T59"
3802e774c7cSMark Zhan	help
3812e774c7cSMark Zhan	  If you say Y here you will get support for the
3822e774c7cSMark Zhan	  ST M48T59 RTC chip.
3832e774c7cSMark Zhan
3842e774c7cSMark Zhan	  This driver can also be built as a module, if so, the module
3852e774c7cSMark Zhan	  will be called "rtc-m48t59".
3862e774c7cSMark Zhan
38709a21e56SAlessandro Zummoconfig RTC_DRV_V3020
38809a21e56SAlessandro Zummo	tristate "EM Microelectronic V3020"
38909a21e56SAlessandro Zummo	help
39009a21e56SAlessandro Zummo	  If you say yes here you will get support for the
39109a21e56SAlessandro Zummo	  EM Microelectronic v3020 RTC chip.
39209a21e56SAlessandro Zummo
39309a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
39409a21e56SAlessandro Zummo	  will be called rtc-v3020.
39509a21e56SAlessandro Zummo
39609a21e56SAlessandro Zummocomment "on-CPU RTC drivers"
39709a21e56SAlessandro Zummo
398db68b189SDavid Brownellconfig RTC_DRV_OMAP
399db68b189SDavid Brownell	tristate "TI OMAP1"
400bb35fb20SJan Engelhardt	depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730
401db68b189SDavid Brownell	help
402db68b189SDavid Brownell	  Say "yes" here to support the real time clock on TI OMAP1 chips.
403db68b189SDavid Brownell	  This driver can also be built as a module called rtc-omap.
404db68b189SDavid Brownell
4051add6781SBen Dooksconfig RTC_DRV_S3C
4061add6781SBen Dooks	tristate "Samsung S3C series SoC RTC"
407bb35fb20SJan Engelhardt	depends on ARCH_S3C2410
4081add6781SBen Dooks	help
4091add6781SBen Dooks	  RTC (Realtime Clock) driver for the clock inbuilt into the
4101add6781SBen Dooks	  Samsung S3C24XX series of SoCs. This can provide periodic
4111add6781SBen Dooks	  interrupt rates from 1Hz to 64Hz for user programs, and
4121add6781SBen Dooks	  wakeup from Alarm.
4131add6781SBen Dooks
4141add6781SBen Dooks	  The driver currently supports the common features on all the
4151add6781SBen Dooks	  S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
4161add6781SBen Dooks	  and S3C2442.
4171add6781SBen Dooks
4181add6781SBen Dooks	  This driver can also be build as a module. If so, the module
4191add6781SBen Dooks	  will be called rtc-s3c.
4201add6781SBen Dooks
421fd507e2fSAlessandro Zummoconfig RTC_DRV_EP93XX
422fd507e2fSAlessandro Zummo	tristate "Cirrus Logic EP93XX"
423bb35fb20SJan Engelhardt	depends on ARCH_EP93XX
424fd507e2fSAlessandro Zummo	help
425fd507e2fSAlessandro Zummo	  If you say yes here you get support for the
426fd507e2fSAlessandro Zummo	  RTC embedded in the Cirrus Logic EP93XX processors.
427fd507e2fSAlessandro Zummo
428fd507e2fSAlessandro Zummo	  This driver can also be built as a module. If so, the module
429fd507e2fSAlessandro Zummo	  will be called rtc-ep93xx.
430fd507e2fSAlessandro Zummo
431e842f1c8SRichard Purdieconfig RTC_DRV_SA1100
432e842f1c8SRichard Purdie	tristate "SA11x0/PXA2xx"
433bb35fb20SJan Engelhardt	depends on ARCH_SA1100 || ARCH_PXA
434e842f1c8SRichard Purdie	help
435e842f1c8SRichard Purdie	  If you say Y here you will get access to the real time clock
436e842f1c8SRichard Purdie	  built into your SA11x0 or PXA2xx CPU.
437e842f1c8SRichard Purdie
438e842f1c8SRichard Purdie	  To compile this driver as a module, choose M here: the
439e842f1c8SRichard Purdie	  module will be called rtc-sa1100.
440fd507e2fSAlessandro Zummo
441317a6104SPaul Mundtconfig RTC_DRV_SH
442317a6104SPaul Mundt	tristate "SuperH On-Chip RTC"
443ff1b7506SPaul Mundt	depends on RTC_CLASS && SUPERH
444317a6104SPaul Mundt	help
445317a6104SPaul Mundt	  Say Y here to enable support for the on-chip RTC found in
446317a6104SPaul Mundt	  most SuperH processors.
447317a6104SPaul Mundt
448317a6104SPaul Mundt 	  To compile this driver as a module, choose M here: the
449317a6104SPaul Mundt	  module will be called rtc-sh.
450317a6104SPaul Mundt
4518417eb7aSYoichi Yuasaconfig RTC_DRV_VR41XX
4523e16f6afSAlessandro Zummo	tristate "NEC VR41XX"
453bb35fb20SJan Engelhardt	depends on CPU_VR41XX
4543e16f6afSAlessandro Zummo	help
4553e16f6afSAlessandro Zummo	  If you say Y here you will get access to the real time clock
4563e16f6afSAlessandro Zummo	  built into your NEC VR41XX CPU.
4573e16f6afSAlessandro Zummo
4583e16f6afSAlessandro Zummo	  To compile this driver as a module, choose M here: the
4593e16f6afSAlessandro Zummo	  module will be called rtc-vr41xx.
4608417eb7aSYoichi Yuasa
461*a190901cSRussell Kingconfig RTC_DRV_PL030
462*a190901cSRussell King	tristate "ARM AMBA PL030 RTC"
463*a190901cSRussell King	depends on ARM_AMBA
464*a190901cSRussell King	help
465*a190901cSRussell King	  If you say Y here you will get access to ARM AMBA
466*a190901cSRussell King	  PrimeCell PL030 RTC found on certain ARM SOCs.
467*a190901cSRussell King
468*a190901cSRussell King	  To compile this driver as a module, choose M here: the
469*a190901cSRussell King	  module will be called rtc-pl030.
470*a190901cSRussell King
4718ae6e163SDeepak Saxenaconfig RTC_DRV_PL031
4728ae6e163SDeepak Saxena	tristate "ARM AMBA PL031 RTC"
473bb35fb20SJan Engelhardt	depends on ARM_AMBA
4748ae6e163SDeepak Saxena	help
4758ae6e163SDeepak Saxena	  If you say Y here you will get access to ARM AMBA
47609a21e56SAlessandro Zummo	  PrimeCell PL031 RTC found on certain ARM SOCs.
4778ae6e163SDeepak Saxena
4788ae6e163SDeepak Saxena	  To compile this driver as a module, choose M here: the
4798ae6e163SDeepak Saxena	  module will be called rtc-pl031.
4808ae6e163SDeepak Saxena
481fa04e78bSHans-Christian Egtvedtconfig RTC_DRV_AT32AP700X
482fa04e78bSHans-Christian Egtvedt	tristate "AT32AP700X series RTC"
483bb35fb20SJan Engelhardt	depends on PLATFORM_AT32AP
484fa04e78bSHans-Christian Egtvedt	help
485fa04e78bSHans-Christian Egtvedt	  Driver for the internal RTC (Realtime Clock) on Atmel AVR32
486fa04e78bSHans-Christian Egtvedt	  AT32AP700x family processors.
487fa04e78bSHans-Christian Egtvedt
4887fc39f6dSAndrew Victorconfig RTC_DRV_AT91RM9200
4894cdf854fSDavid Brownell	tristate "AT91RM9200 or AT91SAM9RL"
4904cdf854fSDavid Brownell	depends on ARCH_AT91RM9200 || ARCH_AT91SAM9RL
491788b1fc6SAndrew Victor	help
4924cdf854fSDavid Brownell	  Driver for the internal RTC (Realtime Clock) module found on
4934cdf854fSDavid Brownell	  Atmel AT91RM9200's and AT91SAM9RL chips.  On SAM9RL chips
4944cdf854fSDavid Brownell	  this is powered by the backup power supply.
4954cdf854fSDavid Brownell
4964cdf854fSDavid Brownellconfig RTC_DRV_AT91SAM9
4974cdf854fSDavid Brownell	tristate "AT91SAM9x"
4984cdf854fSDavid Brownell	depends on ARCH_AT91 && !(ARCH_AT91RM9200 || ARCH_AT91X40)
4994cdf854fSDavid Brownell	help
5004cdf854fSDavid Brownell	  RTC driver for the Atmel AT91SAM9x internal RTT (Real Time Timer).
5014cdf854fSDavid Brownell	  These timers are powered by the backup power supply (such as a
5024cdf854fSDavid Brownell	  small coin cell battery), but do not need to be used as RTCs.
5034cdf854fSDavid Brownell
5044cdf854fSDavid Brownell	  (On AT91SAM9rl chips you probably want to use the dedicated RTC
5054cdf854fSDavid Brownell	  module and leave the RTT available for other uses.)
5064cdf854fSDavid Brownell
5074cdf854fSDavid Brownellconfig RTC_DRV_AT91SAM9_RTT
5084cdf854fSDavid Brownell	int
5094cdf854fSDavid Brownell	range 0 1
5104cdf854fSDavid Brownell	default 0
5114cdf854fSDavid Brownell	prompt "RTT module Number" if ARCH_AT91SAM9263
5124cdf854fSDavid Brownell	depends on RTC_DRV_AT91SAM9
5134cdf854fSDavid Brownell	help
5144cdf854fSDavid Brownell	  More than one RTT module is available.  You can choose which
5154cdf854fSDavid Brownell	  one will be used as an RTC.  The default of zero is normally
5164cdf854fSDavid Brownell	  OK to use, though some systems use that for non-RTC purposes.
5174cdf854fSDavid Brownell
5184cdf854fSDavid Brownellconfig RTC_DRV_AT91SAM9_GPBR
5194cdf854fSDavid Brownell	int
5204cdf854fSDavid Brownell	range 0 3 if !ARCH_AT91SAM9263
5214cdf854fSDavid Brownell	range 0 15 if ARCH_AT91SAM9263
5224cdf854fSDavid Brownell	default 0
5234cdf854fSDavid Brownell	prompt "Backup Register Number"
5244cdf854fSDavid Brownell	depends on RTC_DRV_AT91SAM9
5254cdf854fSDavid Brownell	help
5264cdf854fSDavid Brownell	  The RTC driver needs to use one of the General Purpose Backup
5274cdf854fSDavid Brownell	  Registers (GPBRs) as well as the RTT.  You can choose which one
5284cdf854fSDavid Brownell	  will be used.  The default of zero is normally OK to use, but
5294cdf854fSDavid Brownell	  on some systems other software needs to use that register.
530788b1fc6SAndrew Victor
5318cc75c9aSWu, Bryanconfig RTC_DRV_BFIN
5328cc75c9aSWu, Bryan	tristate "Blackfin On-Chip RTC"
533529a73fbSMike Frysinger	depends on BLACKFIN
5348cc75c9aSWu, Bryan	help
5358cc75c9aSWu, Bryan	  If you say yes here you will get support for the
5368cc75c9aSWu, Bryan	  Blackfin On-Chip Real Time Clock.
5378cc75c9aSWu, Bryan
5388cc75c9aSWu, Bryan	  This driver can also be built as a module. If so, the module
5398cc75c9aSWu, Bryan	  will be called rtc-bfin.
5408cc75c9aSWu, Bryan
541e9f2bd81SNobuhiro Iwamatsuconfig RTC_DRV_RS5C313
542e9f2bd81SNobuhiro Iwamatsu	tristate "Ricoh RS5C313"
543bb35fb20SJan Engelhardt	depends on SH_LANDISK
544e9f2bd81SNobuhiro Iwamatsu	help
545e9f2bd81SNobuhiro Iwamatsu	  If you say yes here you get support for the Ricoh RS5C313 RTC chips.
546e9f2bd81SNobuhiro Iwamatsu
547bb35fb20SJan Engelhardtendif # RTC_CLASS
548