xref: /linux-6.15/drivers/rtc/Kconfig (revision bb35fb20)
17be2c7c9SDavid Brownell#
2c58411e9SAlessandro Zummo# RTC class/drivers configuration
3c58411e9SAlessandro Zummo#
4c58411e9SAlessandro Zummo
5c58411e9SAlessandro Zummoconfig RTC_LIB
6c58411e9SAlessandro Zummo	tristate
70c86edc0SAlessandro Zummo
8*bb35fb20SJan Engelhardtmenuconfig RTC_CLASS
9*bb35fb20SJan Engelhardt	tristate "Real Time Clock"
100c86edc0SAlessandro Zummo	default n
11*bb35fb20SJan 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
190c86edc0SAlessandro Zummo	  will be called rtc-class.
200c86edc0SAlessandro Zummo
21*bb35fb20SJan Engelhardtif RTC_CLASS
22*bb35fb20SJan 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
397ca1d488SDavid Brownell	  starts up, and when it resumes from a low power state.
407ca1d488SDavid Brownell
4155ff1abaSDavid Brownell	  The driver for this RTC device must be loaded before late_initcall
4255ff1abaSDavid Brownell	  functions run, so it must usually be statically linked.
4355ff1abaSDavid 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
62c5c3e192SAlessandro Zummoconfig RTC_INTF_SYSFS
63e40659c5SDavid Brownell	boolean "/sys/class/rtc/rtcN (sysfs)"
64*bb35fb20SJan Engelhardt	depends on SYSFS
65c5c3e192SAlessandro Zummo	default RTC_CLASS
66c5c3e192SAlessandro Zummo	help
679e86ecb6SDavid Brownell	  Say yes here if you want to use your RTCs using sysfs interfaces,
689e86ecb6SDavid Brownell	  /sys/class/rtc/rtc0 through /sys/.../rtcN.
69c5c3e192SAlessandro Zummo
70c5c3e192SAlessandro Zummo	  This driver can also be built as a module. If so, the module
71c5c3e192SAlessandro Zummo	  will be called rtc-sysfs.
72c5c3e192SAlessandro Zummo
73728a2947SAlessandro Zummoconfig RTC_INTF_PROC
74e40659c5SDavid Brownell	boolean "/proc/driver/rtc (procfs for rtc0)"
75*bb35fb20SJan Engelhardt	depends on PROC_FS
76728a2947SAlessandro Zummo	default RTC_CLASS
77728a2947SAlessandro Zummo	help
789e86ecb6SDavid Brownell	  Say yes here if you want to use your first RTC through the proc
799e86ecb6SDavid Brownell	  interface, /proc/driver/rtc.  Other RTCs will not be available
809e86ecb6SDavid Brownell	  through that API.
81728a2947SAlessandro Zummo
82728a2947SAlessandro Zummo	  This driver can also be built as a module. If so, the module
83728a2947SAlessandro Zummo	  will be called rtc-proc.
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
919e86ecb6SDavid Brownell	  /dev/rtcN.  You may want to set up a symbolic link so one
929e86ecb6SDavid Brownell	  of these can be accessed as /dev/rtc, which is a name
939e86ecb6SDavid Brownell	  expected by "hwclock" and some other programs.
94e824290eSAlessandro Zummo
95e824290eSAlessandro Zummo	  This driver can also be built as a module. If so, the module
96e824290eSAlessandro Zummo	  will be called rtc-dev.
97e824290eSAlessandro Zummo
98655066c3SAtsushi Nemotoconfig RTC_INTF_DEV_UIE_EMUL
99655066c3SAtsushi Nemoto	bool "RTC UIE emulation on dev interface"
100655066c3SAtsushi Nemoto	depends on RTC_INTF_DEV
101655066c3SAtsushi Nemoto	help
1023dde6ad8SDavid Sterba	  Provides an emulation for RTC_UIE if the underlying rtc chip
1039e86ecb6SDavid Brownell	  driver does not expose RTC_UIE ioctls.  Those requests generate
1049e86ecb6SDavid Brownell	  once-per-second update interrupts, used for synchronization.
105655066c3SAtsushi Nemoto
10609a21e56SAlessandro Zummoconfig RTC_DRV_TEST
10709a21e56SAlessandro Zummo	tristate "Test driver/device"
10809a21e56SAlessandro Zummo	help
10909a21e56SAlessandro Zummo	  If you say yes here you get support for the
11009a21e56SAlessandro Zummo	  RTC test driver. It's a software RTC which can be
11109a21e56SAlessandro Zummo	  used to test the RTC subsystem APIs. It gets
11209a21e56SAlessandro Zummo	  the time from the system clock.
11309a21e56SAlessandro Zummo	  You want this driver only if you are doing development
11409a21e56SAlessandro Zummo	  on the RTC subsystem. Please read the source code
11509a21e56SAlessandro Zummo	  for further details.
11609a21e56SAlessandro Zummo
11709a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
11809a21e56SAlessandro Zummo	  will be called rtc-test.
11909a21e56SAlessandro Zummo
12009a21e56SAlessandro Zummocomment "I2C RTC drivers"
121*bb35fb20SJan Engelhardt	depends on I2C
122*bb35fb20SJan Engelhardt
123*bb35fb20SJan Engelhardtif I2C
12409a21e56SAlessandro Zummo
12509a21e56SAlessandro Zummoconfig RTC_DRV_DS1307
12609a21e56SAlessandro Zummo	tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00"
12709a21e56SAlessandro Zummo	help
12809a21e56SAlessandro Zummo	  If you say yes here you get support for various compatible RTC
12909a21e56SAlessandro Zummo	  chips (often with battery backup) connected with I2C.  This driver
13009a21e56SAlessandro Zummo	  should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
13109a21e56SAlessandro Zummo	  and probably other chips.  In some cases the RTC must already
13209a21e56SAlessandro Zummo	  have been initialized (by manufacturing or a bootloader).
13309a21e56SAlessandro Zummo
13409a21e56SAlessandro Zummo	  The first seven registers on these chips hold an RTC, and other
13509a21e56SAlessandro Zummo	  registers may add features such as NVRAM, a trickle charger for
13609a21e56SAlessandro Zummo	  the RTC/NVRAM backup power, and alarms.  This driver may not
13709a21e56SAlessandro Zummo	  expose all those available chip features.
13809a21e56SAlessandro Zummo
13909a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
14009a21e56SAlessandro Zummo	  will be called rtc-ds1307.
14109a21e56SAlessandro Zummo
14209a21e56SAlessandro Zummoconfig RTC_DRV_DS1672
14309a21e56SAlessandro Zummo	tristate "Dallas/Maxim DS1672"
14409a21e56SAlessandro Zummo	help
14509a21e56SAlessandro Zummo	  If you say yes here you get support for the
14609a21e56SAlessandro Zummo	  Dallas/Maxim DS1672 timekeeping chip.
14709a21e56SAlessandro Zummo
14809a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
14909a21e56SAlessandro Zummo	  will be called rtc-ds1672.
15009a21e56SAlessandro Zummo
15109a21e56SAlessandro Zummoconfig RTC_DRV_MAX6900
15209a21e56SAlessandro Zummo	tristate "Maxim 6900"
15309a21e56SAlessandro Zummo	help
15409a21e56SAlessandro Zummo	  If you say yes here you will get support for the
15509a21e56SAlessandro Zummo	  Maxim MAX6900 I2C RTC chip.
15609a21e56SAlessandro Zummo
15709a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
15809a21e56SAlessandro Zummo	  will be called rtc-max6900.
15909a21e56SAlessandro Zummo
16009a21e56SAlessandro Zummoconfig RTC_DRV_RS5C372
161d815461cSDavid Brownell	tristate "Ricoh RS5C372A/B, RV5C386, RV5C387A"
16209a21e56SAlessandro Zummo	help
16309a21e56SAlessandro Zummo	  If you say yes here you get support for the
164d815461cSDavid Brownell	  Ricoh RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
16509a21e56SAlessandro Zummo
16609a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
16709a21e56SAlessandro Zummo	  will be called rtc-rs5c372.
16809a21e56SAlessandro Zummo
16909a21e56SAlessandro Zummoconfig RTC_DRV_ISL1208
17009a21e56SAlessandro Zummo	tristate "Intersil 1208"
17109a21e56SAlessandro Zummo	help
17209a21e56SAlessandro Zummo	  If you say yes here you get support for the
17309a21e56SAlessandro Zummo	  Intersil 1208 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-isl1208.
17709a21e56SAlessandro Zummo
17809a21e56SAlessandro Zummoconfig RTC_DRV_X1205
17909a21e56SAlessandro Zummo	tristate "Xicor/Intersil X1205"
18009a21e56SAlessandro Zummo	help
18109a21e56SAlessandro Zummo	  If you say yes here you get support for the
18209a21e56SAlessandro Zummo	  Xicor/Intersil X1205 RTC chip.
18309a21e56SAlessandro Zummo
18409a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
18509a21e56SAlessandro Zummo	  will be called rtc-x1205.
18609a21e56SAlessandro Zummo
18709a21e56SAlessandro Zummoconfig RTC_DRV_PCF8563
18809a21e56SAlessandro Zummo	tristate "Philips PCF8563/Epson RTC8564"
18909a21e56SAlessandro Zummo	help
19009a21e56SAlessandro Zummo	  If you say yes here you get support for the
19109a21e56SAlessandro Zummo	  Philips PCF8563 RTC chip. The Epson RTC8564
19209a21e56SAlessandro Zummo	  should work as well.
19309a21e56SAlessandro Zummo
19409a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
19509a21e56SAlessandro Zummo	  will be called rtc-pcf8563.
19609a21e56SAlessandro Zummo
19709a21e56SAlessandro Zummoconfig RTC_DRV_PCF8583
19809a21e56SAlessandro Zummo	tristate "Philips PCF8583"
19909a21e56SAlessandro Zummo	help
20009a21e56SAlessandro Zummo	  If you say yes here you get support for the Philips PCF8583
20109a21e56SAlessandro Zummo	  RTC chip found on Acorn RiscPCs. This driver supports the
20209a21e56SAlessandro Zummo	  platform specific method of retrieving the current year from
20309a21e56SAlessandro Zummo	  the RTC's SRAM. It will work on other platforms with the same
20409a21e56SAlessandro Zummo	  chip, but the year will probably have to be tweaked.
20509a21e56SAlessandro Zummo
20609a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
20709a21e56SAlessandro Zummo	  will be called rtc-pcf8583.
20809a21e56SAlessandro Zummo
209caaff562SAtsushi Nemotoconfig RTC_DRV_M41T80
210caaff562SAtsushi Nemoto	tristate "ST M41T80 series RTC"
211caaff562SAtsushi Nemoto	help
212caaff562SAtsushi Nemoto	  If you say Y here you will get support for the
213caaff562SAtsushi Nemoto	  ST M41T80 RTC chips series. Currently following chips are
214caaff562SAtsushi Nemoto	  supported: M41T80, M41T81, M41T82, M41T83, M41ST84, M41ST85
215caaff562SAtsushi Nemoto	  and M41ST87.
216caaff562SAtsushi Nemoto
217caaff562SAtsushi Nemoto	  This driver can also be built as a module. If so, the module
218caaff562SAtsushi Nemoto	  will be called rtc-m41t80.
219caaff562SAtsushi Nemoto
220617780d2SAtsushi Nemotoconfig RTC_DRV_M41T80_WDT
221617780d2SAtsushi Nemoto	bool "ST M41T80 series RTC watchdog timer"
222617780d2SAtsushi Nemoto	depends on RTC_DRV_M41T80
223617780d2SAtsushi Nemoto	help
224617780d2SAtsushi Nemoto	  If you say Y here you will get support for the
225617780d2SAtsushi Nemoto	  watchdog timer in ST M41T80 RTC chips series.
226617780d2SAtsushi Nemoto
2270c4a59feSTony Lindgrenconfig RTC_DRV_TWL92330
2280c4a59feSTony Lindgren	boolean "TI TWL92330/Menelaus"
229*bb35fb20SJan Engelhardt	depends on MENELAUS
2300c4a59feSTony Lindgren	help
2310c4a59feSTony Lindgren	  If you say yes here you get support for the RTC on the
2320c4a59feSTony Lindgren	  TWL92330 "Menelaus" power mangement chip, used with OMAP2
2330c4a59feSTony Lindgren	  platforms.  The support is integrated with the rest of
2340c4a59feSTony Lindgren	  the Menelaus driver; it's not separate module.
2350c4a59feSTony Lindgren
236*bb35fb20SJan Engelhardtendif # I2C
237*bb35fb20SJan Engelhardt
23809a21e56SAlessandro Zummocomment "SPI RTC drivers"
239*bb35fb20SJan Engelhardt
240*bb35fb20SJan Engelhardtif SPI_MASTER
24109a21e56SAlessandro Zummo
24209a21e56SAlessandro Zummoconfig RTC_DRV_RS5C348
24309a21e56SAlessandro Zummo	tristate "Ricoh RS5C348A/B"
24409a21e56SAlessandro Zummo	help
24509a21e56SAlessandro Zummo	  If you say yes here you get support for the
24609a21e56SAlessandro Zummo	  Ricoh RS5C348A and RS5C348B RTC chips.
24709a21e56SAlessandro Zummo
24809a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
24909a21e56SAlessandro Zummo	  will be called rtc-rs5c348.
25009a21e56SAlessandro Zummo
25109a21e56SAlessandro Zummoconfig RTC_DRV_MAX6902
25209a21e56SAlessandro Zummo	tristate "Maxim 6902"
25309a21e56SAlessandro Zummo	help
25409a21e56SAlessandro Zummo	  If you say yes here you will get support for the
25509a21e56SAlessandro Zummo	  Maxim MAX6902 SPI RTC chip.
25609a21e56SAlessandro Zummo
25709a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
25809a21e56SAlessandro Zummo	  will be called rtc-max6902.
25909a21e56SAlessandro Zummo
260*bb35fb20SJan Engelhardtendif # SPI_MASTER
261*bb35fb20SJan Engelhardt
26209a21e56SAlessandro Zummocomment "Platform RTC drivers"
2630c86edc0SAlessandro Zummo
2647be2c7c9SDavid Brownell# this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h>
2657be2c7c9SDavid Brownell# requires <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
2667be2c7c9SDavid Brownell# global rtc_lock ... it's not yet just another platform_device.
2677be2c7c9SDavid Brownell
2687be2c7c9SDavid Brownellconfig RTC_DRV_CMOS
26909a21e56SAlessandro Zummo	tristate "PC-style 'CMOS'"
270*bb35fb20SJan Engelhardt	depends on X86 || ALPHA || ARM || M32R || ATARI || PPC || MIPS
2717be2c7c9SDavid Brownell	help
2727be2c7c9SDavid Brownell	  Say "yes" here to get direct support for the real time clock
2737be2c7c9SDavid Brownell	  found in every PC or ACPI-based system, and some other boards.
2747be2c7c9SDavid Brownell	  Specifically the original MC146818, compatibles like those in
2757be2c7c9SDavid Brownell	  PC south bridges, the DS12887 or M48T86, some multifunction
2767be2c7c9SDavid Brownell	  or LPC bus chips, and so on.
2777be2c7c9SDavid Brownell
2787be2c7c9SDavid Brownell	  Your system will need to define the platform device used by
2797be2c7c9SDavid Brownell	  this driver, otherwise it won't be accessible.  This means
2807be2c7c9SDavid Brownell	  you can safely enable this driver if you don't know whether
2817be2c7c9SDavid Brownell	  or not your board has this kind of hardware.
2827be2c7c9SDavid Brownell
2837be2c7c9SDavid Brownell	  This driver can also be built as a module. If so, the module
2847be2c7c9SDavid Brownell	  will be called rtc-cmos.
2857be2c7c9SDavid Brownell
286537739deSThomas Bogendoerferconfig RTC_DRV_DS1216
287537739deSThomas Bogendoerfer	tristate "Dallas DS1216"
288*bb35fb20SJan Engelhardt	depends on SNI_RM
289537739deSThomas Bogendoerfer	help
290537739deSThomas Bogendoerfer	  If you say yes here you get support for the Dallas DS1216 RTC chips.
291537739deSThomas Bogendoerfer
2929bf5b4f5SAtsushi Nemotoconfig RTC_DRV_DS1553
2939bf5b4f5SAtsushi Nemoto	tristate "Dallas DS1553"
2949bf5b4f5SAtsushi Nemoto	help
2959bf5b4f5SAtsushi Nemoto	  If you say yes here you get support for the
2969bf5b4f5SAtsushi Nemoto	  Dallas DS1553 timekeeping chip.
2979bf5b4f5SAtsushi Nemoto
2989bf5b4f5SAtsushi Nemoto	  This driver can also be built as a module. If so, the module
2999bf5b4f5SAtsushi Nemoto	  will be called rtc-ds1553.
3009bf5b4f5SAtsushi Nemoto
30102964115SThomas Hommelconfig RTC_DRV_STK17TA8
30202964115SThomas Hommel	tristate "Simtek STK17TA8"
30302964115SThomas Hommel	depends on RTC_CLASS
30402964115SThomas Hommel	help
30502964115SThomas Hommel	  If you say yes here you get support for the
30602964115SThomas Hommel	  Simtek STK17TA8 timekeeping chip.
30702964115SThomas Hommel
30802964115SThomas Hommel	  This driver can also be built as a module. If so, the module
30902964115SThomas Hommel	  will be called rtc-stk17ta8.
31002964115SThomas Hommel
3115ec3e4b7SAtsushi Nemotoconfig RTC_DRV_DS1742
312f9231a0cSTorsten Ertbjerg Rasmussen	tristate "Dallas DS1742/1743"
3135ec3e4b7SAtsushi Nemoto	help
3145ec3e4b7SAtsushi Nemoto	  If you say yes here you get support for the
315f9231a0cSTorsten Ertbjerg Rasmussen	  Dallas DS1742/1743 timekeeping chip.
3165ec3e4b7SAtsushi Nemoto
3175ec3e4b7SAtsushi Nemoto	  This driver can also be built as a module. If so, the module
3185ec3e4b7SAtsushi Nemoto	  will be called rtc-ds1742.
3195ec3e4b7SAtsushi Nemoto
32009a21e56SAlessandro Zummoconfig RTC_DRV_M48T86
32109a21e56SAlessandro Zummo	tristate "ST M48T86/Dallas DS12887"
32209a21e56SAlessandro Zummo	help
32309a21e56SAlessandro Zummo	  If you say Y here you will get support for the
32409a21e56SAlessandro Zummo	  ST M48T86 and Dallas DS12887 RTC chips.
32509a21e56SAlessandro Zummo
32609a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
32709a21e56SAlessandro Zummo	  will be called rtc-m48t86.
32809a21e56SAlessandro Zummo
3292e774c7cSMark Zhanconfig RTC_DRV_M48T59
3302e774c7cSMark Zhan	tristate "ST M48T59"
3312e774c7cSMark Zhan	help
3322e774c7cSMark Zhan	  If you say Y here you will get support for the
3332e774c7cSMark Zhan	  ST M48T59 RTC chip.
3342e774c7cSMark Zhan
3352e774c7cSMark Zhan	  This driver can also be built as a module, if so, the module
3362e774c7cSMark Zhan	  will be called "rtc-m48t59".
3372e774c7cSMark Zhan
33809a21e56SAlessandro Zummoconfig RTC_DRV_V3020
33909a21e56SAlessandro Zummo	tristate "EM Microelectronic V3020"
34009a21e56SAlessandro Zummo	help
34109a21e56SAlessandro Zummo	  If you say yes here you will get support for the
34209a21e56SAlessandro Zummo	  EM Microelectronic v3020 RTC chip.
34309a21e56SAlessandro Zummo
34409a21e56SAlessandro Zummo	  This driver can also be built as a module. If so, the module
34509a21e56SAlessandro Zummo	  will be called rtc-v3020.
34609a21e56SAlessandro Zummo
34709a21e56SAlessandro Zummocomment "on-CPU RTC drivers"
34809a21e56SAlessandro Zummo
349db68b189SDavid Brownellconfig RTC_DRV_OMAP
350db68b189SDavid Brownell	tristate "TI OMAP1"
351*bb35fb20SJan Engelhardt	depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730
352db68b189SDavid Brownell	help
353db68b189SDavid Brownell	  Say "yes" here to support the real time clock on TI OMAP1 chips.
354db68b189SDavid Brownell	  This driver can also be built as a module called rtc-omap.
355db68b189SDavid Brownell
3561add6781SBen Dooksconfig RTC_DRV_S3C
3571add6781SBen Dooks	tristate "Samsung S3C series SoC RTC"
358*bb35fb20SJan Engelhardt	depends on ARCH_S3C2410
3591add6781SBen Dooks	help
3601add6781SBen Dooks	  RTC (Realtime Clock) driver for the clock inbuilt into the
3611add6781SBen Dooks	  Samsung S3C24XX series of SoCs. This can provide periodic
3621add6781SBen Dooks	  interrupt rates from 1Hz to 64Hz for user programs, and
3631add6781SBen Dooks	  wakeup from Alarm.
3641add6781SBen Dooks
3651add6781SBen Dooks	  The driver currently supports the common features on all the
3661add6781SBen Dooks	  S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
3671add6781SBen Dooks	  and S3C2442.
3681add6781SBen Dooks
3691add6781SBen Dooks	  This driver can also be build as a module. If so, the module
3701add6781SBen Dooks	  will be called rtc-s3c.
3711add6781SBen Dooks
372fd507e2fSAlessandro Zummoconfig RTC_DRV_EP93XX
373fd507e2fSAlessandro Zummo	tristate "Cirrus Logic EP93XX"
374*bb35fb20SJan Engelhardt	depends on ARCH_EP93XX
375fd507e2fSAlessandro Zummo	help
376fd507e2fSAlessandro Zummo	  If you say yes here you get support for the
377fd507e2fSAlessandro Zummo	  RTC embedded in the Cirrus Logic EP93XX processors.
378fd507e2fSAlessandro Zummo
379fd507e2fSAlessandro Zummo	  This driver can also be built as a module. If so, the module
380fd507e2fSAlessandro Zummo	  will be called rtc-ep93xx.
381fd507e2fSAlessandro Zummo
382e842f1c8SRichard Purdieconfig RTC_DRV_SA1100
383e842f1c8SRichard Purdie	tristate "SA11x0/PXA2xx"
384*bb35fb20SJan Engelhardt	depends on ARCH_SA1100 || ARCH_PXA
385e842f1c8SRichard Purdie	help
386e842f1c8SRichard Purdie	  If you say Y here you will get access to the real time clock
387e842f1c8SRichard Purdie	  built into your SA11x0 or PXA2xx CPU.
388e842f1c8SRichard Purdie
389e842f1c8SRichard Purdie	  To compile this driver as a module, choose M here: the
390e842f1c8SRichard Purdie	  module will be called rtc-sa1100.
391fd507e2fSAlessandro Zummo
392317a6104SPaul Mundtconfig RTC_DRV_SH
393317a6104SPaul Mundt	tristate "SuperH On-Chip RTC"
394*bb35fb20SJan Engelhardt	depends on RTC_CLASS && (CPU_SH3 || CPU_SH4)
395317a6104SPaul Mundt	help
396317a6104SPaul Mundt	  Say Y here to enable support for the on-chip RTC found in
397317a6104SPaul Mundt	  most SuperH processors.
398317a6104SPaul Mundt
399317a6104SPaul Mundt 	  To compile this driver as a module, choose M here: the
400317a6104SPaul Mundt	  module will be called rtc-sh.
401317a6104SPaul Mundt
4028417eb7aSYoichi Yuasaconfig RTC_DRV_VR41XX
4033e16f6afSAlessandro Zummo	tristate "NEC VR41XX"
404*bb35fb20SJan Engelhardt	depends on CPU_VR41XX
4053e16f6afSAlessandro Zummo	help
4063e16f6afSAlessandro Zummo	  If you say Y here you will get access to the real time clock
4073e16f6afSAlessandro Zummo	  built into your NEC VR41XX CPU.
4083e16f6afSAlessandro Zummo
4093e16f6afSAlessandro Zummo	  To compile this driver as a module, choose M here: the
4103e16f6afSAlessandro Zummo	  module will be called rtc-vr41xx.
4118417eb7aSYoichi Yuasa
4128ae6e163SDeepak Saxenaconfig RTC_DRV_PL031
4138ae6e163SDeepak Saxena	tristate "ARM AMBA PL031 RTC"
414*bb35fb20SJan Engelhardt	depends on ARM_AMBA
4158ae6e163SDeepak Saxena	help
4168ae6e163SDeepak Saxena	  If you say Y here you will get access to ARM AMBA
41709a21e56SAlessandro Zummo	  PrimeCell PL031 RTC found on certain ARM SOCs.
4188ae6e163SDeepak Saxena
4198ae6e163SDeepak Saxena	  To compile this driver as a module, choose M here: the
4208ae6e163SDeepak Saxena	  module will be called rtc-pl031.
4218ae6e163SDeepak Saxena
422fa04e78bSHans-Christian Egtvedtconfig RTC_DRV_AT32AP700X
423fa04e78bSHans-Christian Egtvedt	tristate "AT32AP700X series RTC"
424*bb35fb20SJan Engelhardt	depends on PLATFORM_AT32AP
425fa04e78bSHans-Christian Egtvedt	help
426fa04e78bSHans-Christian Egtvedt	  Driver for the internal RTC (Realtime Clock) on Atmel AVR32
427fa04e78bSHans-Christian Egtvedt	  AT32AP700x family processors.
428fa04e78bSHans-Christian Egtvedt
4297fc39f6dSAndrew Victorconfig RTC_DRV_AT91RM9200
430788b1fc6SAndrew Victor	tristate "AT91RM9200"
431*bb35fb20SJan Engelhardt	depends on ARCH_AT91RM9200
432788b1fc6SAndrew Victor	help
433788b1fc6SAndrew Victor	  Driver for the Atmel AT91RM9200's internal RTC (Realtime Clock).
434788b1fc6SAndrew Victor
4358cc75c9aSWu, Bryanconfig RTC_DRV_BFIN
4368cc75c9aSWu, Bryan	tristate "Blackfin On-Chip RTC"
437*bb35fb20SJan Engelhardt	depends on BFIN
4388cc75c9aSWu, Bryan	help
4398cc75c9aSWu, Bryan	  If you say yes here you will get support for the
4408cc75c9aSWu, Bryan	  Blackfin On-Chip Real Time Clock.
4418cc75c9aSWu, Bryan
4428cc75c9aSWu, Bryan	  This driver can also be built as a module. If so, the module
4438cc75c9aSWu, Bryan	  will be called rtc-bfin.
4448cc75c9aSWu, Bryan
445e9f2bd81SNobuhiro Iwamatsuconfig RTC_DRV_RS5C313
446e9f2bd81SNobuhiro Iwamatsu	tristate "Ricoh RS5C313"
447*bb35fb20SJan Engelhardt	depends on SH_LANDISK
448e9f2bd81SNobuhiro Iwamatsu	help
449e9f2bd81SNobuhiro Iwamatsu	  If you say yes here you get support for the Ricoh RS5C313 RTC chips.
450e9f2bd81SNobuhiro Iwamatsu
451*bb35fb20SJan Engelhardtendif # RTC_CLASS
452