xref: /OK3568_Linux_fs/kernel/drivers/rtc/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# RTC class/drivers configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig RTC_LIB
7*4882a593Smuzhiyun	bool
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunconfig RTC_MC146818_LIB
10*4882a593Smuzhiyun	bool
11*4882a593Smuzhiyun	select RTC_LIB
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunmenuconfig RTC_CLASS
14*4882a593Smuzhiyun	bool "Real Time Clock"
15*4882a593Smuzhiyun	default n
16*4882a593Smuzhiyun	depends on !S390 && !UML
17*4882a593Smuzhiyun	select RTC_LIB
18*4882a593Smuzhiyun	help
19*4882a593Smuzhiyun	  Generic RTC class support. If you say yes here, you will
20*4882a593Smuzhiyun	  be allowed to plug one or more RTCs to your system. You will
21*4882a593Smuzhiyun	  probably want to enable one or more of the interfaces below.
22*4882a593Smuzhiyun
23*4882a593Smuzhiyunif RTC_CLASS
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunconfig RTC_HCTOSYS
26*4882a593Smuzhiyun	bool "Set system time from RTC on startup and resume"
27*4882a593Smuzhiyun	default y
28*4882a593Smuzhiyun	help
29*4882a593Smuzhiyun	  If you say yes here, the system time (wall clock) will be set using
30*4882a593Smuzhiyun	  the value read from a specified RTC device. This is useful to avoid
31*4882a593Smuzhiyun	  unnecessary fsck runs at boot time, and to network better.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunconfig RTC_HCTOSYS_DEVICE
34*4882a593Smuzhiyun	string "RTC used to set the system time"
35*4882a593Smuzhiyun	depends on RTC_HCTOSYS
36*4882a593Smuzhiyun	default "rtc0"
37*4882a593Smuzhiyun	help
38*4882a593Smuzhiyun	  The RTC device that will be used to (re)initialize the system
39*4882a593Smuzhiyun	  clock, usually rtc0. Initialization is done when the system
40*4882a593Smuzhiyun	  starts up, and when it resumes from a low power state. This
41*4882a593Smuzhiyun	  device should record time in UTC, since the kernel won't do
42*4882a593Smuzhiyun	  timezone correction.
43*4882a593Smuzhiyun
44*4882a593Smuzhiyun	  This clock should be battery-backed, so that it reads the correct
45*4882a593Smuzhiyun	  time when the system boots from a power-off state. Otherwise, your
46*4882a593Smuzhiyun	  system will need an external clock source (like an NTP server).
47*4882a593Smuzhiyun
48*4882a593Smuzhiyun	  If the clock you specify here is not battery backed, it may still
49*4882a593Smuzhiyun	  be useful to reinitialize system time when resuming from system
50*4882a593Smuzhiyun	  sleep states. Do not specify an RTC here unless it stays powered
51*4882a593Smuzhiyun	  during all this system's supported sleep states.
52*4882a593Smuzhiyun
53*4882a593Smuzhiyunconfig RTC_SYSTOHC
54*4882a593Smuzhiyun	bool "Set the RTC time based on NTP synchronization"
55*4882a593Smuzhiyun	default y
56*4882a593Smuzhiyun	help
57*4882a593Smuzhiyun	  If you say yes here, the system time (wall clock) will be stored
58*4882a593Smuzhiyun	  in the RTC specified by RTC_HCTOSYS_DEVICE approximately every 11
59*4882a593Smuzhiyun	  minutes if userspace reports synchronized NTP status.
60*4882a593Smuzhiyun
61*4882a593Smuzhiyunconfig RTC_SYSTOHC_DEVICE
62*4882a593Smuzhiyun	string "RTC used to synchronize NTP adjustment"
63*4882a593Smuzhiyun	depends on RTC_SYSTOHC
64*4882a593Smuzhiyun	default RTC_HCTOSYS_DEVICE if RTC_HCTOSYS
65*4882a593Smuzhiyun	default "rtc0"
66*4882a593Smuzhiyun	help
67*4882a593Smuzhiyun	  The RTC device used for NTP synchronization. The main difference
68*4882a593Smuzhiyun	  between RTC_HCTOSYS_DEVICE and RTC_SYSTOHC_DEVICE is that this
69*4882a593Smuzhiyun	  one can sleep when setting time, because it runs in the workqueue
70*4882a593Smuzhiyun	  context.
71*4882a593Smuzhiyun
72*4882a593Smuzhiyunconfig RTC_DEBUG
73*4882a593Smuzhiyun	bool "RTC debug support"
74*4882a593Smuzhiyun	help
75*4882a593Smuzhiyun	  Say yes here to enable debugging support in the RTC framework
76*4882a593Smuzhiyun	  and individual RTC drivers.
77*4882a593Smuzhiyun
78*4882a593Smuzhiyunconfig RTC_NVMEM
79*4882a593Smuzhiyun	bool "RTC non volatile storage support"
80*4882a593Smuzhiyun	select NVMEM
81*4882a593Smuzhiyun	default RTC_CLASS
82*4882a593Smuzhiyun	help
83*4882a593Smuzhiyun	  Say yes here to add support for the non volatile (often battery
84*4882a593Smuzhiyun	  backed) storage present on RTCs.
85*4882a593Smuzhiyun
86*4882a593Smuzhiyuncomment "RTC interfaces"
87*4882a593Smuzhiyun
88*4882a593Smuzhiyunconfig RTC_INTF_SYSFS
89*4882a593Smuzhiyun	bool "/sys/class/rtc/rtcN (sysfs)"
90*4882a593Smuzhiyun	depends on SYSFS
91*4882a593Smuzhiyun	default RTC_CLASS
92*4882a593Smuzhiyun	help
93*4882a593Smuzhiyun	  Say yes here if you want to use your RTCs using sysfs interfaces,
94*4882a593Smuzhiyun	  /sys/class/rtc/rtc0 through /sys/.../rtcN.
95*4882a593Smuzhiyun
96*4882a593Smuzhiyun	  If unsure, say Y.
97*4882a593Smuzhiyun
98*4882a593Smuzhiyunconfig RTC_INTF_PROC
99*4882a593Smuzhiyun	bool "/proc/driver/rtc (procfs for rtcN)"
100*4882a593Smuzhiyun	depends on PROC_FS
101*4882a593Smuzhiyun	default RTC_CLASS
102*4882a593Smuzhiyun	help
103*4882a593Smuzhiyun	  Say yes here if you want to use your system clock RTC through
104*4882a593Smuzhiyun	  the proc interface, /proc/driver/rtc.
105*4882a593Smuzhiyun	  Other RTCs will not be available through that API.
106*4882a593Smuzhiyun	  If there is no RTC for the system clock, then the first RTC(rtc0)
107*4882a593Smuzhiyun	  is used by default.
108*4882a593Smuzhiyun
109*4882a593Smuzhiyun	  If unsure, say Y.
110*4882a593Smuzhiyun
111*4882a593Smuzhiyunconfig RTC_INTF_DEV
112*4882a593Smuzhiyun	bool "/dev/rtcN (character devices)"
113*4882a593Smuzhiyun	default RTC_CLASS
114*4882a593Smuzhiyun	help
115*4882a593Smuzhiyun	  Say yes here if you want to use your RTCs using the /dev
116*4882a593Smuzhiyun	  interfaces, which "udev" sets up as /dev/rtc0 through
117*4882a593Smuzhiyun	  /dev/rtcN.
118*4882a593Smuzhiyun
119*4882a593Smuzhiyun	  You may want to set up a symbolic link so one of these
120*4882a593Smuzhiyun	  can be accessed as /dev/rtc, which is a name
121*4882a593Smuzhiyun	  expected by "hwclock" and some other programs. Recent
122*4882a593Smuzhiyun	  versions of "udev" are known to set up the symlink for you.
123*4882a593Smuzhiyun
124*4882a593Smuzhiyun	  If unsure, say Y.
125*4882a593Smuzhiyun
126*4882a593Smuzhiyunconfig RTC_INTF_DEV_UIE_EMUL
127*4882a593Smuzhiyun	bool "RTC UIE emulation on dev interface"
128*4882a593Smuzhiyun	depends on RTC_INTF_DEV
129*4882a593Smuzhiyun	help
130*4882a593Smuzhiyun	  Provides an emulation for RTC_UIE if the underlying rtc chip
131*4882a593Smuzhiyun	  driver does not expose RTC_UIE ioctls. Those requests generate
132*4882a593Smuzhiyun	  once-per-second update interrupts, used for synchronization.
133*4882a593Smuzhiyun
134*4882a593Smuzhiyun	  The emulation code will read the time from the hardware
135*4882a593Smuzhiyun	  clock several times per second, please enable this option
136*4882a593Smuzhiyun	  only if you know that you really need it.
137*4882a593Smuzhiyun
138*4882a593Smuzhiyunconfig RTC_DRV_TEST
139*4882a593Smuzhiyun	tristate "Test driver/device"
140*4882a593Smuzhiyun	help
141*4882a593Smuzhiyun	  If you say yes here you get support for the
142*4882a593Smuzhiyun	  RTC test driver. It's a software RTC which can be
143*4882a593Smuzhiyun	  used to test the RTC subsystem APIs. It gets
144*4882a593Smuzhiyun	  the time from the system clock.
145*4882a593Smuzhiyun	  You want this driver only if you are doing development
146*4882a593Smuzhiyun	  on the RTC subsystem. Please read the source code
147*4882a593Smuzhiyun	  for further details.
148*4882a593Smuzhiyun
149*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
150*4882a593Smuzhiyun	  will be called rtc-test.
151*4882a593Smuzhiyun
152*4882a593Smuzhiyuncomment "I2C RTC drivers"
153*4882a593Smuzhiyun
154*4882a593Smuzhiyunif I2C
155*4882a593Smuzhiyun
156*4882a593Smuzhiyunconfig RTC_DRV_88PM860X
157*4882a593Smuzhiyun	tristate "Marvell 88PM860x"
158*4882a593Smuzhiyun	depends on MFD_88PM860X
159*4882a593Smuzhiyun	help
160*4882a593Smuzhiyun	  If you say yes here you get support for RTC function in Marvell
161*4882a593Smuzhiyun	  88PM860x chips.
162*4882a593Smuzhiyun
163*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
164*4882a593Smuzhiyun	  will be called rtc-88pm860x.
165*4882a593Smuzhiyun
166*4882a593Smuzhiyunconfig RTC_DRV_88PM80X
167*4882a593Smuzhiyun	tristate "Marvell 88PM80x"
168*4882a593Smuzhiyun	depends on MFD_88PM800
169*4882a593Smuzhiyun	help
170*4882a593Smuzhiyun	  If you say yes here you get support for RTC function in Marvell
171*4882a593Smuzhiyun	  88PM80x chips.
172*4882a593Smuzhiyun
173*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
174*4882a593Smuzhiyun	  will be called rtc-88pm80x.
175*4882a593Smuzhiyun
176*4882a593Smuzhiyunconfig RTC_DRV_ABB5ZES3
177*4882a593Smuzhiyun	select REGMAP_I2C
178*4882a593Smuzhiyun	tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
179*4882a593Smuzhiyun	help
180*4882a593Smuzhiyun	  If you say yes here you get support for the Abracon
181*4882a593Smuzhiyun	  AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip.
182*4882a593Smuzhiyun
183*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
184*4882a593Smuzhiyun	  will be called rtc-ab-b5ze-s3.
185*4882a593Smuzhiyun
186*4882a593Smuzhiyunconfig RTC_DRV_ABEOZ9
187*4882a593Smuzhiyun	select REGMAP_I2C
188*4882a593Smuzhiyun	tristate "Abracon AB-RTCMC-32.768kHz-EOZ9"
189*4882a593Smuzhiyun	help
190*4882a593Smuzhiyun	  If you say yes here you get support for the Abracon
191*4882a593Smuzhiyun	  AB-RTCMC-32.768kHz-EOA9 I2C RTC chip.
192*4882a593Smuzhiyun
193*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
194*4882a593Smuzhiyun	  will be called rtc-ab-e0z9.
195*4882a593Smuzhiyun
196*4882a593Smuzhiyunconfig RTC_DRV_ABX80X
197*4882a593Smuzhiyun	tristate "Abracon ABx80x"
198*4882a593Smuzhiyun	select WATCHDOG_CORE if WATCHDOG
199*4882a593Smuzhiyun	help
200*4882a593Smuzhiyun	  If you say yes here you get support for Abracon AB080X and AB180X
201*4882a593Smuzhiyun	  families of ultra-low-power  battery- and capacitor-backed real-time
202*4882a593Smuzhiyun	  clock chips.
203*4882a593Smuzhiyun
204*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
205*4882a593Smuzhiyun	  will be called rtc-abx80x.
206*4882a593Smuzhiyun
207*4882a593Smuzhiyunconfig RTC_DRV_AC100
208*4882a593Smuzhiyun	tristate "X-Powers AC100"
209*4882a593Smuzhiyun	depends on MFD_AC100
210*4882a593Smuzhiyun	help
211*4882a593Smuzhiyun	  If you say yes here you get support for the real-time clock found
212*4882a593Smuzhiyun	  in X-Powers AC100 family peripheral ICs.
213*4882a593Smuzhiyun
214*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
215*4882a593Smuzhiyun	  will be called rtc-ac100.
216*4882a593Smuzhiyun
217*4882a593Smuzhiyunconfig RTC_DRV_BRCMSTB
218*4882a593Smuzhiyun	tristate "Broadcom STB wake-timer"
219*4882a593Smuzhiyun	depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
220*4882a593Smuzhiyun	default ARCH_BRCMSTB || BMIPS_GENERIC
221*4882a593Smuzhiyun	help
222*4882a593Smuzhiyun	  If you say yes here you get support for the wake-timer found on
223*4882a593Smuzhiyun	  Broadcom STB SoCs (BCM7xxx).
224*4882a593Smuzhiyun
225*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module will
226*4882a593Smuzhiyun	  be called rtc-brcmstb-waketimer.
227*4882a593Smuzhiyun
228*4882a593Smuzhiyunconfig RTC_DRV_AS3722
229*4882a593Smuzhiyun	tristate "ams AS3722 RTC driver"
230*4882a593Smuzhiyun	depends on MFD_AS3722
231*4882a593Smuzhiyun	help
232*4882a593Smuzhiyun	  If you say yes here you get support for the RTC of ams AS3722 PMIC
233*4882a593Smuzhiyun	  chips.
234*4882a593Smuzhiyun
235*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
236*4882a593Smuzhiyun	  will be called rtc-as3722.
237*4882a593Smuzhiyun
238*4882a593Smuzhiyunconfig RTC_DRV_DS1307
239*4882a593Smuzhiyun	tristate "Dallas/Maxim DS1307/37/38/39/40/41, ST M41T00, EPSON RX-8025, ISL12057"
240*4882a593Smuzhiyun	select REGMAP_I2C
241*4882a593Smuzhiyun	select WATCHDOG_CORE if WATCHDOG
242*4882a593Smuzhiyun	help
243*4882a593Smuzhiyun	  If you say yes here you get support for various compatible RTC
244*4882a593Smuzhiyun	  chips (often with battery backup) connected with I2C. This driver
245*4882a593Smuzhiyun	  should handle DS1307, DS1337, DS1338, DS1339, DS1340, DS1341,
246*4882a593Smuzhiyun	  ST M41T00, EPSON RX-8025, Intersil ISL12057 and probably other chips.
247*4882a593Smuzhiyun	  In some cases the RTC must already have been initialized (by
248*4882a593Smuzhiyun	  manufacturing or a bootloader).
249*4882a593Smuzhiyun
250*4882a593Smuzhiyun	  The first seven registers on these chips hold an RTC, and other
251*4882a593Smuzhiyun	  registers may add features such as NVRAM, a trickle charger for
252*4882a593Smuzhiyun	  the RTC/NVRAM backup power, and alarms. NVRAM is visible in
253*4882a593Smuzhiyun	  sysfs, but other chip features may not be available.
254*4882a593Smuzhiyun
255*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
256*4882a593Smuzhiyun	  will be called rtc-ds1307.
257*4882a593Smuzhiyun
258*4882a593Smuzhiyunconfig RTC_DRV_DS1307_CENTURY
259*4882a593Smuzhiyun	bool "Century bit support for rtc-ds1307"
260*4882a593Smuzhiyun	depends on RTC_DRV_DS1307
261*4882a593Smuzhiyun	default n
262*4882a593Smuzhiyun	help
263*4882a593Smuzhiyun	  The DS1307 driver suffered from a bug where it was enabling the
264*4882a593Smuzhiyun	  century bit inconditionnally but never used it when reading the time.
265*4882a593Smuzhiyun	  It made the driver unable to support dates beyond 2099.
266*4882a593Smuzhiyun	  Setting this option will add proper support for the century bit but if
267*4882a593Smuzhiyun	  the time was previously set using a kernel predating this option,
268*4882a593Smuzhiyun	  reading the date will return a date in the next century.
269*4882a593Smuzhiyun	  To solve that, you could boot a kernel without this option set, set
270*4882a593Smuzhiyun	  the RTC date and then boot a kernel with this option set.
271*4882a593Smuzhiyun
272*4882a593Smuzhiyunconfig RTC_DRV_DS1374
273*4882a593Smuzhiyun	tristate "Dallas/Maxim DS1374"
274*4882a593Smuzhiyun	help
275*4882a593Smuzhiyun	  If you say yes here you get support for Dallas Semiconductor
276*4882a593Smuzhiyun	  DS1374 real-time clock chips. If an interrupt is associated
277*4882a593Smuzhiyun	  with the device, the alarm functionality is supported.
278*4882a593Smuzhiyun
279*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
280*4882a593Smuzhiyun	  will be called rtc-ds1374.
281*4882a593Smuzhiyun
282*4882a593Smuzhiyunconfig RTC_DRV_DS1374_WDT
283*4882a593Smuzhiyun	bool "Dallas/Maxim DS1374 watchdog timer"
284*4882a593Smuzhiyun	depends on RTC_DRV_DS1374 && WATCHDOG
285*4882a593Smuzhiyun	select WATCHDOG_CORE
286*4882a593Smuzhiyun	help
287*4882a593Smuzhiyun	  If you say Y here you will get support for the
288*4882a593Smuzhiyun	  watchdog timer in the Dallas Semiconductor DS1374
289*4882a593Smuzhiyun	  real-time clock chips.
290*4882a593Smuzhiyun
291*4882a593Smuzhiyunconfig RTC_DRV_DS1672
292*4882a593Smuzhiyun	tristate "Dallas/Maxim DS1672"
293*4882a593Smuzhiyun	help
294*4882a593Smuzhiyun	  If you say yes here you get support for the
295*4882a593Smuzhiyun	  Dallas/Maxim DS1672 timekeeping chip.
296*4882a593Smuzhiyun
297*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
298*4882a593Smuzhiyun	  will be called rtc-ds1672.
299*4882a593Smuzhiyun
300*4882a593Smuzhiyunconfig RTC_DRV_HYM8563
301*4882a593Smuzhiyun	tristate "Haoyu Microelectronics HYM8563"
302*4882a593Smuzhiyun	depends on OF
303*4882a593Smuzhiyun	help
304*4882a593Smuzhiyun	  Say Y to enable support for the HYM8563 I2C RTC chip. Apart
305*4882a593Smuzhiyun	  from the usual rtc functions it provides a clock output of
306*4882a593Smuzhiyun	  up to 32kHz.
307*4882a593Smuzhiyun
308*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
309*4882a593Smuzhiyun	  will be called rtc-hym8563.
310*4882a593Smuzhiyun
311*4882a593Smuzhiyunconfig RTC_DRV_LP8788
312*4882a593Smuzhiyun	tristate "TI LP8788 RTC driver"
313*4882a593Smuzhiyun	depends on MFD_LP8788
314*4882a593Smuzhiyun	help
315*4882a593Smuzhiyun	  Say Y to enable support for the LP8788 RTC/ALARM driver.
316*4882a593Smuzhiyun
317*4882a593Smuzhiyunconfig RTC_DRV_MAX6900
318*4882a593Smuzhiyun	tristate "Maxim MAX6900"
319*4882a593Smuzhiyun	help
320*4882a593Smuzhiyun	  If you say yes here you will get support for the
321*4882a593Smuzhiyun	  Maxim MAX6900 I2C RTC chip.
322*4882a593Smuzhiyun
323*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
324*4882a593Smuzhiyun	  will be called rtc-max6900.
325*4882a593Smuzhiyun
326*4882a593Smuzhiyunconfig RTC_DRV_MAX8907
327*4882a593Smuzhiyun	tristate "Maxim MAX8907"
328*4882a593Smuzhiyun	depends on MFD_MAX8907 || COMPILE_TEST
329*4882a593Smuzhiyun	select REGMAP_IRQ
330*4882a593Smuzhiyun	help
331*4882a593Smuzhiyun	  If you say yes here you will get support for the
332*4882a593Smuzhiyun	  RTC of Maxim MAX8907 PMIC.
333*4882a593Smuzhiyun
334*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
335*4882a593Smuzhiyun	  will be called rtc-max8907.
336*4882a593Smuzhiyun
337*4882a593Smuzhiyunconfig RTC_DRV_MAX8925
338*4882a593Smuzhiyun	tristate "Maxim MAX8925"
339*4882a593Smuzhiyun	depends on MFD_MAX8925
340*4882a593Smuzhiyun	help
341*4882a593Smuzhiyun	  If you say yes here you will get support for the
342*4882a593Smuzhiyun	  RTC of Maxim MAX8925 PMIC.
343*4882a593Smuzhiyun
344*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
345*4882a593Smuzhiyun	  will be called rtc-max8925.
346*4882a593Smuzhiyun
347*4882a593Smuzhiyunconfig RTC_DRV_MAX8998
348*4882a593Smuzhiyun	tristate "Maxim MAX8998"
349*4882a593Smuzhiyun	depends on MFD_MAX8998
350*4882a593Smuzhiyun	help
351*4882a593Smuzhiyun	  If you say yes here you will get support for the
352*4882a593Smuzhiyun	  RTC of Maxim MAX8998 PMIC.
353*4882a593Smuzhiyun
354*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
355*4882a593Smuzhiyun	  will be called rtc-max8998.
356*4882a593Smuzhiyun
357*4882a593Smuzhiyunconfig RTC_DRV_MAX8997
358*4882a593Smuzhiyun	tristate "Maxim MAX8997"
359*4882a593Smuzhiyun	depends on MFD_MAX8997
360*4882a593Smuzhiyun	help
361*4882a593Smuzhiyun	  If you say yes here you will get support for the
362*4882a593Smuzhiyun	  RTC of Maxim MAX8997 PMIC.
363*4882a593Smuzhiyun
364*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
365*4882a593Smuzhiyun	  will be called rtc-max8997.
366*4882a593Smuzhiyun
367*4882a593Smuzhiyunconfig RTC_DRV_MAX77686
368*4882a593Smuzhiyun	tristate "Maxim MAX77686"
369*4882a593Smuzhiyun	depends on MFD_MAX77686 || MFD_MAX77620 || COMPILE_TEST
370*4882a593Smuzhiyun	help
371*4882a593Smuzhiyun	  If you say yes here you will get support for the
372*4882a593Smuzhiyun	  RTC of Maxim MAX77686/MAX77620/MAX77802 PMIC.
373*4882a593Smuzhiyun
374*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
375*4882a593Smuzhiyun	  will be called rtc-max77686.
376*4882a593Smuzhiyun
377*4882a593Smuzhiyunconfig RTC_DRV_RK808
378*4882a593Smuzhiyun	tristate "Rockchip RK805/RK808/RK809/RK816/RK817/RK818 RTC"
379*4882a593Smuzhiyun	depends on MFD_RK808
380*4882a593Smuzhiyun	help
381*4882a593Smuzhiyun	  If you say yes here you will get support for the
382*4882a593Smuzhiyun	  RTC of RK805, RK809 and RK817, RK808, RK816 and RK818 PMIC.
383*4882a593Smuzhiyun
384*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
385*4882a593Smuzhiyun	  will be called rk808-rtc.
386*4882a593Smuzhiyun
387*4882a593Smuzhiyunconfig RTC_DRV_ROCKCHIP
388*4882a593Smuzhiyun	tristate "Rockchip RTC"
389*4882a593Smuzhiyun	depends on ARCH_ROCKCHIP
390*4882a593Smuzhiyun	help
391*4882a593Smuzhiyun	  If you say yes here you will get support for the
392*4882a593Smuzhiyun	  RTC of Rockchip.
393*4882a593Smuzhiyun
394*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
395*4882a593Smuzhiyun	  will be called rtc-rockchip.
396*4882a593Smuzhiyun
397*4882a593Smuzhiyunconfig RTC_DRV_RS5C372
398*4882a593Smuzhiyun	tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
399*4882a593Smuzhiyun	help
400*4882a593Smuzhiyun	  If you say yes here you get support for the
401*4882a593Smuzhiyun	  Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
402*4882a593Smuzhiyun
403*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
404*4882a593Smuzhiyun	  will be called rtc-rs5c372.
405*4882a593Smuzhiyun
406*4882a593Smuzhiyunconfig RTC_DRV_ISL1208
407*4882a593Smuzhiyun	tristate "Intersil ISL1208"
408*4882a593Smuzhiyun	help
409*4882a593Smuzhiyun	  If you say yes here you get support for the
410*4882a593Smuzhiyun	  Intersil ISL1208 RTC chip.
411*4882a593Smuzhiyun
412*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
413*4882a593Smuzhiyun	  will be called rtc-isl1208.
414*4882a593Smuzhiyun
415*4882a593Smuzhiyunconfig RTC_DRV_ISL12022
416*4882a593Smuzhiyun	tristate "Intersil ISL12022"
417*4882a593Smuzhiyun	help
418*4882a593Smuzhiyun	  If you say yes here you get support for the
419*4882a593Smuzhiyun	  Intersil ISL12022 RTC chip.
420*4882a593Smuzhiyun
421*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
422*4882a593Smuzhiyun	  will be called rtc-isl12022.
423*4882a593Smuzhiyun
424*4882a593Smuzhiyunconfig RTC_DRV_ISL12026
425*4882a593Smuzhiyun	tristate "Intersil ISL12026"
426*4882a593Smuzhiyun	depends on OF || COMPILE_TEST
427*4882a593Smuzhiyun	help
428*4882a593Smuzhiyun	  If you say yes here you get support for the
429*4882a593Smuzhiyun	  Intersil ISL12026 RTC chip.
430*4882a593Smuzhiyun
431*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
432*4882a593Smuzhiyun	  will be called rtc-isl12026.
433*4882a593Smuzhiyun
434*4882a593Smuzhiyunconfig RTC_DRV_X1205
435*4882a593Smuzhiyun	tristate "Xicor/Intersil X1205"
436*4882a593Smuzhiyun	help
437*4882a593Smuzhiyun	  If you say yes here you get support for the
438*4882a593Smuzhiyun	  Xicor/Intersil X1205 RTC chip.
439*4882a593Smuzhiyun
440*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
441*4882a593Smuzhiyun	  will be called rtc-x1205.
442*4882a593Smuzhiyun
443*4882a593Smuzhiyunconfig RTC_DRV_PCF8523
444*4882a593Smuzhiyun	tristate "NXP PCF8523"
445*4882a593Smuzhiyun	help
446*4882a593Smuzhiyun	  If you say yes here you get support for the NXP PCF8523 RTC
447*4882a593Smuzhiyun	  chips.
448*4882a593Smuzhiyun
449*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
450*4882a593Smuzhiyun	  will be called rtc-pcf8523.
451*4882a593Smuzhiyun
452*4882a593Smuzhiyunconfig RTC_DRV_PCF85063
453*4882a593Smuzhiyun	tristate "NXP PCF85063"
454*4882a593Smuzhiyun	select REGMAP_I2C
455*4882a593Smuzhiyun	help
456*4882a593Smuzhiyun	  If you say yes here you get support for the PCF85063 RTC chip
457*4882a593Smuzhiyun
458*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
459*4882a593Smuzhiyun	  will be called rtc-pcf85063.
460*4882a593Smuzhiyun
461*4882a593Smuzhiyunconfig RTC_DRV_PCF85363
462*4882a593Smuzhiyun	tristate "NXP PCF85363"
463*4882a593Smuzhiyun	select REGMAP_I2C
464*4882a593Smuzhiyun	help
465*4882a593Smuzhiyun	  If you say yes here you get support for the PCF85363 RTC chip.
466*4882a593Smuzhiyun
467*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
468*4882a593Smuzhiyun	  will be called rtc-pcf85363.
469*4882a593Smuzhiyun
470*4882a593Smuzhiyun	  The nvmem interface will be named pcf85363-#, where # is the
471*4882a593Smuzhiyun	  zero-based instance number.
472*4882a593Smuzhiyun
473*4882a593Smuzhiyunconfig RTC_DRV_PCF8563
474*4882a593Smuzhiyun	tristate "Philips PCF8563/Epson RTC8564"
475*4882a593Smuzhiyun	help
476*4882a593Smuzhiyun	  If you say yes here you get support for the
477*4882a593Smuzhiyun	  Philips PCF8563 RTC chip. The Epson RTC8564
478*4882a593Smuzhiyun	  should work as well.
479*4882a593Smuzhiyun
480*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
481*4882a593Smuzhiyun	  will be called rtc-pcf8563.
482*4882a593Smuzhiyun
483*4882a593Smuzhiyunconfig RTC_DRV_PCF8583
484*4882a593Smuzhiyun	tristate "Philips PCF8583"
485*4882a593Smuzhiyun	help
486*4882a593Smuzhiyun	  If you say yes here you get support for the Philips PCF8583
487*4882a593Smuzhiyun	  RTC chip found on Acorn RiscPCs. This driver supports the
488*4882a593Smuzhiyun	  platform specific method of retrieving the current year from
489*4882a593Smuzhiyun	  the RTC's SRAM. It will work on other platforms with the same
490*4882a593Smuzhiyun	  chip, but the year will probably have to be tweaked.
491*4882a593Smuzhiyun
492*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
493*4882a593Smuzhiyun	  will be called rtc-pcf8583.
494*4882a593Smuzhiyun
495*4882a593Smuzhiyunconfig RTC_DRV_M41T80
496*4882a593Smuzhiyun	tristate "ST M41T62/65/M41T80/81/82/83/84/85/87 and compatible"
497*4882a593Smuzhiyun	help
498*4882a593Smuzhiyun	  If you say Y here you will get support for the ST M41T60
499*4882a593Smuzhiyun	  and M41T80 RTC chips series. Currently, the following chips are
500*4882a593Smuzhiyun	  supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
501*4882a593Smuzhiyun	  M41ST85, M41ST87, and MicroCrystal RV4162.
502*4882a593Smuzhiyun
503*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
504*4882a593Smuzhiyun	  will be called rtc-m41t80.
505*4882a593Smuzhiyun
506*4882a593Smuzhiyunconfig RTC_DRV_M41T80_WDT
507*4882a593Smuzhiyun	bool "ST M41T65/M41T80 series RTC watchdog timer"
508*4882a593Smuzhiyun	depends on RTC_DRV_M41T80
509*4882a593Smuzhiyun	help
510*4882a593Smuzhiyun	  If you say Y here you will get support for the
511*4882a593Smuzhiyun	  watchdog timer in the ST M41T60 and M41T80 RTC chips series.
512*4882a593Smuzhiyun
513*4882a593Smuzhiyunconfig RTC_DRV_BD70528
514*4882a593Smuzhiyun	tristate "ROHM BD70528 PMIC RTC"
515*4882a593Smuzhiyun	depends on MFD_ROHM_BD70528 && (BD70528_WATCHDOG || !BD70528_WATCHDOG)
516*4882a593Smuzhiyun	help
517*4882a593Smuzhiyun	  If you say Y here you will get support for the RTC
518*4882a593Smuzhiyun	  block on ROHM BD70528 and BD71828 Power Management IC.
519*4882a593Smuzhiyun
520*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
521*4882a593Smuzhiyun	  will be called rtc-bd70528.
522*4882a593Smuzhiyun
523*4882a593Smuzhiyunconfig RTC_DRV_BQ32K
524*4882a593Smuzhiyun	tristate "TI BQ32000"
525*4882a593Smuzhiyun	help
526*4882a593Smuzhiyun	  If you say Y here you will get support for the TI
527*4882a593Smuzhiyun	  BQ32000 I2C RTC chip.
528*4882a593Smuzhiyun
529*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
530*4882a593Smuzhiyun	  will be called rtc-bq32k.
531*4882a593Smuzhiyun
532*4882a593Smuzhiyunconfig RTC_DRV_DM355EVM
533*4882a593Smuzhiyun	tristate "TI DaVinci DM355 EVM RTC"
534*4882a593Smuzhiyun	depends on MFD_DM355EVM_MSP
535*4882a593Smuzhiyun	help
536*4882a593Smuzhiyun	  Supports the RTC firmware in the MSP430 on the DM355 EVM.
537*4882a593Smuzhiyun
538*4882a593Smuzhiyunconfig RTC_DRV_TWL92330
539*4882a593Smuzhiyun	bool "TI TWL92330/Menelaus"
540*4882a593Smuzhiyun	depends on MENELAUS
541*4882a593Smuzhiyun	help
542*4882a593Smuzhiyun	  If you say yes here you get support for the RTC on the
543*4882a593Smuzhiyun	  TWL92330 "Menelaus" power management chip, used with OMAP2
544*4882a593Smuzhiyun	  platforms. The support is integrated with the rest of
545*4882a593Smuzhiyun	  the Menelaus driver; it's not separate module.
546*4882a593Smuzhiyun
547*4882a593Smuzhiyunconfig RTC_DRV_TWL4030
548*4882a593Smuzhiyun	tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
549*4882a593Smuzhiyun	depends on TWL4030_CORE
550*4882a593Smuzhiyun	depends on OF
551*4882a593Smuzhiyun	help
552*4882a593Smuzhiyun	  If you say yes here you get support for the RTC on the
553*4882a593Smuzhiyun	  TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
554*4882a593Smuzhiyun
555*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
556*4882a593Smuzhiyun	  will be called rtc-twl.
557*4882a593Smuzhiyun
558*4882a593Smuzhiyunconfig RTC_DRV_PALMAS
559*4882a593Smuzhiyun	tristate "TI Palmas RTC driver"
560*4882a593Smuzhiyun	depends on MFD_PALMAS
561*4882a593Smuzhiyun	help
562*4882a593Smuzhiyun	  If you say yes here you get support for the RTC of TI PALMA series PMIC
563*4882a593Smuzhiyun	  chips.
564*4882a593Smuzhiyun
565*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
566*4882a593Smuzhiyun	  will be called rtc-palma.
567*4882a593Smuzhiyun
568*4882a593Smuzhiyunconfig RTC_DRV_TPS6586X
569*4882a593Smuzhiyun	tristate "TI TPS6586X RTC driver"
570*4882a593Smuzhiyun	depends on MFD_TPS6586X
571*4882a593Smuzhiyun	help
572*4882a593Smuzhiyun	  TI Power Management IC TPS6586X supports RTC functionality
573*4882a593Smuzhiyun	  along with alarm. This driver supports the RTC driver for
574*4882a593Smuzhiyun	  the TPS6586X RTC module.
575*4882a593Smuzhiyun
576*4882a593Smuzhiyunconfig RTC_DRV_TPS65910
577*4882a593Smuzhiyun	tristate "TI TPS65910 RTC driver"
578*4882a593Smuzhiyun	depends on MFD_TPS65910
579*4882a593Smuzhiyun	help
580*4882a593Smuzhiyun	  If you say yes here you get support for the RTC on the
581*4882a593Smuzhiyun	  TPS65910 chips.
582*4882a593Smuzhiyun
583*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
584*4882a593Smuzhiyun	  will be called rtc-tps65910.
585*4882a593Smuzhiyun
586*4882a593Smuzhiyunconfig RTC_DRV_TPS80031
587*4882a593Smuzhiyun	tristate "TI TPS80031/TPS80032 RTC driver"
588*4882a593Smuzhiyun	depends on MFD_TPS80031
589*4882a593Smuzhiyun	help
590*4882a593Smuzhiyun	  TI Power Management IC TPS80031 supports RTC functionality
591*4882a593Smuzhiyun	  along with alarm. This driver supports the RTC driver for
592*4882a593Smuzhiyun	  the TPS80031 RTC module.
593*4882a593Smuzhiyun
594*4882a593Smuzhiyunconfig RTC_DRV_RC5T583
595*4882a593Smuzhiyun	tristate "RICOH 5T583 RTC driver"
596*4882a593Smuzhiyun	depends on MFD_RC5T583
597*4882a593Smuzhiyun	help
598*4882a593Smuzhiyun	  If you say yes here you get support for the RTC on the
599*4882a593Smuzhiyun	  RICOH 5T583 chips.
600*4882a593Smuzhiyun
601*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
602*4882a593Smuzhiyun	  will be called rtc-rc5t583.
603*4882a593Smuzhiyun
604*4882a593Smuzhiyunconfig RTC_DRV_RC5T619
605*4882a593Smuzhiyun	tristate "RICOH RC5T619 RTC driver"
606*4882a593Smuzhiyun	depends on MFD_RN5T618
607*4882a593Smuzhiyun	help
608*4882a593Smuzhiyun	  If you say yes here you get support for the RTC on the
609*4882a593Smuzhiyun	  RICOH RC5T619 chips.
610*4882a593Smuzhiyun
611*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
612*4882a593Smuzhiyun	  will be called rtc-rc5t619.
613*4882a593Smuzhiyun
614*4882a593Smuzhiyunconfig RTC_DRV_S35390A
615*4882a593Smuzhiyun	tristate "Seiko Instruments S-35390A"
616*4882a593Smuzhiyun	select BITREVERSE
617*4882a593Smuzhiyun	help
618*4882a593Smuzhiyun	  If you say yes here you will get support for the Seiko
619*4882a593Smuzhiyun	  Instruments S-35390A.
620*4882a593Smuzhiyun
621*4882a593Smuzhiyun	  This driver can also be built as a module. If so the module
622*4882a593Smuzhiyun	  will be called rtc-s35390a.
623*4882a593Smuzhiyun
624*4882a593Smuzhiyunconfig RTC_DRV_FM3130
625*4882a593Smuzhiyun	tristate "Ramtron FM3130"
626*4882a593Smuzhiyun	help
627*4882a593Smuzhiyun	  If you say Y here you will get support for the
628*4882a593Smuzhiyun	  Ramtron FM3130 RTC chips.
629*4882a593Smuzhiyun	  Ramtron FM3130 is a chip with two separate devices inside,
630*4882a593Smuzhiyun	  RTC clock and FRAM. This driver provides only RTC functionality.
631*4882a593Smuzhiyun
632*4882a593Smuzhiyun	  This driver can also be built as a module. If so the module
633*4882a593Smuzhiyun	  will be called rtc-fm3130.
634*4882a593Smuzhiyun
635*4882a593Smuzhiyunconfig RTC_DRV_RX8010
636*4882a593Smuzhiyun	tristate "Epson RX8010SJ"
637*4882a593Smuzhiyun	select REGMAP_I2C
638*4882a593Smuzhiyun	help
639*4882a593Smuzhiyun	  If you say yes here you get support for the Epson RX8010SJ RTC
640*4882a593Smuzhiyun	  chip.
641*4882a593Smuzhiyun
642*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
643*4882a593Smuzhiyun	  will be called rtc-rx8010.
644*4882a593Smuzhiyun
645*4882a593Smuzhiyunconfig RTC_DRV_RX8581
646*4882a593Smuzhiyun	tristate "Epson RX-8571/RX-8581"
647*4882a593Smuzhiyun	select REGMAP_I2C
648*4882a593Smuzhiyun	help
649*4882a593Smuzhiyun	  If you say yes here you will get support for the Epson RX-8571/
650*4882a593Smuzhiyun	  RX-8581.
651*4882a593Smuzhiyun
652*4882a593Smuzhiyun	  This driver can also be built as a module. If so the module
653*4882a593Smuzhiyun	  will be called rtc-rx8581.
654*4882a593Smuzhiyun
655*4882a593Smuzhiyunconfig RTC_DRV_RX8025
656*4882a593Smuzhiyun	tristate "Epson RX-8025SA/NB"
657*4882a593Smuzhiyun	help
658*4882a593Smuzhiyun	  If you say yes here you get support for the Epson
659*4882a593Smuzhiyun	  RX-8025SA/NB RTC chips.
660*4882a593Smuzhiyun
661*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
662*4882a593Smuzhiyun	  will be called rtc-rx8025.
663*4882a593Smuzhiyun
664*4882a593Smuzhiyunconfig RTC_DRV_EM3027
665*4882a593Smuzhiyun	tristate "EM Microelectronic EM3027"
666*4882a593Smuzhiyun	help
667*4882a593Smuzhiyun	  If you say yes here you get support for the EM
668*4882a593Smuzhiyun	  Microelectronic EM3027 RTC chips.
669*4882a593Smuzhiyun
670*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
671*4882a593Smuzhiyun	  will be called rtc-em3027.
672*4882a593Smuzhiyun
673*4882a593Smuzhiyunconfig RTC_DRV_RV3028
674*4882a593Smuzhiyun	tristate "Micro Crystal RV3028"
675*4882a593Smuzhiyun	select REGMAP_I2C
676*4882a593Smuzhiyun	help
677*4882a593Smuzhiyun	  If you say yes here you get support for the Micro Crystal
678*4882a593Smuzhiyun	  RV3028.
679*4882a593Smuzhiyun
680*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
681*4882a593Smuzhiyun	  will be called rtc-rv3028.
682*4882a593Smuzhiyun
683*4882a593Smuzhiyunconfig RTC_DRV_RV3032
684*4882a593Smuzhiyun	tristate "Micro Crystal RV3032"
685*4882a593Smuzhiyun	select REGMAP_I2C
686*4882a593Smuzhiyun	help
687*4882a593Smuzhiyun	  If you say yes here you get support for the Micro Crystal
688*4882a593Smuzhiyun	  RV3032.
689*4882a593Smuzhiyun
690*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
691*4882a593Smuzhiyun	  will be called rtc-rv3032.
692*4882a593Smuzhiyun
693*4882a593Smuzhiyunconfig RTC_DRV_RV8803
694*4882a593Smuzhiyun	tristate "Micro Crystal RV8803, Epson RX8900"
695*4882a593Smuzhiyun	help
696*4882a593Smuzhiyun	  If you say yes here you get support for the Micro Crystal RV8803 and
697*4882a593Smuzhiyun	  Epson RX8900 RTC chips.
698*4882a593Smuzhiyun
699*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
700*4882a593Smuzhiyun	  will be called rtc-rv8803.
701*4882a593Smuzhiyun
702*4882a593Smuzhiyunconfig RTC_DRV_S5M
703*4882a593Smuzhiyun	tristate "Samsung S2M/S5M series"
704*4882a593Smuzhiyun	depends on MFD_SEC_CORE || COMPILE_TEST
705*4882a593Smuzhiyun	select REGMAP_IRQ
706*4882a593Smuzhiyun	select REGMAP_I2C
707*4882a593Smuzhiyun	help
708*4882a593Smuzhiyun	  If you say yes here you will get support for the
709*4882a593Smuzhiyun	  RTC of Samsung S2MPS14 and S5M PMIC series.
710*4882a593Smuzhiyun
711*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
712*4882a593Smuzhiyun	  will be called rtc-s5m.
713*4882a593Smuzhiyun
714*4882a593Smuzhiyunconfig RTC_DRV_SD3078
715*4882a593Smuzhiyun	tristate "ZXW Shenzhen whwave SD3078"
716*4882a593Smuzhiyun	select REGMAP_I2C
717*4882a593Smuzhiyun	help
718*4882a593Smuzhiyun	  If you say yes here you get support for the ZXW Shenzhen whwave
719*4882a593Smuzhiyun	  SD3078 RTC chips.
720*4882a593Smuzhiyun
721*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
722*4882a593Smuzhiyun	  will be called rtc-sd3078
723*4882a593Smuzhiyun
724*4882a593Smuzhiyunendif # I2C
725*4882a593Smuzhiyun
726*4882a593Smuzhiyuncomment "SPI RTC drivers"
727*4882a593Smuzhiyun
728*4882a593Smuzhiyunif SPI_MASTER
729*4882a593Smuzhiyun
730*4882a593Smuzhiyunconfig RTC_DRV_M41T93
731*4882a593Smuzhiyun	tristate "ST M41T93"
732*4882a593Smuzhiyun	help
733*4882a593Smuzhiyun	  If you say yes here you will get support for the
734*4882a593Smuzhiyun	  ST M41T93 SPI RTC chip.
735*4882a593Smuzhiyun
736*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
737*4882a593Smuzhiyun	  will be called rtc-m41t93.
738*4882a593Smuzhiyun
739*4882a593Smuzhiyunconfig RTC_DRV_M41T94
740*4882a593Smuzhiyun	tristate "ST M41T94"
741*4882a593Smuzhiyun	help
742*4882a593Smuzhiyun	  If you say yes here you will get support for the
743*4882a593Smuzhiyun	  ST M41T94 SPI RTC chip.
744*4882a593Smuzhiyun
745*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
746*4882a593Smuzhiyun	  will be called rtc-m41t94.
747*4882a593Smuzhiyun
748*4882a593Smuzhiyunconfig RTC_DRV_DS1302
749*4882a593Smuzhiyun	tristate "Dallas/Maxim DS1302"
750*4882a593Smuzhiyun	depends on SPI
751*4882a593Smuzhiyun	help
752*4882a593Smuzhiyun	  If you say yes here you get support for the Dallas DS1302 RTC chips.
753*4882a593Smuzhiyun
754*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
755*4882a593Smuzhiyun	  will be called rtc-ds1302.
756*4882a593Smuzhiyun
757*4882a593Smuzhiyunconfig RTC_DRV_DS1305
758*4882a593Smuzhiyun	tristate "Dallas/Maxim DS1305/DS1306"
759*4882a593Smuzhiyun	help
760*4882a593Smuzhiyun	  Select this driver to get support for the Dallas/Maxim DS1305
761*4882a593Smuzhiyun	  and DS1306 real time clock chips. These support a trickle
762*4882a593Smuzhiyun	  charger, alarms, and NVRAM in addition to the clock.
763*4882a593Smuzhiyun
764*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
765*4882a593Smuzhiyun	  will be called rtc-ds1305.
766*4882a593Smuzhiyun
767*4882a593Smuzhiyunconfig RTC_DRV_DS1343
768*4882a593Smuzhiyun	select REGMAP_SPI
769*4882a593Smuzhiyun	tristate "Dallas/Maxim DS1343/DS1344"
770*4882a593Smuzhiyun	help
771*4882a593Smuzhiyun	  If you say yes here you get support for the
772*4882a593Smuzhiyun	  Dallas/Maxim DS1343 and DS1344 real time clock chips.
773*4882a593Smuzhiyun	  Support for trickle charger, alarm is provided.
774*4882a593Smuzhiyun
775*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
776*4882a593Smuzhiyun	  will be called rtc-ds1343.
777*4882a593Smuzhiyun
778*4882a593Smuzhiyunconfig RTC_DRV_DS1347
779*4882a593Smuzhiyun	select REGMAP_SPI
780*4882a593Smuzhiyun	tristate "Dallas/Maxim DS1347"
781*4882a593Smuzhiyun	help
782*4882a593Smuzhiyun	  If you say yes here you get support for the
783*4882a593Smuzhiyun	  Dallas/Maxim DS1347 chips.
784*4882a593Smuzhiyun
785*4882a593Smuzhiyun	  This driver only supports the RTC feature, and not other chip
786*4882a593Smuzhiyun	  features such as alarms.
787*4882a593Smuzhiyun
788*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
789*4882a593Smuzhiyun	  will be called rtc-ds1347.
790*4882a593Smuzhiyun
791*4882a593Smuzhiyunconfig RTC_DRV_DS1390
792*4882a593Smuzhiyun	tristate "Dallas/Maxim DS1390/93/94"
793*4882a593Smuzhiyun	help
794*4882a593Smuzhiyun	  If you say yes here you get support for the
795*4882a593Smuzhiyun	  Dallas/Maxim DS1390/93/94 chips.
796*4882a593Smuzhiyun
797*4882a593Smuzhiyun	  This driver supports the RTC feature and trickle charging but not
798*4882a593Smuzhiyun	  other chip features such as alarms.
799*4882a593Smuzhiyun
800*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
801*4882a593Smuzhiyun	  will be called rtc-ds1390.
802*4882a593Smuzhiyun
803*4882a593Smuzhiyunconfig RTC_DRV_MAX6916
804*4882a593Smuzhiyun	tristate "Maxim MAX6916"
805*4882a593Smuzhiyun	help
806*4882a593Smuzhiyun	  If you say yes here you will get support for the
807*4882a593Smuzhiyun	  Maxim MAX6916 SPI RTC chip.
808*4882a593Smuzhiyun
809*4882a593Smuzhiyun	  This driver only supports the RTC feature, and not other chip
810*4882a593Smuzhiyun	  features such as alarms.
811*4882a593Smuzhiyun
812*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
813*4882a593Smuzhiyun	  will be called rtc-max6916.
814*4882a593Smuzhiyun
815*4882a593Smuzhiyunconfig RTC_DRV_R9701
816*4882a593Smuzhiyun	tristate "Epson RTC-9701JE"
817*4882a593Smuzhiyun	help
818*4882a593Smuzhiyun	  If you say yes here you will get support for the
819*4882a593Smuzhiyun	  Epson RTC-9701JE SPI RTC chip.
820*4882a593Smuzhiyun
821*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
822*4882a593Smuzhiyun	  will be called rtc-r9701.
823*4882a593Smuzhiyun
824*4882a593Smuzhiyunconfig RTC_DRV_RX4581
825*4882a593Smuzhiyun	tristate "Epson RX-4581"
826*4882a593Smuzhiyun	help
827*4882a593Smuzhiyun	  If you say yes here you will get support for the Epson RX-4581.
828*4882a593Smuzhiyun
829*4882a593Smuzhiyun	  This driver can also be built as a module. If so the module
830*4882a593Smuzhiyun	  will be called rtc-rx4581.
831*4882a593Smuzhiyun
832*4882a593Smuzhiyunconfig RTC_DRV_RX6110
833*4882a593Smuzhiyun	tristate "Epson RX-6110"
834*4882a593Smuzhiyun	select REGMAP_SPI
835*4882a593Smuzhiyun	help
836*4882a593Smuzhiyun	  If you say yes here you will get support for the Epson RX-6610.
837*4882a593Smuzhiyun
838*4882a593Smuzhiyun	  This driver can also be built as a module. If so the module
839*4882a593Smuzhiyun	  will be called rtc-rx6110.
840*4882a593Smuzhiyun
841*4882a593Smuzhiyunconfig RTC_DRV_RS5C348
842*4882a593Smuzhiyun	tristate "Ricoh RS5C348A/B"
843*4882a593Smuzhiyun	help
844*4882a593Smuzhiyun	  If you say yes here you get support for the
845*4882a593Smuzhiyun	  Ricoh RS5C348A and RS5C348B RTC chips.
846*4882a593Smuzhiyun
847*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
848*4882a593Smuzhiyun	  will be called rtc-rs5c348.
849*4882a593Smuzhiyun
850*4882a593Smuzhiyunconfig RTC_DRV_MAX6902
851*4882a593Smuzhiyun	tristate "Maxim MAX6902"
852*4882a593Smuzhiyun	help
853*4882a593Smuzhiyun	  If you say yes here you will get support for the
854*4882a593Smuzhiyun	  Maxim MAX6902 SPI RTC chip.
855*4882a593Smuzhiyun
856*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
857*4882a593Smuzhiyun	  will be called rtc-max6902.
858*4882a593Smuzhiyun
859*4882a593Smuzhiyunconfig RTC_DRV_PCF2123
860*4882a593Smuzhiyun	tristate "NXP PCF2123"
861*4882a593Smuzhiyun	select REGMAP_SPI
862*4882a593Smuzhiyun	help
863*4882a593Smuzhiyun	  If you say yes here you get support for the NXP PCF2123
864*4882a593Smuzhiyun	  RTC chip.
865*4882a593Smuzhiyun
866*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
867*4882a593Smuzhiyun	  will be called rtc-pcf2123.
868*4882a593Smuzhiyun
869*4882a593Smuzhiyunconfig RTC_DRV_MCP795
870*4882a593Smuzhiyun	tristate "Microchip MCP795"
871*4882a593Smuzhiyun	help
872*4882a593Smuzhiyun	  If you say yes here you will get support for the Microchip MCP795.
873*4882a593Smuzhiyun
874*4882a593Smuzhiyun	  This driver can also be built as a module. If so the module
875*4882a593Smuzhiyun	  will be called rtc-mcp795.
876*4882a593Smuzhiyun
877*4882a593Smuzhiyunendif # SPI_MASTER
878*4882a593Smuzhiyun
879*4882a593Smuzhiyun#
880*4882a593Smuzhiyun# Helper to resolve issues with configs that have SPI enabled but I2C
881*4882a593Smuzhiyun# modular.  See SND_SOC_I2C_AND_SPI for more information
882*4882a593Smuzhiyun#
883*4882a593Smuzhiyunconfig RTC_I2C_AND_SPI
884*4882a593Smuzhiyun	tristate
885*4882a593Smuzhiyun	default m if I2C=m
886*4882a593Smuzhiyun	default y if I2C=y
887*4882a593Smuzhiyun	default y if SPI_MASTER=y
888*4882a593Smuzhiyun
889*4882a593Smuzhiyuncomment "SPI and I2C RTC drivers"
890*4882a593Smuzhiyun
891*4882a593Smuzhiyunconfig RTC_DRV_DS3232
892*4882a593Smuzhiyun	tristate "Dallas/Maxim DS3232/DS3234"
893*4882a593Smuzhiyun	depends on RTC_I2C_AND_SPI
894*4882a593Smuzhiyun	select REGMAP_I2C if I2C
895*4882a593Smuzhiyun	select REGMAP_SPI if SPI_MASTER
896*4882a593Smuzhiyun	help
897*4882a593Smuzhiyun	  If you say yes here you get support for Dallas Semiconductor
898*4882a593Smuzhiyun	  DS3232 and DS3234 real-time clock chips. If an interrupt is associated
899*4882a593Smuzhiyun	  with the device, the alarm functionality is supported.
900*4882a593Smuzhiyun
901*4882a593Smuzhiyun	  This driver can also be built as a module.  If so, the module
902*4882a593Smuzhiyun	  will be called rtc-ds3232.
903*4882a593Smuzhiyun
904*4882a593Smuzhiyunconfig RTC_DRV_DS3232_HWMON
905*4882a593Smuzhiyun	bool "HWMON support for Dallas/Maxim DS3232/DS3234"
906*4882a593Smuzhiyun	depends on RTC_DRV_DS3232 && HWMON && !(RTC_DRV_DS3232=y && HWMON=m)
907*4882a593Smuzhiyun	default y
908*4882a593Smuzhiyun	help
909*4882a593Smuzhiyun	  Say Y here if you want to expose temperature sensor data on
910*4882a593Smuzhiyun	  rtc-ds3232
911*4882a593Smuzhiyun
912*4882a593Smuzhiyunconfig RTC_DRV_PCF2127
913*4882a593Smuzhiyun	tristate "NXP PCF2127"
914*4882a593Smuzhiyun	depends on RTC_I2C_AND_SPI
915*4882a593Smuzhiyun	select REGMAP_I2C if I2C
916*4882a593Smuzhiyun	select REGMAP_SPI if SPI_MASTER
917*4882a593Smuzhiyun	select WATCHDOG_CORE if WATCHDOG
918*4882a593Smuzhiyun	help
919*4882a593Smuzhiyun	  If you say yes here you get support for the NXP PCF2127/29 RTC
920*4882a593Smuzhiyun	  chips with integrated quartz crystal for industrial applications.
921*4882a593Smuzhiyun	  Both chips also have watchdog timer and tamper switch detection
922*4882a593Smuzhiyun	  features.
923*4882a593Smuzhiyun
924*4882a593Smuzhiyun	  PCF2127 has an additional feature of 512 bytes battery backed
925*4882a593Smuzhiyun	  memory that's accessible using nvmem interface.
926*4882a593Smuzhiyun
927*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
928*4882a593Smuzhiyun	  will be called rtc-pcf2127.
929*4882a593Smuzhiyun
930*4882a593Smuzhiyunconfig RTC_DRV_RV3029C2
931*4882a593Smuzhiyun	tristate "Micro Crystal RV3029/3049"
932*4882a593Smuzhiyun	depends on RTC_I2C_AND_SPI
933*4882a593Smuzhiyun	select REGMAP_I2C if I2C
934*4882a593Smuzhiyun	select REGMAP_SPI if SPI_MASTER
935*4882a593Smuzhiyun	help
936*4882a593Smuzhiyun	  If you say yes here you get support for the Micro Crystal
937*4882a593Smuzhiyun	  RV3029 and RV3049 RTC chips.
938*4882a593Smuzhiyun
939*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
940*4882a593Smuzhiyun	  will be called rtc-rv3029c2.
941*4882a593Smuzhiyun
942*4882a593Smuzhiyunconfig RTC_DRV_RV3029_HWMON
943*4882a593Smuzhiyun	bool "HWMON support for RV3029/3049"
944*4882a593Smuzhiyun	depends on RTC_DRV_RV3029C2 && HWMON
945*4882a593Smuzhiyun	depends on !(RTC_DRV_RV3029C2=y && HWMON=m)
946*4882a593Smuzhiyun	default y
947*4882a593Smuzhiyun	help
948*4882a593Smuzhiyun	  Say Y here if you want to expose temperature sensor data on
949*4882a593Smuzhiyun	  rtc-rv3029.
950*4882a593Smuzhiyun
951*4882a593Smuzhiyuncomment "Platform RTC drivers"
952*4882a593Smuzhiyun
953*4882a593Smuzhiyun# this 'CMOS' RTC driver is arch dependent because it requires
954*4882a593Smuzhiyun# <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
955*4882a593Smuzhiyun# global rtc_lock ... it's not yet just another platform_device.
956*4882a593Smuzhiyun
957*4882a593Smuzhiyunconfig RTC_DRV_CMOS
958*4882a593Smuzhiyun	tristate "PC-style 'CMOS'"
959*4882a593Smuzhiyun	depends on X86 || ARM || PPC || MIPS || SPARC64
960*4882a593Smuzhiyun	default y if X86
961*4882a593Smuzhiyun	select RTC_MC146818_LIB
962*4882a593Smuzhiyun	help
963*4882a593Smuzhiyun	  Say "yes" here to get direct support for the real time clock
964*4882a593Smuzhiyun	  found in every PC or ACPI-based system, and some other boards.
965*4882a593Smuzhiyun	  Specifically the original MC146818, compatibles like those in
966*4882a593Smuzhiyun	  PC south bridges, the DS12887 or M48T86, some multifunction
967*4882a593Smuzhiyun	  or LPC bus chips, and so on.
968*4882a593Smuzhiyun
969*4882a593Smuzhiyun	  Your system will need to define the platform device used by
970*4882a593Smuzhiyun	  this driver, otherwise it won't be accessible. This means
971*4882a593Smuzhiyun	  you can safely enable this driver if you don't know whether
972*4882a593Smuzhiyun	  or not your board has this kind of hardware.
973*4882a593Smuzhiyun
974*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
975*4882a593Smuzhiyun	  will be called rtc-cmos.
976*4882a593Smuzhiyun
977*4882a593Smuzhiyunconfig RTC_DRV_ALPHA
978*4882a593Smuzhiyun	bool "Alpha PC-style CMOS"
979*4882a593Smuzhiyun	depends on ALPHA
980*4882a593Smuzhiyun	select RTC_MC146818_LIB
981*4882a593Smuzhiyun	default y
982*4882a593Smuzhiyun	help
983*4882a593Smuzhiyun	  Direct support for the real-time clock found on every Alpha
984*4882a593Smuzhiyun	  system, specifically MC146818 compatibles.  If in doubt, say Y.
985*4882a593Smuzhiyun
986*4882a593Smuzhiyunconfig RTC_DRV_VRTC
987*4882a593Smuzhiyun	tristate "Virtual RTC for Intel MID platforms"
988*4882a593Smuzhiyun	depends on X86_INTEL_MID
989*4882a593Smuzhiyun	default y if X86_INTEL_MID
990*4882a593Smuzhiyun
991*4882a593Smuzhiyun	help
992*4882a593Smuzhiyun	Say "yes" here to get direct support for the real time clock
993*4882a593Smuzhiyun	found on Moorestown platforms. The VRTC is a emulated RTC that
994*4882a593Smuzhiyun	derives its clock source from a real RTC in the PMIC. The MC146818
995*4882a593Smuzhiyun	style programming interface is mostly conserved, but any
996*4882a593Smuzhiyun	updates are done via IPC calls to the system controller FW.
997*4882a593Smuzhiyun
998*4882a593Smuzhiyunconfig RTC_DRV_DS1216
999*4882a593Smuzhiyun	tristate "Dallas DS1216"
1000*4882a593Smuzhiyun	depends on SNI_RM
1001*4882a593Smuzhiyun	help
1002*4882a593Smuzhiyun	  If you say yes here you get support for the Dallas DS1216 RTC chips.
1003*4882a593Smuzhiyun
1004*4882a593Smuzhiyunconfig RTC_DRV_DS1286
1005*4882a593Smuzhiyun	tristate "Dallas DS1286"
1006*4882a593Smuzhiyun	depends on HAS_IOMEM
1007*4882a593Smuzhiyun	help
1008*4882a593Smuzhiyun	  If you say yes here you get support for the Dallas DS1286 RTC chips.
1009*4882a593Smuzhiyun
1010*4882a593Smuzhiyunconfig RTC_DRV_DS1511
1011*4882a593Smuzhiyun	tristate "Dallas DS1511"
1012*4882a593Smuzhiyun	depends on HAS_IOMEM
1013*4882a593Smuzhiyun	help
1014*4882a593Smuzhiyun	  If you say yes here you get support for the
1015*4882a593Smuzhiyun	  Dallas DS1511 timekeeping/watchdog chip.
1016*4882a593Smuzhiyun
1017*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1018*4882a593Smuzhiyun	  will be called rtc-ds1511.
1019*4882a593Smuzhiyun
1020*4882a593Smuzhiyunconfig RTC_DRV_DS1553
1021*4882a593Smuzhiyun	tristate "Maxim/Dallas DS1553"
1022*4882a593Smuzhiyun	depends on HAS_IOMEM
1023*4882a593Smuzhiyun	help
1024*4882a593Smuzhiyun	  If you say yes here you get support for the
1025*4882a593Smuzhiyun	  Maxim/Dallas DS1553 timekeeping chip.
1026*4882a593Smuzhiyun
1027*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1028*4882a593Smuzhiyun	  will be called rtc-ds1553.
1029*4882a593Smuzhiyun
1030*4882a593Smuzhiyunconfig RTC_DRV_DS1685_FAMILY
1031*4882a593Smuzhiyun	tristate "Dallas/Maxim DS1685 Family"
1032*4882a593Smuzhiyun	help
1033*4882a593Smuzhiyun	  If you say yes here you get support for the Dallas/Maxim DS1685
1034*4882a593Smuzhiyun	  family of real time chips.  This family includes the DS1685/DS1687,
1035*4882a593Smuzhiyun	  DS1689/DS1693, DS17285/DS17287, DS17485/DS17487, and
1036*4882a593Smuzhiyun	  DS17885/DS17887 chips.
1037*4882a593Smuzhiyun
1038*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1039*4882a593Smuzhiyun	  will be called rtc-ds1685.
1040*4882a593Smuzhiyun
1041*4882a593Smuzhiyunchoice
1042*4882a593Smuzhiyun	prompt "Subtype"
1043*4882a593Smuzhiyun	depends on RTC_DRV_DS1685_FAMILY
1044*4882a593Smuzhiyun	default RTC_DRV_DS1685
1045*4882a593Smuzhiyun
1046*4882a593Smuzhiyunconfig RTC_DRV_DS1685
1047*4882a593Smuzhiyun	bool "DS1685/DS1687"
1048*4882a593Smuzhiyun	help
1049*4882a593Smuzhiyun	  This enables support for the Dallas/Maxim DS1685/DS1687 real time
1050*4882a593Smuzhiyun	  clock chip.
1051*4882a593Smuzhiyun
1052*4882a593Smuzhiyun	  This chip is commonly found in SGI O2 (IP32) and SGI Octane (IP30)
1053*4882a593Smuzhiyun	  systems, as well as EPPC-405-UC modules by electronic system design
1054*4882a593Smuzhiyun	  GmbH.
1055*4882a593Smuzhiyun
1056*4882a593Smuzhiyunconfig RTC_DRV_DS1689
1057*4882a593Smuzhiyun	bool "DS1689/DS1693"
1058*4882a593Smuzhiyun	help
1059*4882a593Smuzhiyun	  This enables support for the Dallas/Maxim DS1689/DS1693 real time
1060*4882a593Smuzhiyun	  clock chip.
1061*4882a593Smuzhiyun
1062*4882a593Smuzhiyun	  This is an older RTC chip, supplanted by the DS1685/DS1687 above,
1063*4882a593Smuzhiyun	  which supports a few minor features such as Vcc, Vbat, and Power
1064*4882a593Smuzhiyun	  Cycle counters, plus a customer-specific, 8-byte ROM/Serial number.
1065*4882a593Smuzhiyun
1066*4882a593Smuzhiyun	  It also works for the even older DS1688/DS1691 RTC chips, which are
1067*4882a593Smuzhiyun	  virtually the same and carry the same model number.  Both chips
1068*4882a593Smuzhiyun	  have 114 bytes of user NVRAM.
1069*4882a593Smuzhiyun
1070*4882a593Smuzhiyunconfig RTC_DRV_DS17285
1071*4882a593Smuzhiyun	bool "DS17285/DS17287"
1072*4882a593Smuzhiyun	help
1073*4882a593Smuzhiyun	  This enables support for the Dallas/Maxim DS17285/DS17287 real time
1074*4882a593Smuzhiyun	  clock chip.
1075*4882a593Smuzhiyun
1076*4882a593Smuzhiyun	  This chip features 2kb of extended NV-SRAM.  It may possibly be
1077*4882a593Smuzhiyun	  found in some SGI O2 systems (rare).
1078*4882a593Smuzhiyun
1079*4882a593Smuzhiyunconfig RTC_DRV_DS17485
1080*4882a593Smuzhiyun	bool "DS17485/DS17487"
1081*4882a593Smuzhiyun	help
1082*4882a593Smuzhiyun	  This enables support for the Dallas/Maxim DS17485/DS17487 real time
1083*4882a593Smuzhiyun	  clock chip.
1084*4882a593Smuzhiyun
1085*4882a593Smuzhiyun	  This chip features 4kb of extended NV-SRAM.
1086*4882a593Smuzhiyun
1087*4882a593Smuzhiyunconfig RTC_DRV_DS17885
1088*4882a593Smuzhiyun	bool "DS17885/DS17887"
1089*4882a593Smuzhiyun	help
1090*4882a593Smuzhiyun	  This enables support for the Dallas/Maxim DS17885/DS17887 real time
1091*4882a593Smuzhiyun	  clock chip.
1092*4882a593Smuzhiyun
1093*4882a593Smuzhiyun	  This chip features 8kb of extended NV-SRAM.
1094*4882a593Smuzhiyun
1095*4882a593Smuzhiyunendchoice
1096*4882a593Smuzhiyun
1097*4882a593Smuzhiyunconfig RTC_DRV_DS1742
1098*4882a593Smuzhiyun	tristate "Maxim/Dallas DS1742/1743"
1099*4882a593Smuzhiyun	depends on HAS_IOMEM
1100*4882a593Smuzhiyun	help
1101*4882a593Smuzhiyun	  If you say yes here you get support for the
1102*4882a593Smuzhiyun	  Maxim/Dallas DS1742/1743 timekeeping chip.
1103*4882a593Smuzhiyun
1104*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1105*4882a593Smuzhiyun	  will be called rtc-ds1742.
1106*4882a593Smuzhiyun
1107*4882a593Smuzhiyunconfig RTC_DRV_DS2404
1108*4882a593Smuzhiyun	tristate "Maxim/Dallas DS2404"
1109*4882a593Smuzhiyun	help
1110*4882a593Smuzhiyun	  If you say yes here you get support for the
1111*4882a593Smuzhiyun	  Dallas DS2404 RTC chip.
1112*4882a593Smuzhiyun
1113*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1114*4882a593Smuzhiyun	  will be called rtc-ds2404.
1115*4882a593Smuzhiyun
1116*4882a593Smuzhiyunconfig RTC_DRV_DA9052
1117*4882a593Smuzhiyun	tristate "Dialog DA9052/DA9053 RTC"
1118*4882a593Smuzhiyun	depends on PMIC_DA9052
1119*4882a593Smuzhiyun	help
1120*4882a593Smuzhiyun	  Say y here to support the RTC driver for Dialog Semiconductor
1121*4882a593Smuzhiyun	  DA9052-BC and DA9053-AA/Bx PMICs.
1122*4882a593Smuzhiyun
1123*4882a593Smuzhiyunconfig RTC_DRV_DA9055
1124*4882a593Smuzhiyun	tristate "Dialog Semiconductor DA9055 RTC"
1125*4882a593Smuzhiyun	depends on MFD_DA9055
1126*4882a593Smuzhiyun	help
1127*4882a593Smuzhiyun	  If you say yes here you will get support for the
1128*4882a593Smuzhiyun	  RTC of the Dialog DA9055 PMIC.
1129*4882a593Smuzhiyun
1130*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1131*4882a593Smuzhiyun	  will be called rtc-da9055
1132*4882a593Smuzhiyun
1133*4882a593Smuzhiyunconfig RTC_DRV_DA9063
1134*4882a593Smuzhiyun	tristate "Dialog Semiconductor DA9063/DA9062 RTC"
1135*4882a593Smuzhiyun	depends on MFD_DA9063 || MFD_DA9062
1136*4882a593Smuzhiyun	help
1137*4882a593Smuzhiyun	  If you say yes here you will get support for the RTC subsystem
1138*4882a593Smuzhiyun	  for the Dialog Semiconductor PMIC chips DA9063 and DA9062.
1139*4882a593Smuzhiyun
1140*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1141*4882a593Smuzhiyun	  will be called "rtc-da9063".
1142*4882a593Smuzhiyun
1143*4882a593Smuzhiyunconfig RTC_DRV_EFI
1144*4882a593Smuzhiyun	tristate "EFI RTC"
1145*4882a593Smuzhiyun	depends on EFI && !X86
1146*4882a593Smuzhiyun	help
1147*4882a593Smuzhiyun	  If you say yes here you will get support for the EFI
1148*4882a593Smuzhiyun	  Real Time Clock.
1149*4882a593Smuzhiyun
1150*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1151*4882a593Smuzhiyun	  will be called rtc-efi.
1152*4882a593Smuzhiyun
1153*4882a593Smuzhiyunconfig RTC_DRV_STK17TA8
1154*4882a593Smuzhiyun	tristate "Simtek STK17TA8"
1155*4882a593Smuzhiyun	depends on HAS_IOMEM
1156*4882a593Smuzhiyun	help
1157*4882a593Smuzhiyun	  If you say yes here you get support for the
1158*4882a593Smuzhiyun	  Simtek STK17TA8 timekeeping chip.
1159*4882a593Smuzhiyun
1160*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1161*4882a593Smuzhiyun	  will be called rtc-stk17ta8.
1162*4882a593Smuzhiyun
1163*4882a593Smuzhiyunconfig RTC_DRV_M48T86
1164*4882a593Smuzhiyun	tristate "ST M48T86/Dallas DS12887"
1165*4882a593Smuzhiyun	help
1166*4882a593Smuzhiyun	  If you say Y here you will get support for the
1167*4882a593Smuzhiyun	  ST M48T86 and Dallas DS12887 RTC chips.
1168*4882a593Smuzhiyun
1169*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1170*4882a593Smuzhiyun	  will be called rtc-m48t86.
1171*4882a593Smuzhiyun
1172*4882a593Smuzhiyunconfig RTC_DRV_M48T35
1173*4882a593Smuzhiyun	tristate "ST M48T35"
1174*4882a593Smuzhiyun	depends on HAS_IOMEM
1175*4882a593Smuzhiyun	help
1176*4882a593Smuzhiyun	  If you say Y here you will get support for the
1177*4882a593Smuzhiyun	  ST M48T35 RTC chip.
1178*4882a593Smuzhiyun
1179*4882a593Smuzhiyun	  This driver can also be built as a module, if so, the module
1180*4882a593Smuzhiyun	  will be called "rtc-m48t35".
1181*4882a593Smuzhiyun
1182*4882a593Smuzhiyunconfig RTC_DRV_M48T59
1183*4882a593Smuzhiyun	tristate "ST M48T59/M48T08/M48T02"
1184*4882a593Smuzhiyun	depends on HAS_IOMEM
1185*4882a593Smuzhiyun	help
1186*4882a593Smuzhiyun	  If you say Y here you will get support for the
1187*4882a593Smuzhiyun	  ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
1188*4882a593Smuzhiyun
1189*4882a593Smuzhiyun	  These chips are usually found in Sun SPARC and UltraSPARC
1190*4882a593Smuzhiyun	  workstations.
1191*4882a593Smuzhiyun
1192*4882a593Smuzhiyun	  This driver can also be built as a module, if so, the module
1193*4882a593Smuzhiyun	  will be called "rtc-m48t59".
1194*4882a593Smuzhiyun
1195*4882a593Smuzhiyunconfig RTC_DRV_MSM6242
1196*4882a593Smuzhiyun	tristate "Oki MSM6242"
1197*4882a593Smuzhiyun	depends on HAS_IOMEM
1198*4882a593Smuzhiyun	help
1199*4882a593Smuzhiyun	  If you say yes here you get support for the Oki MSM6242
1200*4882a593Smuzhiyun	  timekeeping chip. It is used in some Amiga models (e.g. A2000).
1201*4882a593Smuzhiyun
1202*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1203*4882a593Smuzhiyun	  will be called rtc-msm6242.
1204*4882a593Smuzhiyun
1205*4882a593Smuzhiyunconfig RTC_DRV_BQ4802
1206*4882a593Smuzhiyun	tristate "TI BQ4802"
1207*4882a593Smuzhiyun	depends on HAS_IOMEM
1208*4882a593Smuzhiyun	help
1209*4882a593Smuzhiyun	  If you say Y here you will get support for the TI
1210*4882a593Smuzhiyun	  BQ4802 RTC chip.
1211*4882a593Smuzhiyun
1212*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1213*4882a593Smuzhiyun	  will be called rtc-bq4802.
1214*4882a593Smuzhiyun
1215*4882a593Smuzhiyunconfig RTC_DRV_RP5C01
1216*4882a593Smuzhiyun	tristate "Ricoh RP5C01"
1217*4882a593Smuzhiyun	depends on HAS_IOMEM
1218*4882a593Smuzhiyun	help
1219*4882a593Smuzhiyun	  If you say yes here you get support for the Ricoh RP5C01
1220*4882a593Smuzhiyun	  timekeeping chip. It is used in some Amiga models (e.g. A3000
1221*4882a593Smuzhiyun	  and A4000).
1222*4882a593Smuzhiyun
1223*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1224*4882a593Smuzhiyun	  will be called rtc-rp5c01.
1225*4882a593Smuzhiyun
1226*4882a593Smuzhiyunconfig RTC_DRV_V3020
1227*4882a593Smuzhiyun	tristate "EM Microelectronic V3020"
1228*4882a593Smuzhiyun	help
1229*4882a593Smuzhiyun	  If you say yes here you will get support for the
1230*4882a593Smuzhiyun	  EM Microelectronic v3020 RTC chip.
1231*4882a593Smuzhiyun
1232*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1233*4882a593Smuzhiyun	  will be called rtc-v3020.
1234*4882a593Smuzhiyun
1235*4882a593Smuzhiyunconfig RTC_DRV_WM831X
1236*4882a593Smuzhiyun	tristate "Wolfson Microelectronics WM831x RTC"
1237*4882a593Smuzhiyun	depends on MFD_WM831X
1238*4882a593Smuzhiyun	help
1239*4882a593Smuzhiyun	  If you say yes here you will get support for the RTC subsystem
1240*4882a593Smuzhiyun	  of the Wolfson Microelectronics WM831X series PMICs.
1241*4882a593Smuzhiyun
1242*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1243*4882a593Smuzhiyun	  will be called "rtc-wm831x".
1244*4882a593Smuzhiyun
1245*4882a593Smuzhiyunconfig RTC_DRV_WM8350
1246*4882a593Smuzhiyun	tristate "Wolfson Microelectronics WM8350 RTC"
1247*4882a593Smuzhiyun	depends on MFD_WM8350
1248*4882a593Smuzhiyun	help
1249*4882a593Smuzhiyun	  If you say yes here you will get support for the RTC subsystem
1250*4882a593Smuzhiyun	  of the Wolfson Microelectronics WM8350.
1251*4882a593Smuzhiyun
1252*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1253*4882a593Smuzhiyun	  will be called "rtc-wm8350".
1254*4882a593Smuzhiyun
1255*4882a593Smuzhiyunconfig RTC_DRV_SC27XX
1256*4882a593Smuzhiyun	tristate "Spreadtrum SC27xx RTC"
1257*4882a593Smuzhiyun	depends on MFD_SC27XX_PMIC || COMPILE_TEST
1258*4882a593Smuzhiyun	help
1259*4882a593Smuzhiyun	  If you say Y here you will get support for the RTC subsystem
1260*4882a593Smuzhiyun	  of the Spreadtrum SC27xx series PMICs. The SC27xx series PMICs
1261*4882a593Smuzhiyun	  includes the SC2720, SC2721, SC2723, SC2730 and SC2731 chips.
1262*4882a593Smuzhiyun
1263*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1264*4882a593Smuzhiyun	  will be called rtc-sc27xx.
1265*4882a593Smuzhiyun
1266*4882a593Smuzhiyunconfig RTC_DRV_SPEAR
1267*4882a593Smuzhiyun	tristate "SPEAR ST RTC"
1268*4882a593Smuzhiyun	depends on PLAT_SPEAR || COMPILE_TEST
1269*4882a593Smuzhiyun	default y
1270*4882a593Smuzhiyun	help
1271*4882a593Smuzhiyun	 If you say Y here you will get support for the RTC found on
1272*4882a593Smuzhiyun	 spear
1273*4882a593Smuzhiyun
1274*4882a593Smuzhiyunconfig RTC_DRV_PCF50633
1275*4882a593Smuzhiyun	depends on MFD_PCF50633
1276*4882a593Smuzhiyun	tristate "NXP PCF50633 RTC"
1277*4882a593Smuzhiyun	help
1278*4882a593Smuzhiyun	  If you say yes here you get support for the RTC subsystem of the
1279*4882a593Smuzhiyun	  NXP PCF50633 used in embedded systems.
1280*4882a593Smuzhiyun
1281*4882a593Smuzhiyunconfig RTC_DRV_AB3100
1282*4882a593Smuzhiyun	tristate "ST-Ericsson AB3100 RTC"
1283*4882a593Smuzhiyun	depends on AB3100_CORE
1284*4882a593Smuzhiyun	default y if AB3100_CORE
1285*4882a593Smuzhiyun	help
1286*4882a593Smuzhiyun	  Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
1287*4882a593Smuzhiyun	  support. This chip contains a battery- and capacitor-backed RTC.
1288*4882a593Smuzhiyun
1289*4882a593Smuzhiyunconfig RTC_DRV_AB8500
1290*4882a593Smuzhiyun	tristate "ST-Ericsson AB8500 RTC"
1291*4882a593Smuzhiyun	depends on AB8500_CORE
1292*4882a593Smuzhiyun	select RTC_INTF_DEV
1293*4882a593Smuzhiyun	select RTC_INTF_DEV_UIE_EMUL
1294*4882a593Smuzhiyun	help
1295*4882a593Smuzhiyun	  Select this to enable the ST-Ericsson AB8500 power management IC RTC
1296*4882a593Smuzhiyun	  support. This chip contains a battery- and capacitor-backed RTC.
1297*4882a593Smuzhiyun
1298*4882a593Smuzhiyunconfig RTC_DRV_OPAL
1299*4882a593Smuzhiyun	tristate "IBM OPAL RTC driver"
1300*4882a593Smuzhiyun	depends on PPC_POWERNV
1301*4882a593Smuzhiyun	default y
1302*4882a593Smuzhiyun	help
1303*4882a593Smuzhiyun	  If you say yes here you get support for the PowerNV platform RTC
1304*4882a593Smuzhiyun	  driver based on OPAL interfaces.
1305*4882a593Smuzhiyun
1306*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1307*4882a593Smuzhiyun	  will be called rtc-opal.
1308*4882a593Smuzhiyun
1309*4882a593Smuzhiyunconfig RTC_DRV_ZYNQMP
1310*4882a593Smuzhiyun	tristate "Xilinx Zynq Ultrascale+ MPSoC RTC"
1311*4882a593Smuzhiyun	depends on OF && HAS_IOMEM
1312*4882a593Smuzhiyun	help
1313*4882a593Smuzhiyun	  If you say yes here you get support for the RTC controller found on
1314*4882a593Smuzhiyun	  Xilinx Zynq Ultrascale+ MPSoC.
1315*4882a593Smuzhiyun
1316*4882a593Smuzhiyunconfig RTC_DRV_CROS_EC
1317*4882a593Smuzhiyun	tristate "Chrome OS EC RTC driver"
1318*4882a593Smuzhiyun	depends on CROS_EC
1319*4882a593Smuzhiyun	help
1320*4882a593Smuzhiyun	  If you say yes here you will get support for the
1321*4882a593Smuzhiyun	  Chrome OS Embedded Controller's RTC.
1322*4882a593Smuzhiyun
1323*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1324*4882a593Smuzhiyun	  will be called rtc-cros-ec.
1325*4882a593Smuzhiyun
1326*4882a593Smuzhiyuncomment "on-CPU RTC drivers"
1327*4882a593Smuzhiyun
1328*4882a593Smuzhiyunconfig RTC_DRV_ASM9260
1329*4882a593Smuzhiyun	tristate "Alphascale asm9260 RTC"
1330*4882a593Smuzhiyun	depends on MACH_ASM9260 || COMPILE_TEST
1331*4882a593Smuzhiyun	help
1332*4882a593Smuzhiyun	  If you say yes here you get support for the RTC on the
1333*4882a593Smuzhiyun	  Alphascale asm9260 SoC.
1334*4882a593Smuzhiyun
1335*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1336*4882a593Smuzhiyun	  will be called rtc-asm9260.
1337*4882a593Smuzhiyun
1338*4882a593Smuzhiyunconfig RTC_DRV_DAVINCI
1339*4882a593Smuzhiyun	tristate "TI DaVinci RTC"
1340*4882a593Smuzhiyun	depends on ARCH_DAVINCI_DM365 || COMPILE_TEST
1341*4882a593Smuzhiyun	help
1342*4882a593Smuzhiyun	  If you say yes here you get support for the RTC on the
1343*4882a593Smuzhiyun	  DaVinci platforms (DM365).
1344*4882a593Smuzhiyun
1345*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1346*4882a593Smuzhiyun	  will be called rtc-davinci.
1347*4882a593Smuzhiyun
1348*4882a593Smuzhiyunconfig RTC_DRV_DIGICOLOR
1349*4882a593Smuzhiyun	tristate "Conexant Digicolor RTC"
1350*4882a593Smuzhiyun	depends on ARCH_DIGICOLOR || COMPILE_TEST
1351*4882a593Smuzhiyun	help
1352*4882a593Smuzhiyun	  If you say yes here you get support for the RTC on Conexant
1353*4882a593Smuzhiyun	  Digicolor platforms. This currently includes the CX92755 SoC.
1354*4882a593Smuzhiyun
1355*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1356*4882a593Smuzhiyun	  will be called rtc-digicolor.
1357*4882a593Smuzhiyun
1358*4882a593Smuzhiyunconfig RTC_DRV_IMXDI
1359*4882a593Smuzhiyun	tristate "Freescale IMX DryIce Real Time Clock"
1360*4882a593Smuzhiyun	depends on ARCH_MXC
1361*4882a593Smuzhiyun	help
1362*4882a593Smuzhiyun	   Support for Freescale IMX DryIce RTC
1363*4882a593Smuzhiyun
1364*4882a593Smuzhiyun	   This driver can also be built as a module, if so, the module
1365*4882a593Smuzhiyun	   will be called "rtc-imxdi".
1366*4882a593Smuzhiyun
1367*4882a593Smuzhiyunconfig RTC_DRV_FSL_FTM_ALARM
1368*4882a593Smuzhiyun	tristate "Freescale FlexTimer alarm timer"
1369*4882a593Smuzhiyun	depends on ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
1370*4882a593Smuzhiyun	help
1371*4882a593Smuzhiyun	   For the FlexTimer in LS1012A, LS1021A, LS1028A, LS1043A, LS1046A,
1372*4882a593Smuzhiyun	   LS1088A, LS208xA, we can use FTM as the wakeup source.
1373*4882a593Smuzhiyun
1374*4882a593Smuzhiyun	   Say y here to enable FTM alarm support. The FTM alarm provides
1375*4882a593Smuzhiyun	   alarm functions for wakeup system from deep sleep.
1376*4882a593Smuzhiyun
1377*4882a593Smuzhiyun	   This driver can also be built as a module, if so, the module
1378*4882a593Smuzhiyun	   will be called "rtc-fsl-ftm-alarm".
1379*4882a593Smuzhiyun
1380*4882a593Smuzhiyunconfig RTC_DRV_MESON
1381*4882a593Smuzhiyun	tristate "Amlogic Meson RTC"
1382*4882a593Smuzhiyun	depends on (ARM && ARCH_MESON) || COMPILE_TEST
1383*4882a593Smuzhiyun	select REGMAP_MMIO
1384*4882a593Smuzhiyun	help
1385*4882a593Smuzhiyun	   Support for the RTC block on the Amlogic Meson6, Meson8, Meson8b
1386*4882a593Smuzhiyun	   and Meson8m2 SoCs.
1387*4882a593Smuzhiyun
1388*4882a593Smuzhiyun	   This driver can also be built as a module, if so, the module
1389*4882a593Smuzhiyun	   will be called "rtc-meson".
1390*4882a593Smuzhiyun
1391*4882a593Smuzhiyunconfig RTC_DRV_MESON_VRTC
1392*4882a593Smuzhiyun	tristate "Amlogic Meson Virtual RTC"
1393*4882a593Smuzhiyun	depends on ARCH_MESON || COMPILE_TEST
1394*4882a593Smuzhiyun	default m if ARCH_MESON
1395*4882a593Smuzhiyun	help
1396*4882a593Smuzhiyun	  If you say yes here you will get support for the
1397*4882a593Smuzhiyun	  Virtual RTC of Amlogic SoCs.
1398*4882a593Smuzhiyun
1399*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1400*4882a593Smuzhiyun	  will be called rtc-meson-vrtc.
1401*4882a593Smuzhiyun
1402*4882a593Smuzhiyunconfig RTC_DRV_OMAP
1403*4882a593Smuzhiyun	tristate "TI OMAP Real Time Clock"
1404*4882a593Smuzhiyun	depends on ARCH_OMAP || ARCH_DAVINCI || COMPILE_TEST
1405*4882a593Smuzhiyun	depends on OF
1406*4882a593Smuzhiyun	depends on PINCTRL
1407*4882a593Smuzhiyun	select GENERIC_PINCONF
1408*4882a593Smuzhiyun	help
1409*4882a593Smuzhiyun	  Say "yes" here to support the on chip real time clock
1410*4882a593Smuzhiyun	  present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
1411*4882a593Smuzhiyun
1412*4882a593Smuzhiyun	  This driver can also be built as a module, if so, module
1413*4882a593Smuzhiyun	  will be called rtc-omap.
1414*4882a593Smuzhiyun
1415*4882a593Smuzhiyunconfig HAVE_S3C_RTC
1416*4882a593Smuzhiyun	bool
1417*4882a593Smuzhiyun	help
1418*4882a593Smuzhiyun	  This will include RTC support for Samsung SoCs. If
1419*4882a593Smuzhiyun	  you want to include RTC support for any machine, kindly
1420*4882a593Smuzhiyun	  select this in the respective mach-XXXX/Kconfig file.
1421*4882a593Smuzhiyun
1422*4882a593Smuzhiyunconfig RTC_DRV_S3C
1423*4882a593Smuzhiyun	tristate "Samsung S3C series SoC RTC"
1424*4882a593Smuzhiyun	depends on ARCH_S3C64XX || HAVE_S3C_RTC || COMPILE_TEST
1425*4882a593Smuzhiyun	help
1426*4882a593Smuzhiyun	  RTC (Realtime Clock) driver for the clock inbuilt into the
1427*4882a593Smuzhiyun	  Samsung S3C24XX series of SoCs. This can provide periodic
1428*4882a593Smuzhiyun	  interrupt rates from 1Hz to 64Hz for user programs, and
1429*4882a593Smuzhiyun	  wakeup from Alarm.
1430*4882a593Smuzhiyun
1431*4882a593Smuzhiyun	  The driver currently supports the common features on all the
1432*4882a593Smuzhiyun	  S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
1433*4882a593Smuzhiyun	  and S3C2442.
1434*4882a593Smuzhiyun
1435*4882a593Smuzhiyun	  This driver can also be build as a module. If so, the module
1436*4882a593Smuzhiyun	  will be called rtc-s3c.
1437*4882a593Smuzhiyun
1438*4882a593Smuzhiyunconfig RTC_DRV_EP93XX
1439*4882a593Smuzhiyun	tristate "Cirrus Logic EP93XX"
1440*4882a593Smuzhiyun	depends on ARCH_EP93XX || COMPILE_TEST
1441*4882a593Smuzhiyun	help
1442*4882a593Smuzhiyun	  If you say yes here you get support for the
1443*4882a593Smuzhiyun	  RTC embedded in the Cirrus Logic EP93XX processors.
1444*4882a593Smuzhiyun
1445*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1446*4882a593Smuzhiyun	  will be called rtc-ep93xx.
1447*4882a593Smuzhiyun
1448*4882a593Smuzhiyunconfig RTC_DRV_SA1100
1449*4882a593Smuzhiyun	tristate "SA11x0/PXA2xx/PXA910"
1450*4882a593Smuzhiyun	depends on ARCH_SA1100 || ARCH_PXA || ARCH_MMP
1451*4882a593Smuzhiyun	help
1452*4882a593Smuzhiyun	  If you say Y here you will get access to the real time clock
1453*4882a593Smuzhiyun	  built into your SA11x0 or PXA2xx CPU.
1454*4882a593Smuzhiyun
1455*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the
1456*4882a593Smuzhiyun	  module will be called rtc-sa1100.
1457*4882a593Smuzhiyun
1458*4882a593Smuzhiyunconfig RTC_DRV_SH
1459*4882a593Smuzhiyun	tristate "SuperH On-Chip RTC"
1460*4882a593Smuzhiyun	depends on SUPERH || ARCH_RENESAS
1461*4882a593Smuzhiyun	help
1462*4882a593Smuzhiyun	  Say Y here to enable support for the on-chip RTC found in
1463*4882a593Smuzhiyun	  most SuperH processors. This RTC is also found in RZ/A SoCs.
1464*4882a593Smuzhiyun
1465*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the
1466*4882a593Smuzhiyun	  module will be called rtc-sh.
1467*4882a593Smuzhiyun
1468*4882a593Smuzhiyunconfig RTC_DRV_VR41XX
1469*4882a593Smuzhiyun	tristate "NEC VR41XX"
1470*4882a593Smuzhiyun	depends on CPU_VR41XX || COMPILE_TEST
1471*4882a593Smuzhiyun	help
1472*4882a593Smuzhiyun	  If you say Y here you will get access to the real time clock
1473*4882a593Smuzhiyun	  built into your NEC VR41XX CPU.
1474*4882a593Smuzhiyun
1475*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the
1476*4882a593Smuzhiyun	  module will be called rtc-vr41xx.
1477*4882a593Smuzhiyun
1478*4882a593Smuzhiyunconfig RTC_DRV_PL030
1479*4882a593Smuzhiyun	tristate "ARM AMBA PL030 RTC"
1480*4882a593Smuzhiyun	depends on ARM_AMBA
1481*4882a593Smuzhiyun	help
1482*4882a593Smuzhiyun	  If you say Y here you will get access to ARM AMBA
1483*4882a593Smuzhiyun	  PrimeCell PL030 RTC found on certain ARM SOCs.
1484*4882a593Smuzhiyun
1485*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the
1486*4882a593Smuzhiyun	  module will be called rtc-pl030.
1487*4882a593Smuzhiyun
1488*4882a593Smuzhiyunconfig RTC_DRV_PL031
1489*4882a593Smuzhiyun	tristate "ARM AMBA PL031 RTC"
1490*4882a593Smuzhiyun	depends on ARM_AMBA
1491*4882a593Smuzhiyun	help
1492*4882a593Smuzhiyun	  If you say Y here you will get access to ARM AMBA
1493*4882a593Smuzhiyun	  PrimeCell PL031 RTC found on certain ARM SOCs.
1494*4882a593Smuzhiyun
1495*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the
1496*4882a593Smuzhiyun	  module will be called rtc-pl031.
1497*4882a593Smuzhiyun
1498*4882a593Smuzhiyunconfig RTC_DRV_AT91RM9200
1499*4882a593Smuzhiyun	tristate "AT91RM9200 or some AT91SAM9 RTC"
1500*4882a593Smuzhiyun	depends on ARCH_AT91 || COMPILE_TEST
1501*4882a593Smuzhiyun	depends on OF
1502*4882a593Smuzhiyun	help
1503*4882a593Smuzhiyun	  Driver for the internal RTC (Realtime Clock) module found on
1504*4882a593Smuzhiyun	  Atmel AT91RM9200's and some  AT91SAM9 chips. On AT91SAM9 chips
1505*4882a593Smuzhiyun	  this is powered by the backup power supply.
1506*4882a593Smuzhiyun
1507*4882a593Smuzhiyunconfig RTC_DRV_AT91SAM9
1508*4882a593Smuzhiyun	tristate "AT91SAM9 RTT as RTC"
1509*4882a593Smuzhiyun	depends on ARCH_AT91 || COMPILE_TEST
1510*4882a593Smuzhiyun	depends on OF && HAS_IOMEM
1511*4882a593Smuzhiyun	select MFD_SYSCON
1512*4882a593Smuzhiyun	help
1513*4882a593Smuzhiyun	  Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which
1514*4882a593Smuzhiyun	  can be used as an RTC thanks to the backup power supply (e.g. a
1515*4882a593Smuzhiyun	  small coin cell battery) which keeps this block and the GPBR
1516*4882a593Smuzhiyun	  (General Purpose Backup Registers) block powered when the device
1517*4882a593Smuzhiyun	  is shutdown.
1518*4882a593Smuzhiyun	  Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd
1519*4882a593Smuzhiyun	  probably want to use the real RTC block instead of the "RTT as an
1520*4882a593Smuzhiyun	  RTC" driver.
1521*4882a593Smuzhiyun
1522*4882a593Smuzhiyunconfig RTC_DRV_AU1XXX
1523*4882a593Smuzhiyun	tristate "Au1xxx Counter0 RTC support"
1524*4882a593Smuzhiyun	depends on MIPS_ALCHEMY
1525*4882a593Smuzhiyun	help
1526*4882a593Smuzhiyun	  This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
1527*4882a593Smuzhiyun	  counter) to be used as a RTC.
1528*4882a593Smuzhiyun
1529*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1530*4882a593Smuzhiyun	  will be called rtc-au1xxx.
1531*4882a593Smuzhiyun
1532*4882a593Smuzhiyunconfig RTC_DRV_RS5C313
1533*4882a593Smuzhiyun	tristate "Ricoh RS5C313"
1534*4882a593Smuzhiyun	depends on SH_LANDISK
1535*4882a593Smuzhiyun	help
1536*4882a593Smuzhiyun	  If you say yes here you get support for the Ricoh RS5C313 RTC chips.
1537*4882a593Smuzhiyun
1538*4882a593Smuzhiyunconfig RTC_DRV_GENERIC
1539*4882a593Smuzhiyun	tristate "Generic RTC support"
1540*4882a593Smuzhiyun	# Please consider writing a new RTC driver instead of using the generic
1541*4882a593Smuzhiyun	# RTC abstraction
1542*4882a593Smuzhiyun	depends on PARISC || M68K || PPC || SUPERH || COMPILE_TEST
1543*4882a593Smuzhiyun	help
1544*4882a593Smuzhiyun	  Say Y or M here to enable RTC support on systems using the generic
1545*4882a593Smuzhiyun	  RTC abstraction. If you do not know what you are doing, you should
1546*4882a593Smuzhiyun	  just say Y.
1547*4882a593Smuzhiyun
1548*4882a593Smuzhiyunconfig RTC_DRV_PXA
1549*4882a593Smuzhiyun	tristate "PXA27x/PXA3xx"
1550*4882a593Smuzhiyun	depends on ARCH_PXA
1551*4882a593Smuzhiyun	select RTC_DRV_SA1100
1552*4882a593Smuzhiyun	help
1553*4882a593Smuzhiyun	 If you say Y here you will get access to the real time clock
1554*4882a593Smuzhiyun	 built into your PXA27x or PXA3xx CPU. This RTC is actually 2 RTCs
1555*4882a593Smuzhiyun	 consisting of an SA1100 compatible RTC and the extended PXA RTC.
1556*4882a593Smuzhiyun
1557*4882a593Smuzhiyun	 This RTC driver uses PXA RTC registers available since pxa27x
1558*4882a593Smuzhiyun	 series (RDxR, RYxR) instead of legacy RCNR, RTAR.
1559*4882a593Smuzhiyun
1560*4882a593Smuzhiyunconfig RTC_DRV_VT8500
1561*4882a593Smuzhiyun	tristate "VIA/WonderMedia 85xx SoC RTC"
1562*4882a593Smuzhiyun	depends on ARCH_VT8500 || COMPILE_TEST
1563*4882a593Smuzhiyun	help
1564*4882a593Smuzhiyun	  If you say Y here you will get access to the real time clock
1565*4882a593Smuzhiyun	  built into your VIA VT8500 SoC or its relatives.
1566*4882a593Smuzhiyun
1567*4882a593Smuzhiyun
1568*4882a593Smuzhiyunconfig RTC_DRV_SUN4V
1569*4882a593Smuzhiyun	bool "SUN4V Hypervisor RTC"
1570*4882a593Smuzhiyun	depends on SPARC64
1571*4882a593Smuzhiyun	help
1572*4882a593Smuzhiyun	  If you say Y here you will get support for the Hypervisor
1573*4882a593Smuzhiyun	  based RTC on SUN4V systems.
1574*4882a593Smuzhiyun
1575*4882a593Smuzhiyunconfig RTC_DRV_SUN6I
1576*4882a593Smuzhiyun	bool "Allwinner A31 RTC"
1577*4882a593Smuzhiyun	default MACH_SUN6I || MACH_SUN8I
1578*4882a593Smuzhiyun	depends on COMMON_CLK
1579*4882a593Smuzhiyun	depends on ARCH_SUNXI || COMPILE_TEST
1580*4882a593Smuzhiyun	help
1581*4882a593Smuzhiyun	  If you say Y here you will get support for the RTC found in
1582*4882a593Smuzhiyun	  some Allwinner SoCs like the A31 or the A64.
1583*4882a593Smuzhiyun
1584*4882a593Smuzhiyunconfig RTC_DRV_SUNXI
1585*4882a593Smuzhiyun	tristate "Allwinner sun4i/sun7i RTC"
1586*4882a593Smuzhiyun	depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
1587*4882a593Smuzhiyun	help
1588*4882a593Smuzhiyun	  If you say Y here you will get support for the RTC found on
1589*4882a593Smuzhiyun	  Allwinner A10/A20.
1590*4882a593Smuzhiyun
1591*4882a593Smuzhiyunconfig RTC_DRV_STARFIRE
1592*4882a593Smuzhiyun	bool "Starfire RTC"
1593*4882a593Smuzhiyun	depends on SPARC64
1594*4882a593Smuzhiyun	help
1595*4882a593Smuzhiyun	  If you say Y here you will get support for the RTC found on
1596*4882a593Smuzhiyun	  Starfire systems.
1597*4882a593Smuzhiyun
1598*4882a593Smuzhiyunconfig RTC_DRV_TX4939
1599*4882a593Smuzhiyun	tristate "TX4939 SoC"
1600*4882a593Smuzhiyun	depends on SOC_TX4939 || COMPILE_TEST
1601*4882a593Smuzhiyun	help
1602*4882a593Smuzhiyun	  Driver for the internal RTC (Realtime Clock) module found on
1603*4882a593Smuzhiyun	  Toshiba TX4939 SoC.
1604*4882a593Smuzhiyun
1605*4882a593Smuzhiyunconfig RTC_DRV_MV
1606*4882a593Smuzhiyun	tristate "Marvell SoC RTC"
1607*4882a593Smuzhiyun	depends on ARCH_DOVE || ARCH_MVEBU || COMPILE_TEST
1608*4882a593Smuzhiyun	help
1609*4882a593Smuzhiyun	  If you say yes here you will get support for the in-chip RTC
1610*4882a593Smuzhiyun	  that can be found in some of Marvell's SoC devices, such as
1611*4882a593Smuzhiyun	  the Kirkwood 88F6281 and 88F6192.
1612*4882a593Smuzhiyun
1613*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1614*4882a593Smuzhiyun	  will be called rtc-mv.
1615*4882a593Smuzhiyun
1616*4882a593Smuzhiyunconfig RTC_DRV_ARMADA38X
1617*4882a593Smuzhiyun	tristate "Armada 38x Marvell SoC RTC"
1618*4882a593Smuzhiyun	depends on ARCH_MVEBU || COMPILE_TEST
1619*4882a593Smuzhiyun	help
1620*4882a593Smuzhiyun	  If you say yes here you will get support for the in-chip RTC
1621*4882a593Smuzhiyun	  that can be found in the Armada 38x Marvell's SoC device
1622*4882a593Smuzhiyun
1623*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1624*4882a593Smuzhiyun	  will be called armada38x-rtc.
1625*4882a593Smuzhiyun
1626*4882a593Smuzhiyunconfig RTC_DRV_CADENCE
1627*4882a593Smuzhiyun	tristate "Cadence RTC driver"
1628*4882a593Smuzhiyun	depends on OF && HAS_IOMEM
1629*4882a593Smuzhiyun	help
1630*4882a593Smuzhiyun	  If you say Y here you will get access to Cadence RTC IP
1631*4882a593Smuzhiyun	  found on certain SOCs.
1632*4882a593Smuzhiyun
1633*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the
1634*4882a593Smuzhiyun	  module will be called rtc-cadence.
1635*4882a593Smuzhiyun
1636*4882a593Smuzhiyunconfig RTC_DRV_FTRTC010
1637*4882a593Smuzhiyun	tristate "Faraday Technology FTRTC010 RTC"
1638*4882a593Smuzhiyun	depends on HAS_IOMEM
1639*4882a593Smuzhiyun	default ARCH_GEMINI
1640*4882a593Smuzhiyun	help
1641*4882a593Smuzhiyun	  If you say Y here you will get support for the
1642*4882a593Smuzhiyun	  Faraday Technolog FTRTC010 found on e.g. Gemini SoC's.
1643*4882a593Smuzhiyun
1644*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1645*4882a593Smuzhiyun	  will be called rtc-ftrtc010.
1646*4882a593Smuzhiyun
1647*4882a593Smuzhiyunconfig RTC_DRV_PS3
1648*4882a593Smuzhiyun	tristate "PS3 RTC"
1649*4882a593Smuzhiyun	depends on PPC_PS3
1650*4882a593Smuzhiyun	help
1651*4882a593Smuzhiyun	  If you say yes here you will get support for the RTC on PS3.
1652*4882a593Smuzhiyun
1653*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1654*4882a593Smuzhiyun	  will be called rtc-ps3.
1655*4882a593Smuzhiyun
1656*4882a593Smuzhiyunconfig RTC_DRV_COH901331
1657*4882a593Smuzhiyun	tristate "ST-Ericsson COH 901 331 RTC"
1658*4882a593Smuzhiyun	depends on ARCH_U300 || COMPILE_TEST
1659*4882a593Smuzhiyun	help
1660*4882a593Smuzhiyun	  If you say Y here you will get access to ST-Ericsson
1661*4882a593Smuzhiyun	  COH 901 331 RTC clock found in some ST-Ericsson Mobile
1662*4882a593Smuzhiyun	  Platforms.
1663*4882a593Smuzhiyun
1664*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1665*4882a593Smuzhiyun	  will be called "rtc-coh901331".
1666*4882a593Smuzhiyun
1667*4882a593Smuzhiyun
1668*4882a593Smuzhiyunconfig RTC_DRV_STMP
1669*4882a593Smuzhiyun	tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
1670*4882a593Smuzhiyun	depends on ARCH_MXS || COMPILE_TEST
1671*4882a593Smuzhiyun	select STMP_DEVICE
1672*4882a593Smuzhiyun	help
1673*4882a593Smuzhiyun	  If you say yes here you will get support for the onboard
1674*4882a593Smuzhiyun	  STMP3xxx/i.MX23/i.MX28 RTC.
1675*4882a593Smuzhiyun
1676*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1677*4882a593Smuzhiyun	  will be called rtc-stmp3xxx.
1678*4882a593Smuzhiyun
1679*4882a593Smuzhiyunconfig RTC_DRV_PCAP
1680*4882a593Smuzhiyun	tristate "PCAP RTC"
1681*4882a593Smuzhiyun	depends on EZX_PCAP
1682*4882a593Smuzhiyun	help
1683*4882a593Smuzhiyun	  If you say Y here you will get support for the RTC found on
1684*4882a593Smuzhiyun	  the PCAP2 ASIC used on some Motorola phones.
1685*4882a593Smuzhiyun
1686*4882a593Smuzhiyunconfig RTC_DRV_MC13XXX
1687*4882a593Smuzhiyun	depends on MFD_MC13XXX
1688*4882a593Smuzhiyun	tristate "Freescale MC13xxx RTC"
1689*4882a593Smuzhiyun	help
1690*4882a593Smuzhiyun	  This enables support for the RTCs found on Freescale's PMICs
1691*4882a593Smuzhiyun	  MC13783 and MC13892.
1692*4882a593Smuzhiyun
1693*4882a593Smuzhiyunconfig RTC_DRV_MPC5121
1694*4882a593Smuzhiyun	tristate "Freescale MPC5121 built-in RTC"
1695*4882a593Smuzhiyun	depends on PPC_MPC512x || PPC_MPC52xx
1696*4882a593Smuzhiyun	help
1697*4882a593Smuzhiyun	  If you say yes here you will get support for the
1698*4882a593Smuzhiyun	  built-in RTC on MPC5121 or on MPC5200.
1699*4882a593Smuzhiyun
1700*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1701*4882a593Smuzhiyun	  will be called rtc-mpc5121.
1702*4882a593Smuzhiyun
1703*4882a593Smuzhiyunconfig RTC_DRV_JZ4740
1704*4882a593Smuzhiyun	tristate "Ingenic JZ4740 SoC"
1705*4882a593Smuzhiyun	depends on MIPS || COMPILE_TEST
1706*4882a593Smuzhiyun	depends on OF
1707*4882a593Smuzhiyun	help
1708*4882a593Smuzhiyun	  If you say yes here you get support for the Ingenic JZ47xx SoCs RTC
1709*4882a593Smuzhiyun	  controllers.
1710*4882a593Smuzhiyun
1711*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1712*4882a593Smuzhiyun	  will be called rtc-jz4740.
1713*4882a593Smuzhiyun
1714*4882a593Smuzhiyunconfig RTC_DRV_LPC24XX
1715*4882a593Smuzhiyun	tristate "NXP RTC for LPC178x/18xx/408x/43xx"
1716*4882a593Smuzhiyun	depends on ARCH_LPC18XX || COMPILE_TEST
1717*4882a593Smuzhiyun	depends on OF && HAS_IOMEM
1718*4882a593Smuzhiyun	help
1719*4882a593Smuzhiyun	  This enables support for the NXP RTC found which can be found on
1720*4882a593Smuzhiyun	  NXP LPC178x/18xx/408x/43xx devices.
1721*4882a593Smuzhiyun
1722*4882a593Smuzhiyun	  If you have one of the devices above enable this driver to use
1723*4882a593Smuzhiyun	  the hardware RTC. This driver can also be built as a module. If
1724*4882a593Smuzhiyun	  so, the module will be called rtc-lpc24xx.
1725*4882a593Smuzhiyun
1726*4882a593Smuzhiyunconfig RTC_DRV_LPC32XX
1727*4882a593Smuzhiyun	depends on ARCH_LPC32XX || COMPILE_TEST
1728*4882a593Smuzhiyun	tristate "NXP LPC32XX RTC"
1729*4882a593Smuzhiyun	help
1730*4882a593Smuzhiyun	  This enables support for the NXP RTC in the LPC32XX
1731*4882a593Smuzhiyun
1732*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1733*4882a593Smuzhiyun	  will be called rtc-lpc32xx.
1734*4882a593Smuzhiyun
1735*4882a593Smuzhiyunconfig RTC_DRV_PM8XXX
1736*4882a593Smuzhiyun	tristate "Qualcomm PMIC8XXX RTC"
1737*4882a593Smuzhiyun	depends on MFD_PM8XXX || MFD_SPMI_PMIC || COMPILE_TEST
1738*4882a593Smuzhiyun	help
1739*4882a593Smuzhiyun	  If you say yes here you get support for the
1740*4882a593Smuzhiyun	  Qualcomm PMIC8XXX RTC.
1741*4882a593Smuzhiyun
1742*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the
1743*4882a593Smuzhiyun	  module will be called rtc-pm8xxx.
1744*4882a593Smuzhiyun
1745*4882a593Smuzhiyunconfig RTC_DRV_TEGRA
1746*4882a593Smuzhiyun	tristate "NVIDIA Tegra Internal RTC driver"
1747*4882a593Smuzhiyun	depends on ARCH_TEGRA || COMPILE_TEST
1748*4882a593Smuzhiyun	help
1749*4882a593Smuzhiyun	  If you say yes here you get support for the
1750*4882a593Smuzhiyun	  Tegra 200 series internal RTC module.
1751*4882a593Smuzhiyun
1752*4882a593Smuzhiyun	  This drive can also be built as a module. If so, the module
1753*4882a593Smuzhiyun	  will be called rtc-tegra.
1754*4882a593Smuzhiyun
1755*4882a593Smuzhiyunconfig RTC_DRV_LOONGSON1
1756*4882a593Smuzhiyun	tristate "loongson1 RTC support"
1757*4882a593Smuzhiyun	depends on MACH_LOONGSON32
1758*4882a593Smuzhiyun	help
1759*4882a593Smuzhiyun	  This is a driver for the loongson1 on-chip Counter0 (Time-Of-Year
1760*4882a593Smuzhiyun	  counter) to be used as a RTC.
1761*4882a593Smuzhiyun
1762*4882a593Smuzhiyun	  This driver can also be built as a module. If so, the module
1763*4882a593Smuzhiyun	  will be called rtc-ls1x.
1764*4882a593Smuzhiyun
1765*4882a593Smuzhiyunconfig RTC_DRV_MXC
1766*4882a593Smuzhiyun	tristate "Freescale MXC Real Time Clock"
1767*4882a593Smuzhiyun	depends on ARCH_MXC
1768*4882a593Smuzhiyun	help
1769*4882a593Smuzhiyun	   If you say yes here you get support for the Freescale MXC
1770*4882a593Smuzhiyun	   RTC module.
1771*4882a593Smuzhiyun
1772*4882a593Smuzhiyun	   This driver can also be built as a module, if so, the module
1773*4882a593Smuzhiyun	   will be called "rtc-mxc".
1774*4882a593Smuzhiyun
1775*4882a593Smuzhiyunconfig RTC_DRV_MXC_V2
1776*4882a593Smuzhiyun	tristate "Freescale MXC Real Time Clock for i.MX53"
1777*4882a593Smuzhiyun	depends on ARCH_MXC
1778*4882a593Smuzhiyun	help
1779*4882a593Smuzhiyun	   If you say yes here you get support for the Freescale MXC
1780*4882a593Smuzhiyun	   SRTC module in i.MX53 processor.
1781*4882a593Smuzhiyun
1782*4882a593Smuzhiyun	   This driver can also be built as a module, if so, the module
1783*4882a593Smuzhiyun	   will be called "rtc-mxc_v2".
1784*4882a593Smuzhiyun
1785*4882a593Smuzhiyunconfig RTC_DRV_SNVS
1786*4882a593Smuzhiyun	tristate "Freescale SNVS RTC support"
1787*4882a593Smuzhiyun	select REGMAP_MMIO
1788*4882a593Smuzhiyun	depends on ARCH_MXC || COMPILE_TEST
1789*4882a593Smuzhiyun	depends on HAS_IOMEM
1790*4882a593Smuzhiyun	depends on OF
1791*4882a593Smuzhiyun	help
1792*4882a593Smuzhiyun	   If you say yes here you get support for the Freescale SNVS
1793*4882a593Smuzhiyun	   Low Power (LP) RTC module.
1794*4882a593Smuzhiyun
1795*4882a593Smuzhiyun	   This driver can also be built as a module, if so, the module
1796*4882a593Smuzhiyun	   will be called "rtc-snvs".
1797*4882a593Smuzhiyun
1798*4882a593Smuzhiyunconfig RTC_DRV_IMX_SC
1799*4882a593Smuzhiyun	depends on IMX_SCU
1800*4882a593Smuzhiyun	depends on HAVE_ARM_SMCCC
1801*4882a593Smuzhiyun	tristate "NXP i.MX System Controller RTC support"
1802*4882a593Smuzhiyun	help
1803*4882a593Smuzhiyun	   If you say yes here you get support for the NXP i.MX System
1804*4882a593Smuzhiyun	   Controller RTC module.
1805*4882a593Smuzhiyun
1806*4882a593Smuzhiyunconfig RTC_DRV_SIRFSOC
1807*4882a593Smuzhiyun	tristate "SiRFSOC RTC"
1808*4882a593Smuzhiyun	depends on ARCH_SIRF
1809*4882a593Smuzhiyun	help
1810*4882a593Smuzhiyun	  Say "yes" here to support the real time clock on SiRF SOC chips.
1811*4882a593Smuzhiyun	  This driver can also be built as a module called rtc-sirfsoc.
1812*4882a593Smuzhiyun
1813*4882a593Smuzhiyunconfig RTC_DRV_ST_LPC
1814*4882a593Smuzhiyun	tristate "STMicroelectronics LPC RTC"
1815*4882a593Smuzhiyun	depends on ARCH_STI
1816*4882a593Smuzhiyun	depends on OF
1817*4882a593Smuzhiyun	help
1818*4882a593Smuzhiyun	  Say Y here to include STMicroelectronics Low Power Controller
1819*4882a593Smuzhiyun	  (LPC) based RTC support.
1820*4882a593Smuzhiyun
1821*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the
1822*4882a593Smuzhiyun	  module will be called rtc-st-lpc.
1823*4882a593Smuzhiyun
1824*4882a593Smuzhiyunconfig RTC_DRV_MOXART
1825*4882a593Smuzhiyun	tristate "MOXA ART RTC"
1826*4882a593Smuzhiyun	depends on ARCH_MOXART || COMPILE_TEST
1827*4882a593Smuzhiyun	help
1828*4882a593Smuzhiyun	   If you say yes here you get support for the MOXA ART
1829*4882a593Smuzhiyun	   RTC module.
1830*4882a593Smuzhiyun
1831*4882a593Smuzhiyun	   This driver can also be built as a module. If so, the module
1832*4882a593Smuzhiyun	   will be called rtc-moxart
1833*4882a593Smuzhiyun
1834*4882a593Smuzhiyunconfig RTC_DRV_MT2712
1835*4882a593Smuzhiyun	tristate "MediaTek MT2712 SoC based RTC"
1836*4882a593Smuzhiyun	depends on ARCH_MEDIATEK || COMPILE_TEST
1837*4882a593Smuzhiyun	help
1838*4882a593Smuzhiyun	  This enables support for the real time clock built in the MediaTek
1839*4882a593Smuzhiyun	  SoCs for MT2712.
1840*4882a593Smuzhiyun
1841*4882a593Smuzhiyun	  This drive can also be built as a module. If so, the module
1842*4882a593Smuzhiyun	  will be called rtc-mt2712.
1843*4882a593Smuzhiyun
1844*4882a593Smuzhiyunconfig RTC_DRV_MT6397
1845*4882a593Smuzhiyun	tristate "MediaTek PMIC based RTC"
1846*4882a593Smuzhiyun	depends on MFD_MT6397 || (COMPILE_TEST && IRQ_DOMAIN)
1847*4882a593Smuzhiyun	help
1848*4882a593Smuzhiyun	  This selects the MediaTek(R) RTC driver. RTC is part of MediaTek
1849*4882a593Smuzhiyun	  MT6397 PMIC. You should enable MT6397 PMIC MFD before select
1850*4882a593Smuzhiyun	  MediaTek(R) RTC driver.
1851*4882a593Smuzhiyun
1852*4882a593Smuzhiyun	  If you want to use MediaTek(R) RTC interface, select Y or M here.
1853*4882a593Smuzhiyun
1854*4882a593Smuzhiyunconfig RTC_DRV_MT7622
1855*4882a593Smuzhiyun	tristate "MediaTek SoC based RTC"
1856*4882a593Smuzhiyun	depends on ARCH_MEDIATEK || COMPILE_TEST
1857*4882a593Smuzhiyun	help
1858*4882a593Smuzhiyun	  This enables support for the real time clock built in the MediaTek
1859*4882a593Smuzhiyun	  SoCs.
1860*4882a593Smuzhiyun
1861*4882a593Smuzhiyun	  This drive can also be built as a module. If so, the module
1862*4882a593Smuzhiyun	  will be called rtc-mt7622.
1863*4882a593Smuzhiyun
1864*4882a593Smuzhiyunconfig RTC_DRV_XGENE
1865*4882a593Smuzhiyun	tristate "APM X-Gene RTC"
1866*4882a593Smuzhiyun	depends on HAS_IOMEM
1867*4882a593Smuzhiyun	depends on ARCH_XGENE || COMPILE_TEST
1868*4882a593Smuzhiyun	help
1869*4882a593Smuzhiyun	  If you say yes here you get support for the APM X-Gene SoC real time
1870*4882a593Smuzhiyun	  clock.
1871*4882a593Smuzhiyun
1872*4882a593Smuzhiyun	  This driver can also be built as a module, if so, the module
1873*4882a593Smuzhiyun	  will be called "rtc-xgene".
1874*4882a593Smuzhiyun
1875*4882a593Smuzhiyunconfig RTC_DRV_PIC32
1876*4882a593Smuzhiyun	tristate "Microchip PIC32 RTC"
1877*4882a593Smuzhiyun	depends on MACH_PIC32
1878*4882a593Smuzhiyun	default y
1879*4882a593Smuzhiyun	help
1880*4882a593Smuzhiyun	   If you say yes here you get support for the PIC32 RTC module.
1881*4882a593Smuzhiyun
1882*4882a593Smuzhiyun	   This driver can also be built as a module. If so, the module
1883*4882a593Smuzhiyun	   will be called rtc-pic32
1884*4882a593Smuzhiyun
1885*4882a593Smuzhiyunconfig RTC_DRV_R7301
1886*4882a593Smuzhiyun	tristate "EPSON TOYOCOM RTC-7301SF/DG"
1887*4882a593Smuzhiyun	select REGMAP_MMIO
1888*4882a593Smuzhiyun	depends on OF && HAS_IOMEM
1889*4882a593Smuzhiyun	help
1890*4882a593Smuzhiyun	   If you say yes here you get support for the EPSON TOYOCOM
1891*4882a593Smuzhiyun	   RTC-7301SF/DG chips.
1892*4882a593Smuzhiyun
1893*4882a593Smuzhiyun	   This driver can also be built as a module. If so, the module
1894*4882a593Smuzhiyun	   will be called rtc-r7301.
1895*4882a593Smuzhiyun
1896*4882a593Smuzhiyunconfig RTC_DRV_STM32
1897*4882a593Smuzhiyun	tristate "STM32 RTC"
1898*4882a593Smuzhiyun	select REGMAP_MMIO
1899*4882a593Smuzhiyun	depends on ARCH_STM32 || COMPILE_TEST
1900*4882a593Smuzhiyun	help
1901*4882a593Smuzhiyun	   If you say yes here you get support for the STM32 On-Chip
1902*4882a593Smuzhiyun	   Real Time Clock.
1903*4882a593Smuzhiyun
1904*4882a593Smuzhiyun	   This driver can also be built as a module, if so, the module
1905*4882a593Smuzhiyun	   will be called "rtc-stm32".
1906*4882a593Smuzhiyun
1907*4882a593Smuzhiyunconfig RTC_DRV_CPCAP
1908*4882a593Smuzhiyun	depends on MFD_CPCAP
1909*4882a593Smuzhiyun	tristate "Motorola CPCAP RTC"
1910*4882a593Smuzhiyun	help
1911*4882a593Smuzhiyun	   Say y here for CPCAP rtc found on some Motorola phones
1912*4882a593Smuzhiyun	   and tablets such as Droid 4.
1913*4882a593Smuzhiyun
1914*4882a593Smuzhiyunconfig RTC_DRV_RTD119X
1915*4882a593Smuzhiyun	bool "Realtek RTD129x RTC"
1916*4882a593Smuzhiyun	depends on ARCH_REALTEK || COMPILE_TEST
1917*4882a593Smuzhiyun	default ARCH_REALTEK
1918*4882a593Smuzhiyun	help
1919*4882a593Smuzhiyun	  If you say yes here, you get support for the RTD1295 SoC
1920*4882a593Smuzhiyun	  Real Time Clock.
1921*4882a593Smuzhiyun
1922*4882a593Smuzhiyunconfig RTC_DRV_ASPEED
1923*4882a593Smuzhiyun	tristate "ASPEED RTC"
1924*4882a593Smuzhiyun	depends on OF
1925*4882a593Smuzhiyun	depends on ARCH_ASPEED || COMPILE_TEST
1926*4882a593Smuzhiyun	help
1927*4882a593Smuzhiyun	  If you say yes here you get support for the ASPEED BMC SoC real time
1928*4882a593Smuzhiyun	  clocks.
1929*4882a593Smuzhiyun
1930*4882a593Smuzhiyun	  This driver can also be built as a module, if so, the module
1931*4882a593Smuzhiyun	  will be called "rtc-aspeed".
1932*4882a593Smuzhiyun
1933*4882a593Smuzhiyuncomment "HID Sensor RTC drivers"
1934*4882a593Smuzhiyun
1935*4882a593Smuzhiyunconfig RTC_DRV_HID_SENSOR_TIME
1936*4882a593Smuzhiyun	tristate "HID Sensor Time"
1937*4882a593Smuzhiyun	depends on USB_HID
1938*4882a593Smuzhiyun	depends on HID_SENSOR_HUB && IIO
1939*4882a593Smuzhiyun	select HID_SENSOR_IIO_COMMON
1940*4882a593Smuzhiyun	help
1941*4882a593Smuzhiyun	  Say yes here to build support for the HID Sensors of type Time.
1942*4882a593Smuzhiyun	  This drivers makes such sensors available as RTCs.
1943*4882a593Smuzhiyun
1944*4882a593Smuzhiyun	  If this driver is compiled as a module, it will be named
1945*4882a593Smuzhiyun	  rtc-hid-sensor-time.
1946*4882a593Smuzhiyun
1947*4882a593Smuzhiyunconfig RTC_DRV_GOLDFISH
1948*4882a593Smuzhiyun	tristate "Goldfish Real Time Clock"
1949*4882a593Smuzhiyun	depends on OF && HAS_IOMEM
1950*4882a593Smuzhiyun	depends on GOLDFISH || COMPILE_TEST
1951*4882a593Smuzhiyun	help
1952*4882a593Smuzhiyun	  Say yes to enable RTC driver for the Goldfish based virtual platform.
1953*4882a593Smuzhiyun
1954*4882a593Smuzhiyun	  Goldfish is a code name for the virtual platform developed by Google
1955*4882a593Smuzhiyun	  for Android emulation.
1956*4882a593Smuzhiyun
1957*4882a593Smuzhiyunconfig RTC_DRV_WILCO_EC
1958*4882a593Smuzhiyun	tristate "Wilco EC RTC"
1959*4882a593Smuzhiyun	depends on WILCO_EC
1960*4882a593Smuzhiyun	default m
1961*4882a593Smuzhiyun	help
1962*4882a593Smuzhiyun	  If you say yes here, you get read/write support for the Real Time
1963*4882a593Smuzhiyun	  Clock on the Wilco Embedded Controller (Wilco is a kind of Chromebook)
1964*4882a593Smuzhiyun
1965*4882a593Smuzhiyun	  This can also be built as a module. If so, the module will
1966*4882a593Smuzhiyun	  be named "rtc_wilco_ec".
1967*4882a593Smuzhiyun
1968*4882a593Smuzhiyunendif # RTC_CLASS
1969