xref: /linux-6.15/drivers/rtc/Kconfig (revision 55ff1aba)
17be2c7c9SDavid Brownell#
2c58411e9SAlessandro Zummo# RTC class/drivers configuration
3c58411e9SAlessandro Zummo#
4c58411e9SAlessandro Zummo
50c86edc0SAlessandro Zummomenu "Real Time Clock"
69556fb73SMartin Schwidefsky	depends on !S390
70c86edc0SAlessandro Zummo
8c58411e9SAlessandro Zummoconfig RTC_LIB
9c58411e9SAlessandro Zummo	tristate
100c86edc0SAlessandro Zummo
110c86edc0SAlessandro Zummoconfig RTC_CLASS
120c86edc0SAlessandro Zummo	tristate "RTC class"
130c86edc0SAlessandro Zummo	default n
140c86edc0SAlessandro Zummo	select RTC_LIB
150c86edc0SAlessandro Zummo	help
160c86edc0SAlessandro Zummo	  Generic RTC class support. If you say yes here, you will
170c86edc0SAlessandro Zummo 	  be allowed to plug one or more RTCs to your system. You will
1827ae4104SAdrian Bunk	  probably want to enable one or more of the interfaces below.
190c86edc0SAlessandro Zummo
200c86edc0SAlessandro Zummo	  This driver can also be built as a module. If so, the module
210c86edc0SAlessandro Zummo	  will be called rtc-class.
220c86edc0SAlessandro Zummo
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
397ca1d488SDavid Brownell	  starts up, and when it resumes from a low power state.
407ca1d488SDavid Brownell
41*55ff1abaSDavid Brownell	  The driver for this RTC device must be loaded before late_initcall
42*55ff1abaSDavid Brownell	  functions run, so it must usually be statically linked.
43*55ff1abaSDavid Brownell
447ca1d488SDavid Brownell	  This clock should be battery-backed, so that it reads the correct
457ca1d488SDavid Brownell	  time when the system boots from a power-off state.  Otherwise, your
467ca1d488SDavid Brownell	  system will need an external clock source (like an NTP server).
477ca1d488SDavid Brownell
487ca1d488SDavid Brownell	  If the clock you specify here is not battery backed, it may still
497ca1d488SDavid Brownell	  be useful to reinitialize system time when resuming from system
507ca1d488SDavid Brownell	  sleep states.  Do not specify an RTC here unless it stays powered
517ca1d488SDavid Brownell	  during all this system's supported sleep states.
520c86edc0SAlessandro Zummo
539e86ecb6SDavid Brownellconfig RTC_DEBUG
549e86ecb6SDavid Brownell	bool "RTC debug support"
559e86ecb6SDavid Brownell	depends on RTC_CLASS = y
569e86ecb6SDavid Brownell	help
579e86ecb6SDavid Brownell	  Say yes here to enable debugging support in the RTC framework
589e86ecb6SDavid Brownell	  and individual RTC drivers.
599e86ecb6SDavid Brownell
600c86edc0SAlessandro Zummocomment "RTC interfaces"
610c86edc0SAlessandro Zummo	depends on RTC_CLASS
620c86edc0SAlessandro Zummo
63c5c3e192SAlessandro Zummoconfig RTC_INTF_SYSFS
64e40659c5SDavid Brownell	boolean "/sys/class/rtc/rtcN (sysfs)"
65c5c3e192SAlessandro Zummo	depends on RTC_CLASS && SYSFS
66c5c3e192SAlessandro Zummo	default RTC_CLASS
67c5c3e192SAlessandro Zummo	help
689e86ecb6SDavid Brownell	  Say yes here if you want to use your RTCs using sysfs interfaces,
699e86ecb6SDavid Brownell	  /sys/class/rtc/rtc0 through /sys/.../rtcN.
70c5c3e192SAlessandro Zummo
71c5c3e192SAlessandro Zummo	  This driver can also be built as a module. If so, the module
72c5c3e192SAlessandro Zummo	  will be called rtc-sysfs.
73c5c3e192SAlessandro Zummo
74728a2947SAlessandro Zummoconfig RTC_INTF_PROC
75e40659c5SDavid Brownell	boolean "/proc/driver/rtc (procfs for rtc0)"
76728a2947SAlessandro Zummo	depends on RTC_CLASS && 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
83728a2947SAlessandro Zummo	  This driver can also be built as a module. If so, the module
84728a2947SAlessandro Zummo	  will be called rtc-proc.
85728a2947SAlessandro Zummo
86e824290eSAlessandro Zummoconfig RTC_INTF_DEV
87e40659c5SDavid Brownell	boolean "/dev/rtcN (character devices)"
88e824290eSAlessandro Zummo	depends on RTC_CLASS
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	depends on RTC_CLASS
11109a21e56SAlessandro Zummo	help
11209a21e56SAlessandro Zummo	  If you say yes here you get support for the
11309a21e56SAlessandro Zummo	  RTC test driver. It's a software RTC which can be
11409a21e56SAlessandro Zummo	  used to test the RTC subsystem APIs. It gets
11509a21e56SAlessandro Zummo	  the time from the system clock.
11609a21e56SAlessandro Zummo	  You want this driver only if you are doing development
11709a21e56SAlessandro Zummo	  on the RTC subsystem. Please read the source code
11809a21e56SAlessandro Zummo	  for further details.
11909a21e56SAlessandro Zummo
12009a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
12109a21e56SAlessandro Zummo	  will be called rtc-test.
12209a21e56SAlessandro Zummo
12309a21e56SAlessandro Zummocomment "I2C RTC drivers"
1245663c14bSDavid Brownell	depends on RTC_CLASS && I2C
12509a21e56SAlessandro Zummo
12609a21e56SAlessandro Zummoconfig RTC_DRV_DS1307
12709a21e56SAlessandro Zummo	tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00"
12809a21e56SAlessandro Zummo	depends on RTC_CLASS && I2C
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
13809a21e56SAlessandro Zummo	  the RTC/NVRAM backup power, and alarms.  This driver may not
13909a21e56SAlessandro Zummo	  expose all those available chip features.
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
14409a21e56SAlessandro Zummoconfig RTC_DRV_DS1672
14509a21e56SAlessandro Zummo	tristate "Dallas/Maxim DS1672"
14609a21e56SAlessandro Zummo	depends on RTC_CLASS && I2C
14709a21e56SAlessandro Zummo	help
14809a21e56SAlessandro Zummo	  If you say yes here you get support for the
14909a21e56SAlessandro Zummo	  Dallas/Maxim DS1672 timekeeping chip.
15009a21e56SAlessandro Zummo
15109a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
15209a21e56SAlessandro Zummo	  will be called rtc-ds1672.
15309a21e56SAlessandro Zummo
15409a21e56SAlessandro Zummoconfig RTC_DRV_MAX6900
15509a21e56SAlessandro Zummo	tristate "Maxim 6900"
15609a21e56SAlessandro Zummo	depends on RTC_CLASS && I2C
15709a21e56SAlessandro Zummo	help
15809a21e56SAlessandro Zummo	  If you say yes here you will get support for the
15909a21e56SAlessandro Zummo	  Maxim MAX6900 I2C RTC chip.
16009a21e56SAlessandro Zummo
16109a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
16209a21e56SAlessandro Zummo	  will be called rtc-max6900.
16309a21e56SAlessandro Zummo
16409a21e56SAlessandro Zummoconfig RTC_DRV_RS5C372
165d815461cSDavid Brownell	tristate "Ricoh RS5C372A/B, RV5C386, RV5C387A"
16609a21e56SAlessandro Zummo	depends on RTC_CLASS && I2C
16709a21e56SAlessandro Zummo	help
16809a21e56SAlessandro Zummo	  If you say yes here you get support for the
169d815461cSDavid Brownell	  Ricoh RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
17009a21e56SAlessandro Zummo
17109a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
17209a21e56SAlessandro Zummo	  will be called rtc-rs5c372.
17309a21e56SAlessandro Zummo
17409a21e56SAlessandro Zummoconfig RTC_DRV_ISL1208
17509a21e56SAlessandro Zummo	tristate "Intersil 1208"
17609a21e56SAlessandro Zummo	depends on RTC_CLASS && I2C
17709a21e56SAlessandro Zummo	help
17809a21e56SAlessandro Zummo	  If you say yes here you get support for the
17909a21e56SAlessandro Zummo	  Intersil 1208 RTC chip.
18009a21e56SAlessandro Zummo
18109a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
18209a21e56SAlessandro Zummo	  will be called rtc-isl1208.
18309a21e56SAlessandro Zummo
18409a21e56SAlessandro Zummoconfig RTC_DRV_X1205
18509a21e56SAlessandro Zummo	tristate "Xicor/Intersil X1205"
18609a21e56SAlessandro Zummo	depends on RTC_CLASS && I2C
18709a21e56SAlessandro Zummo	help
18809a21e56SAlessandro Zummo	  If you say yes here you get support for the
18909a21e56SAlessandro Zummo	  Xicor/Intersil X1205 RTC chip.
19009a21e56SAlessandro Zummo
19109a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
19209a21e56SAlessandro Zummo	  will be called rtc-x1205.
19309a21e56SAlessandro Zummo
19409a21e56SAlessandro Zummoconfig RTC_DRV_PCF8563
19509a21e56SAlessandro Zummo	tristate "Philips PCF8563/Epson RTC8564"
19609a21e56SAlessandro Zummo	depends on RTC_CLASS && I2C
19709a21e56SAlessandro Zummo	help
19809a21e56SAlessandro Zummo	  If you say yes here you get support for the
19909a21e56SAlessandro Zummo	  Philips PCF8563 RTC chip. The Epson RTC8564
20009a21e56SAlessandro Zummo	  should work as well.
20109a21e56SAlessandro Zummo
20209a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
20309a21e56SAlessandro Zummo	  will be called rtc-pcf8563.
20409a21e56SAlessandro Zummo
20509a21e56SAlessandro Zummoconfig RTC_DRV_PCF8583
20609a21e56SAlessandro Zummo	tristate "Philips PCF8583"
20709a21e56SAlessandro Zummo	depends on RTC_CLASS && I2C
20809a21e56SAlessandro Zummo	help
20909a21e56SAlessandro Zummo	  If you say yes here you get support for the Philips PCF8583
21009a21e56SAlessandro Zummo	  RTC chip found on Acorn RiscPCs. This driver supports the
21109a21e56SAlessandro Zummo	  platform specific method of retrieving the current year from
21209a21e56SAlessandro Zummo	  the RTC's SRAM. It will work on other platforms with the same
21309a21e56SAlessandro Zummo	  chip, but the year will probably have to be tweaked.
21409a21e56SAlessandro Zummo
21509a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
21609a21e56SAlessandro Zummo	  will be called rtc-pcf8583.
21709a21e56SAlessandro Zummo
218caaff562SAtsushi Nemotoconfig RTC_DRV_M41T80
219caaff562SAtsushi Nemoto	tristate "ST M41T80 series RTC"
220caaff562SAtsushi Nemoto	depends on RTC_CLASS && I2C
221caaff562SAtsushi Nemoto	help
222caaff562SAtsushi Nemoto	  If you say Y here you will get support for the
223caaff562SAtsushi Nemoto	  ST M41T80 RTC chips series. Currently following chips are
224caaff562SAtsushi Nemoto	  supported: M41T80, M41T81, M41T82, M41T83, M41ST84, M41ST85
225caaff562SAtsushi Nemoto	  and M41ST87.
226caaff562SAtsushi Nemoto
227caaff562SAtsushi Nemoto	  This driver can also be built as a module. If so, the module
228caaff562SAtsushi Nemoto	  will be called rtc-m41t80.
229caaff562SAtsushi Nemoto
230617780d2SAtsushi Nemotoconfig RTC_DRV_M41T80_WDT
231617780d2SAtsushi Nemoto	bool "ST M41T80 series RTC watchdog timer"
232617780d2SAtsushi Nemoto	depends on RTC_DRV_M41T80
233617780d2SAtsushi Nemoto	help
234617780d2SAtsushi Nemoto	  If you say Y here you will get support for the
235617780d2SAtsushi Nemoto	  watchdog timer in ST M41T80 RTC chips series.
236617780d2SAtsushi Nemoto
2370c4a59feSTony Lindgrenconfig RTC_DRV_TWL92330
2380c4a59feSTony Lindgren	boolean "TI TWL92330/Menelaus"
2390c4a59feSTony Lindgren	depends on RTC_CLASS && I2C && MENELAUS
2400c4a59feSTony Lindgren	help
2410c4a59feSTony Lindgren	  If you say yes here you get support for the RTC on the
2420c4a59feSTony Lindgren	  TWL92330 "Menelaus" power mangement chip, used with OMAP2
2430c4a59feSTony Lindgren	  platforms.  The support is integrated with the rest of
2440c4a59feSTony Lindgren	  the Menelaus driver; it's not separate module.
2450c4a59feSTony Lindgren
24609a21e56SAlessandro Zummocomment "SPI RTC drivers"
2475663c14bSDavid Brownell	depends on RTC_CLASS && SPI_MASTER
24809a21e56SAlessandro Zummo
24909a21e56SAlessandro Zummoconfig RTC_DRV_RS5C348
25009a21e56SAlessandro Zummo	tristate "Ricoh RS5C348A/B"
2515663c14bSDavid Brownell	depends on RTC_CLASS && SPI_MASTER
25209a21e56SAlessandro Zummo	help
25309a21e56SAlessandro Zummo	  If you say yes here you get support for the
25409a21e56SAlessandro Zummo	  Ricoh RS5C348A and RS5C348B RTC chips.
25509a21e56SAlessandro Zummo
25609a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
25709a21e56SAlessandro Zummo	  will be called rtc-rs5c348.
25809a21e56SAlessandro Zummo
25909a21e56SAlessandro Zummoconfig RTC_DRV_MAX6902
26009a21e56SAlessandro Zummo	tristate "Maxim 6902"
2615663c14bSDavid Brownell	depends on RTC_CLASS && SPI_MASTER
26209a21e56SAlessandro Zummo	help
26309a21e56SAlessandro Zummo	  If you say yes here you will get support for the
26409a21e56SAlessandro Zummo	  Maxim MAX6902 SPI RTC chip.
26509a21e56SAlessandro Zummo
26609a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
26709a21e56SAlessandro Zummo	  will be called rtc-max6902.
26809a21e56SAlessandro Zummo
26909a21e56SAlessandro Zummocomment "Platform RTC drivers"
2700c86edc0SAlessandro Zummo	depends on RTC_CLASS
2710c86edc0SAlessandro Zummo
2727be2c7c9SDavid Brownell# this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h>
2737be2c7c9SDavid Brownell# requires <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
2747be2c7c9SDavid Brownell# global rtc_lock ... it's not yet just another platform_device.
2757be2c7c9SDavid Brownell
2767be2c7c9SDavid Brownellconfig RTC_DRV_CMOS
27709a21e56SAlessandro Zummo	tristate "PC-style 'CMOS'"
278c066332fSDave Jones	depends on RTC_CLASS && (X86 || ALPHA || ARM26 || ARM \
27957cc705fSWade Farnsworth		|| M32R || ATARI || PPC || MIPS)
2807be2c7c9SDavid Brownell	help
2817be2c7c9SDavid Brownell	  Say "yes" here to get direct support for the real time clock
2827be2c7c9SDavid Brownell	  found in every PC or ACPI-based system, and some other boards.
2837be2c7c9SDavid Brownell	  Specifically the original MC146818, compatibles like those in
2847be2c7c9SDavid Brownell	  PC south bridges, the DS12887 or M48T86, some multifunction
2857be2c7c9SDavid Brownell	  or LPC bus chips, and so on.
2867be2c7c9SDavid Brownell
2877be2c7c9SDavid Brownell	  Your system will need to define the platform device used by
2887be2c7c9SDavid Brownell	  this driver, otherwise it won't be accessible.  This means
2897be2c7c9SDavid Brownell	  you can safely enable this driver if you don't know whether
2907be2c7c9SDavid Brownell	  or not your board has this kind of hardware.
2917be2c7c9SDavid Brownell
2927be2c7c9SDavid Brownell	  This driver can also be built as a module. If so, the module
2937be2c7c9SDavid Brownell	  will be called rtc-cmos.
2947be2c7c9SDavid Brownell
295537739deSThomas Bogendoerferconfig RTC_DRV_DS1216
296537739deSThomas Bogendoerfer	tristate "Dallas DS1216"
297537739deSThomas Bogendoerfer	depends on RTC_CLASS && SNI_RM
298537739deSThomas Bogendoerfer	help
299537739deSThomas Bogendoerfer	  If you say yes here you get support for the Dallas DS1216 RTC chips.
300537739deSThomas Bogendoerfer
3019bf5b4f5SAtsushi Nemotoconfig RTC_DRV_DS1553
3029bf5b4f5SAtsushi Nemoto	tristate "Dallas DS1553"
3039bf5b4f5SAtsushi Nemoto	depends on RTC_CLASS
3049bf5b4f5SAtsushi Nemoto	help
3059bf5b4f5SAtsushi Nemoto	  If you say yes here you get support for the
3069bf5b4f5SAtsushi Nemoto	  Dallas DS1553 timekeeping chip.
3079bf5b4f5SAtsushi Nemoto
3089bf5b4f5SAtsushi Nemoto	  This driver can also be built as a module. If so, the module
3099bf5b4f5SAtsushi Nemoto	  will be called rtc-ds1553.
3109bf5b4f5SAtsushi Nemoto
3115ec3e4b7SAtsushi Nemotoconfig RTC_DRV_DS1742
312f9231a0cSTorsten Ertbjerg Rasmussen	tristate "Dallas DS1742/1743"
3135ec3e4b7SAtsushi Nemoto	depends on RTC_CLASS
3145ec3e4b7SAtsushi Nemoto	help
3155ec3e4b7SAtsushi Nemoto	  If you say yes here you get support for the
316f9231a0cSTorsten Ertbjerg Rasmussen	  Dallas DS1742/1743 timekeeping chip.
3175ec3e4b7SAtsushi Nemoto
3185ec3e4b7SAtsushi Nemoto	  This driver can also be built as a module. If so, the module
3195ec3e4b7SAtsushi Nemoto	  will be called rtc-ds1742.
3205ec3e4b7SAtsushi Nemoto
32109a21e56SAlessandro Zummoconfig RTC_DRV_M48T86
32209a21e56SAlessandro Zummo	tristate "ST M48T86/Dallas DS12887"
32309a21e56SAlessandro Zummo	depends on RTC_CLASS
32409a21e56SAlessandro Zummo	help
32509a21e56SAlessandro Zummo	  If you say Y here you will get support for the
32609a21e56SAlessandro Zummo	  ST M48T86 and Dallas DS12887 RTC chips.
32709a21e56SAlessandro Zummo
32809a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
32909a21e56SAlessandro Zummo	  will be called rtc-m48t86.
33009a21e56SAlessandro Zummo
3312e774c7cSMark Zhanconfig RTC_DRV_M48T59
3322e774c7cSMark Zhan	tristate "ST M48T59"
3332e774c7cSMark Zhan	depends on RTC_CLASS
3342e774c7cSMark Zhan	help
3352e774c7cSMark Zhan	  If you say Y here you will get support for the
3362e774c7cSMark Zhan	  ST M48T59 RTC chip.
3372e774c7cSMark Zhan
3382e774c7cSMark Zhan	  This driver can also be built as a module, if so, the module
3392e774c7cSMark Zhan	  will be called "rtc-m48t59".
3402e774c7cSMark Zhan
34109a21e56SAlessandro Zummoconfig RTC_DRV_V3020
34209a21e56SAlessandro Zummo	tristate "EM Microelectronic V3020"
34309a21e56SAlessandro Zummo	depends on RTC_CLASS
34409a21e56SAlessandro Zummo	help
34509a21e56SAlessandro Zummo	  If you say yes here you will get support for the
34609a21e56SAlessandro Zummo	  EM Microelectronic v3020 RTC chip.
34709a21e56SAlessandro Zummo
34809a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
34909a21e56SAlessandro Zummo	  will be called rtc-v3020.
35009a21e56SAlessandro Zummo
35109a21e56SAlessandro Zummocomment "on-CPU RTC drivers"
35209a21e56SAlessandro Zummo	depends on RTC_CLASS
35309a21e56SAlessandro Zummo
354db68b189SDavid Brownellconfig RTC_DRV_OMAP
355db68b189SDavid Brownell	tristate "TI OMAP1"
356db68b189SDavid Brownell	depends on RTC_CLASS && ( \
357db68b189SDavid Brownell		ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730 )
358db68b189SDavid Brownell	help
359db68b189SDavid Brownell	  Say "yes" here to support the real time clock on TI OMAP1 chips.
360db68b189SDavid Brownell	  This driver can also be built as a module called rtc-omap.
361db68b189SDavid Brownell
3621add6781SBen Dooksconfig RTC_DRV_S3C
3631add6781SBen Dooks	tristate "Samsung S3C series SoC RTC"
3641add6781SBen Dooks	depends on RTC_CLASS && ARCH_S3C2410
3651add6781SBen Dooks	help
3661add6781SBen Dooks	  RTC (Realtime Clock) driver for the clock inbuilt into the
3671add6781SBen Dooks	  Samsung S3C24XX series of SoCs. This can provide periodic
3681add6781SBen Dooks	  interrupt rates from 1Hz to 64Hz for user programs, and
3691add6781SBen Dooks	  wakeup from Alarm.
3701add6781SBen Dooks
3711add6781SBen Dooks	  The driver currently supports the common features on all the
3721add6781SBen Dooks	  S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
3731add6781SBen Dooks	  and S3C2442.
3741add6781SBen Dooks
3751add6781SBen Dooks	  This driver can also be build as a module. If so, the module
3761add6781SBen Dooks	  will be called rtc-s3c.
3771add6781SBen Dooks
378fd507e2fSAlessandro Zummoconfig RTC_DRV_EP93XX
379fd507e2fSAlessandro Zummo	tristate "Cirrus Logic EP93XX"
380fd507e2fSAlessandro Zummo	depends on RTC_CLASS && ARCH_EP93XX
381fd507e2fSAlessandro Zummo	help
382fd507e2fSAlessandro Zummo	  If you say yes here you get support for the
383fd507e2fSAlessandro Zummo	  RTC embedded in the Cirrus Logic EP93XX processors.
384fd507e2fSAlessandro Zummo
385fd507e2fSAlessandro Zummo	  This driver can also be built as a module. If so, the module
386fd507e2fSAlessandro Zummo	  will be called rtc-ep93xx.
387fd507e2fSAlessandro Zummo
388e842f1c8SRichard Purdieconfig RTC_DRV_SA1100
389e842f1c8SRichard Purdie	tristate "SA11x0/PXA2xx"
390e842f1c8SRichard Purdie	depends on RTC_CLASS && (ARCH_SA1100 || ARCH_PXA)
391e842f1c8SRichard Purdie	help
392e842f1c8SRichard Purdie	  If you say Y here you will get access to the real time clock
393e842f1c8SRichard Purdie	  built into your SA11x0 or PXA2xx CPU.
394e842f1c8SRichard Purdie
395e842f1c8SRichard Purdie	  To compile this driver as a module, choose M here: the
396e842f1c8SRichard Purdie	  module will be called rtc-sa1100.
397fd507e2fSAlessandro Zummo
398317a6104SPaul Mundtconfig RTC_DRV_SH
399317a6104SPaul Mundt	tristate "SuperH On-Chip RTC"
400d0afa579SPaul Mundt	depends on RTC_CLASS && SUPERH && (CPU_SH3 || CPU_SH4)
401317a6104SPaul Mundt	help
402317a6104SPaul Mundt	  Say Y here to enable support for the on-chip RTC found in
403317a6104SPaul Mundt	  most SuperH processors.
404317a6104SPaul Mundt
405317a6104SPaul Mundt 	  To compile this driver as a module, choose M here: the
406317a6104SPaul Mundt	  module will be called rtc-sh.
407317a6104SPaul Mundt
4088417eb7aSYoichi Yuasaconfig RTC_DRV_VR41XX
4093e16f6afSAlessandro Zummo	tristate "NEC VR41XX"
4108417eb7aSYoichi Yuasa	depends on RTC_CLASS && CPU_VR41XX
4113e16f6afSAlessandro Zummo	help
4123e16f6afSAlessandro Zummo	  If you say Y here you will get access to the real time clock
4133e16f6afSAlessandro Zummo	  built into your NEC VR41XX CPU.
4143e16f6afSAlessandro Zummo
4153e16f6afSAlessandro Zummo	  To compile this driver as a module, choose M here: the
4163e16f6afSAlessandro Zummo	  module will be called rtc-vr41xx.
4178417eb7aSYoichi Yuasa
4188ae6e163SDeepak Saxenaconfig RTC_DRV_PL031
4198ae6e163SDeepak Saxena	tristate "ARM AMBA PL031 RTC"
4208ae6e163SDeepak Saxena	depends on RTC_CLASS && ARM_AMBA
4218ae6e163SDeepak Saxena	help
4228ae6e163SDeepak Saxena	  If you say Y here you will get access to ARM AMBA
42309a21e56SAlessandro Zummo	  PrimeCell PL031 RTC found on certain ARM SOCs.
4248ae6e163SDeepak Saxena
4258ae6e163SDeepak Saxena	  To compile this driver as a module, choose M here: the
4268ae6e163SDeepak Saxena	  module will be called rtc-pl031.
4278ae6e163SDeepak Saxena
428fa04e78bSHans-Christian Egtvedtconfig RTC_DRV_AT32AP700X
429fa04e78bSHans-Christian Egtvedt	tristate "AT32AP700X series RTC"
430fa04e78bSHans-Christian Egtvedt	depends on RTC_CLASS && PLATFORM_AT32AP
431fa04e78bSHans-Christian Egtvedt	help
432fa04e78bSHans-Christian Egtvedt	  Driver for the internal RTC (Realtime Clock) on Atmel AVR32
433fa04e78bSHans-Christian Egtvedt	  AT32AP700x family processors.
434fa04e78bSHans-Christian Egtvedt
4357fc39f6dSAndrew Victorconfig RTC_DRV_AT91RM9200
436788b1fc6SAndrew Victor	tristate "AT91RM9200"
437788b1fc6SAndrew Victor	depends on RTC_CLASS && ARCH_AT91RM9200
438788b1fc6SAndrew Victor	help
439788b1fc6SAndrew Victor	  Driver for the Atmel AT91RM9200's internal RTC (Realtime Clock).
440788b1fc6SAndrew Victor
4418cc75c9aSWu, Bryanconfig RTC_DRV_BFIN
4428cc75c9aSWu, Bryan	tristate "Blackfin On-Chip RTC"
4438cc75c9aSWu, Bryan	depends on RTC_CLASS && BFIN
4448cc75c9aSWu, Bryan	help
4458cc75c9aSWu, Bryan	  If you say yes here you will get support for the
4468cc75c9aSWu, Bryan	  Blackfin On-Chip Real Time Clock.
4478cc75c9aSWu, Bryan
4488cc75c9aSWu, Bryan	  This driver can also be built as a module. If so, the module
4498cc75c9aSWu, Bryan	  will be called rtc-bfin.
4508cc75c9aSWu, Bryan
451e9f2bd81SNobuhiro Iwamatsuconfig RTC_DRV_RS5C313
452e9f2bd81SNobuhiro Iwamatsu	tristate "Ricoh RS5C313"
4539a3f1d53Skogiidena	depends on RTC_CLASS && SH_LANDISK
454e9f2bd81SNobuhiro Iwamatsu	help
455e9f2bd81SNobuhiro Iwamatsu	  If you say yes here you get support for the Ricoh RS5C313 RTC chips.
456e9f2bd81SNobuhiro Iwamatsu
4570c86edc0SAlessandro Zummoendmenu
458