MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / drivers / rtc / Kconfig
blobf2dba707d16ff62f98c9b753880d98458cd9cf26
1 \#
2 # RTC class/drivers configuration
5 menu "Real Time Clock"
7 config RTC_LIB
8         tristate
10 config RTC_CLASS
11         tristate "RTC class"
12         depends on EXPERIMENTAL
13         default n
14         select RTC_LIB
15         help
16           Generic RTC class support. If you say yes here, you will
17           be allowed to plug one or more RTCs to your system. You will
18           probably want to enable one or more of the interfaces below.
20           This driver can also be built as a module. If so, the module
21           will be called rtc-class.
23 config RTC_HCTOSYS
24         bool "Set system time from RTC on startup"
25         depends on RTC_CLASS = y
26         default y
27         help
28           If you say yes here, the system time will be set using
29           the value read from the specified RTC device. This is useful
30           in order to avoid unnecessary fsck runs.
32 config RTC_HCTOSYS_DEVICE
33         string "The RTC to read the time from"
34         depends on RTC_HCTOSYS = y
35         default "rtc0"
36         help
37           The RTC device that will be used as the source for
38           the system time, usually rtc0.
40 config RTC_DEBUG
41         bool "RTC debug support"
42         depends on RTC_CLASS = y
43         help
44           Say yes here to enable debugging support in the RTC framework
45           and individual RTC drivers.
47 comment "RTC interfaces"
48         depends on RTC_CLASS
50 config RTC_INTF_SYSFS
51         tristate "sysfs"
52         depends on RTC_CLASS && SYSFS
53         default RTC_CLASS
54         help
55           Say yes here if you want to use your RTCs using sysfs interfaces,
56           /sys/class/rtc/rtc0 through /sys/.../rtcN.
58           This driver can also be built as a module. If so, the module
59           will be called rtc-sysfs.
61 config RTC_INTF_PROC
62         tristate "proc"
63         depends on RTC_CLASS && PROC_FS
64         default RTC_CLASS
65         help
66           Say yes here if you want to use your first RTC through the proc
67           interface, /proc/driver/rtc.  Other RTCs will not be available
68           through that API.
70           This driver can also be built as a module. If so, the module
71           will be called rtc-proc.
73 config RTC_INTF_DEV
74         tristate "dev"
75         depends on RTC_CLASS
76         default RTC_CLASS
77         help
78           Say yes here if you want to use your RTCs using the /dev
79           interfaces, which "udev" sets up as /dev/rtc0 through
80           /dev/rtcN.  You may want to set up a symbolic link so one
81           of these can be accessed as /dev/rtc, which is a name
82           expected by "hwclock" and some other programs.
84           This driver can also be built as a module. If so, the module
85           will be called rtc-dev.
87 config RTC_INTF_DEV_UIE_EMUL
88         bool "RTC UIE emulation on dev interface"
89         depends on RTC_INTF_DEV
90         help
91           Provides an emulation for RTC_UIE if the underlaying rtc chip
92           driver does not expose RTC_UIE ioctls.  Those requests generate
93           once-per-second update interrupts, used for synchronization.
95 comment "RTC drivers"
96         depends on RTC_CLASS
98 config RTC_DRV_X1205
99         tristate "Xicor/Intersil X1205"
100         depends on RTC_CLASS && I2C
101         help
102           If you say yes here you get support for the
103           Xicor/Intersil X1205 RTC chip.
105           This driver can also be built as a module. If so, the module
106           will be called rtc-x1205.
108 config RTC_DRV_DS1307
109         tristate "Dallas/Maxim DS1307 and similar I2C RTC chips"
110         depends on RTC_CLASS && I2C
111         help
112           If you say yes here you get support for various compatible RTC
113           chips (often with battery backup) connected with I2C.  This driver
114           should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
115           and probably other chips.  In some cases the RTC must already
116           have been initialized (by manufacturing or a bootloader).
118           The first seven registers on these chips hold an RTC, and other
119           registers may add features such as NVRAM, a trickle charger for
120           the RTC/NVRAM backup power, and alarms.  This driver may not
121           expose all those available chip features.
123           This driver can also be built as a module. If so, the module
124           will be called rtc-ds1307.
126 config RTC_DRV_DS1553
127         tristate "Dallas DS1553"
128         depends on RTC_CLASS
129         help
130           If you say yes here you get support for the
131           Dallas DS1553 timekeeping chip.
133           This driver can also be built as a module. If so, the module
134           will be called rtc-ds1553.
136 config RTC_DRV_ISL1208
137         tristate "Intersil 1208"
138         depends on RTC_CLASS && I2C
139         help
140           If you say yes here you get support for the
141           Intersil 1208 RTC chip.
143           This driver can also be built as a module. If so, the module
144           will be called rtc-isl1208.
146 config RTC_DRV_DS1672
147         tristate "Dallas/Maxim DS1672"
148         depends on RTC_CLASS && I2C
149         help
150           If you say yes here you get support for the
151           Dallas/Maxim DS1672 timekeeping chip.
153           This driver can also be built as a module. If so, the module
154           will be called rtc-ds1672.
156 config RTC_DRV_DS1742
157         tristate "Dallas DS1742"
158         depends on RTC_CLASS
159         help
160           If you say yes here you get support for the
161           Dallas DS1742 timekeeping chip.
163           This driver can also be built as a module. If so, the module
164           will be called rtc-ds1742.
166 config RTC_DRV_PCF8563
167         tristate "Philips PCF8563/Epson RTC8564"
168         depends on RTC_CLASS && I2C
169         help
170           If you say yes here you get support for the
171           Philips PCF8563 RTC chip. The Epson RTC8564
172           should work as well.
174           This driver can also be built as a module. If so, the module
175           will be called rtc-pcf8563.
177 config RTC_DRV_PCF8583
178         tristate "Philips PCF8583"
179         depends on RTC_CLASS && I2C
180         help
181           If you say yes here you get support for the
182           Philips PCF8583 RTC chip.
184           This driver can also be built as a module. If so, the module
185           will be called rtc-pcf8583.
187 config RTC_DRV_RS5C348
188         tristate "Ricoh RS5C348A/B"
189         depends on RTC_CLASS && SPI
190         help
191           If you say yes here you get support for the
192           Ricoh RS5C348A and RS5C348B RTC chips.
194           This driver can also be built as a module. If so, the module
195           will be called rtc-rs5c348.
197 config RTC_DRV_RS5C372
198         tristate "Ricoh RS5C372A/B"
199         depends on RTC_CLASS && I2C
200         help
201           If you say yes here you get support for the
202           Ricoh RS5C372A and RS5C372B RTC chips.
204           This driver can also be built as a module. If so, the module
205           will be called rtc-rs5c372.
207 config RTC_DRV_S3C
208         tristate "Samsung S3C series SoC RTC"
209         depends on RTC_CLASS && ARCH_S3C2410
210         help
211           RTC (Realtime Clock) driver for the clock inbuilt into the
212           Samsung S3C24XX series of SoCs. This can provide periodic
213           interrupt rates from 1Hz to 64Hz for user programs, and
214           wakeup from Alarm.
216           The driver currently supports the common features on all the
217           S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
218           and S3C2442.
220           This driver can also be build as a module. If so, the module
221           will be called rtc-s3c.
223 config RTC_DRV_M48T86
224         tristate "ST M48T86/Dallas DS12887"
225         depends on RTC_CLASS
226         help
227           If you say Y here you will get support for the
228           ST M48T86 and Dallas DS12887 RTC chips.
230           This driver can also be built as a module. If so, the module
231           will be called rtc-m48t86.
233 config RTC_DRV_EP93XX
234         tristate "Cirrus Logic EP93XX"
235         depends on RTC_CLASS && ARCH_EP93XX
236         help
237           If you say yes here you get support for the
238           RTC embedded in the Cirrus Logic EP93XX processors.
240           This driver can also be built as a module. If so, the module
241           will be called rtc-ep93xx.
243 config RTC_DRV_SA1100
244         tristate "SA11x0/PXA2xx"
245         depends on RTC_CLASS && (ARCH_SA1100 || ARCH_PXA)
246         help
247           If you say Y here you will get access to the real time clock
248           built into your SA11x0 or PXA2xx CPU.
250           To compile this driver as a module, choose M here: the
251           module will be called rtc-sa1100.
253 config RTC_DRV_SH
254         tristate "SuperH On-Chip RTC"
255         depends on RTC_CLASS && SUPERH
256         help
257           Say Y here to enable support for the on-chip RTC found in
258           most SuperH processors.
260           To compile this driver as a module, choose M here: the
261           module will be called rtc-sh.
263 config RTC_DRV_DS1302
264         tristate "DS1302 on SnapGear SuperH platforms"
265         depends on RTC_CLASS && SH_SECUREEDGE5410
266         help
267           Say Y here to enable the DS1302 RTC on some SnapGear SuperH
268           based hardware platforms.
270 config RTC_DRV_VR41XX
271         tristate "NEC VR41XX"
272         depends on RTC_CLASS && CPU_VR41XX
273         help
274           If you say Y here you will get access to the real time clock
275           built into your NEC VR41XX CPU.
277           To compile this driver as a module, choose M here: the
278           module will be called rtc-vr41xx.
280 config RTC_DRV_PL031
281         tristate "ARM AMBA PL031 RTC"
282         depends on RTC_CLASS && ARM_AMBA
283         help
284           If you say Y here you will get access to ARM AMBA
285           PrimeCell PL031 UART found on certain ARM SOCs.
287           To compile this driver as a module, choose M here: the
288           module will be called rtc-pl031.
290 config RTC_DRV_AT91
291         tristate "AT91RM9200"
292         depends on RTC_CLASS && ARCH_AT91RM9200
293         help
294           Driver for the Atmel AT91RM9200's internal RTC (Realtime Clock).
296 config RTC_DRV_TEST
297         tristate "Test driver/device"
298         depends on RTC_CLASS
299         help
300           If you say yes here you get support for the
301           RTC test driver. It's a software RTC which can be
302           used to test the RTC subsystem APIs. It gets
303           the time from the system clock.
304           You want this driver only if you are doing development
305           on the RTC subsystem. Please read the source code
306           for further details.
308           This driver can also be built as a module. If so, the module
309           will be called rtc-test.
311 config RTC_DRV_MAX6902
312         tristate "Maxim 6902"
313         depends on RTC_CLASS && SPI
314         help
315           If you say yes here you will get support for the
316           Maxim MAX6902 spi RTC chip.
318           This driver can also be built as a module. If so, the module
319           will be called rtc-max6902.
321 config RTC_DRV_V3020
322         tristate "EM Microelectronic V3020"
323         depends on RTC_CLASS
324         help
325           If you say yes here you will get support for the
326           EM Microelectronic v3020 RTC chip.
328           This driver can also be built as a module. If so, the module
329           will be called rtc-v3020.
331 endmenu