blob: 40e3d9c3da844d94d6910b675344781c22ff6358 [file] [log] [blame]
Alessandro Zummo0c86edc2006-03-27 01:16:37 -08001\#
Alessandro Zummoc58411e2006-03-27 01:16:34 -08002# RTC class/drivers configuration
3#
4
Alessandro Zummo0c86edc2006-03-27 01:16:37 -08005menu "Real Time Clock"
6
Alessandro Zummoc58411e2006-03-27 01:16:34 -08007config RTC_LIB
Alessandro Zummo0c86edc2006-03-27 01:16:37 -08008 tristate
9
10config 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 of more of the interfaces below.
19
20 This driver can also be built as a module. If so, the module
21 will be called rtc-class.
22
23config 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 fschk runs.
31
32config 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.
39
40comment "RTC interfaces"
41 depends on RTC_CLASS
42
Alessandro Zummoc5c3e192006-03-27 01:16:39 -080043config RTC_INTF_SYSFS
44 tristate "sysfs"
45 depends on RTC_CLASS && SYSFS
46 default RTC_CLASS
47 help
48 Say yes here if you want to use your RTC using the sysfs
49 interface, /sys/class/rtc/rtcX .
50
51 This driver can also be built as a module. If so, the module
52 will be called rtc-sysfs.
53
Alessandro Zummo728a2942006-03-27 01:16:40 -080054config RTC_INTF_PROC
55 tristate "proc"
56 depends on RTC_CLASS && PROC_FS
57 default RTC_CLASS
58 help
59 Say yes here if you want to use your RTC using the proc
60 interface, /proc/driver/rtc .
61
62 This driver can also be built as a module. If so, the module
63 will be called rtc-proc.
64
Alessandro Zummoe8242902006-03-27 01:16:41 -080065config RTC_INTF_DEV
66 tristate "dev"
67 depends on RTC_CLASS
68 default RTC_CLASS
69 help
70 Say yes here if you want to use your RTC using the dev
71 interface, /dev/rtc .
72
73 This driver can also be built as a module. If so, the module
74 will be called rtc-dev.
75
Atsushi Nemoto655066c2006-06-25 05:48:17 -070076config RTC_INTF_DEV_UIE_EMUL
77 bool "RTC UIE emulation on dev interface"
78 depends on RTC_INTF_DEV
79 help
80 Provides an emulation for RTC_UIE if the underlaying rtc chip
81 driver did not provide RTC_UIE ioctls.
82
Alessandro Zummo0c86edc2006-03-27 01:16:37 -080083comment "RTC drivers"
84 depends on RTC_CLASS
85
Alessandro Zummo1fec7c62006-03-27 01:16:42 -080086config RTC_DRV_X1205
87 tristate "Xicor/Intersil X1205"
88 depends on RTC_CLASS && I2C
89 help
90 If you say yes here you get support for the
91 Xicor/Intersil X1205 RTC chip.
92
93 This driver can also be built as a module. If so, the module
94 will be called rtc-x1205.
95
David Brownell1abb0dc2006-06-25 05:48:17 -070096config RTC_DRV_DS1307
97 tristate "Dallas/Maxim DS1307 and similar I2C RTC chips"
98 depends on RTC_CLASS && I2C
99 help
100 If you say yes here you get support for various compatible RTC
101 chips (often with battery backup) connected with I2C. This driver
102 should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
103 and probably other chips. In some cases the RTC must already
104 have been initialized (by manufacturing or a bootloader).
105
106 The first seven registers on these chips hold an RTC, and other
107 registers may add features such as NVRAM, a trickle charger for
108 the RTC/NVRAM backup power, and alarms. This driver may not
109 expose all those available chip features.
110
111 This driver can also be built as a module. If so, the module
112 will be called rtc-ds1307.
113
Atsushi Nemoto9bf5b4f2006-06-25 05:48:28 -0700114config RTC_DRV_DS1553
115 tristate "Dallas DS1553"
116 depends on RTC_CLASS
117 help
118 If you say yes here you get support for the
119 Dallas DS1553 timekeeping chip.
120
121 This driver can also be built as a module. If so, the module
122 will be called rtc-ds1553.
123
Alessandro Zummoedf1aaa2006-03-27 01:16:43 -0800124config RTC_DRV_DS1672
125 tristate "Dallas/Maxim DS1672"
126 depends on RTC_CLASS && I2C
127 help
128 If you say yes here you get support for the
129 Dallas/Maxim DS1672 timekeeping chip.
130
131 This driver can also be built as a module. If so, the module
132 will be called rtc-ds1672.
133
Alessandro Zummob5a82d62006-03-27 01:16:44 -0800134config RTC_DRV_PCF8563
135 tristate "Philips PCF8563/Epson RTC8564"
136 depends on RTC_CLASS && I2C
137 help
138 If you say yes here you get support for the
139 Philips PCF8563 RTC chip. The Epson RTC8564
140 should work as well.
141
142 This driver can also be built as a module. If so, the module
143 will be called rtc-pcf8563.
144
G. Liakhovetski9c0c5702006-06-25 05:48:18 -0700145config RTC_DRV_PCF8583
146 tristate "Philips PCF8583"
147 depends on RTC_CLASS && I2C
148 help
149 If you say yes here you get support for the
150 Philips PCF8583 RTC chip.
151
152 This driver can also be built as a module. If so, the module
153 will be called rtc-pcf8583.
154
Alessandro Zummo7520b942006-03-27 01:16:45 -0800155config RTC_DRV_RS5C372
156 tristate "Ricoh RS5C372A/B"
157 depends on RTC_CLASS && I2C
158 help
159 If you say yes here you get support for the
160 Ricoh RS5C372A and RS5C372B RTC chips.
161
162 This driver can also be built as a module. If so, the module
163 will be called rtc-rs5c372.
164
Alessandro Zummo1d98af82006-03-27 01:16:47 -0800165config RTC_DRV_M48T86
166 tristate "ST M48T86/Dallas DS12887"
167 depends on RTC_CLASS
168 help
169 If you say Y here you will get support for the
170 ST M48T86 and Dallas DS12887 RTC chips.
171
172 This driver can also be built as a module. If so, the module
173 will be called rtc-m48t86.
174
Alessandro Zummofd507e22006-03-27 01:16:45 -0800175config RTC_DRV_EP93XX
176 tristate "Cirrus Logic EP93XX"
177 depends on RTC_CLASS && ARCH_EP93XX
178 help
179 If you say yes here you get support for the
180 RTC embedded in the Cirrus Logic EP93XX processors.
181
182 This driver can also be built as a module. If so, the module
183 will be called rtc-ep93xx.
184
Richard Purdiee842f1c2006-03-27 01:16:46 -0800185config RTC_DRV_SA1100
186 tristate "SA11x0/PXA2xx"
187 depends on RTC_CLASS && (ARCH_SA1100 || ARCH_PXA)
188 help
189 If you say Y here you will get access to the real time clock
190 built into your SA11x0 or PXA2xx CPU.
191
192 To compile this driver as a module, choose M here: the
193 module will be called rtc-sa1100.
Alessandro Zummofd507e22006-03-27 01:16:45 -0800194
Yoichi Yuasa8417eb72006-04-10 22:54:47 -0700195config RTC_DRV_VR41XX
Alessandro Zummo3e16f6a2006-04-10 22:54:48 -0700196 tristate "NEC VR41XX"
Yoichi Yuasa8417eb72006-04-10 22:54:47 -0700197 depends on RTC_CLASS && CPU_VR41XX
Alessandro Zummo3e16f6a2006-04-10 22:54:48 -0700198 help
199 If you say Y here you will get access to the real time clock
200 built into your NEC VR41XX CPU.
201
202 To compile this driver as a module, choose M here: the
203 module will be called rtc-vr41xx.
Yoichi Yuasa8417eb72006-04-10 22:54:47 -0700204
Deepak Saxena8ae6e162006-06-25 05:47:38 -0700205config RTC_DRV_PL031
206 tristate "ARM AMBA PL031 RTC"
207 depends on RTC_CLASS && ARM_AMBA
208 help
209 If you say Y here you will get access to ARM AMBA
210 PrimeCell PL031 UART found on certain ARM SOCs.
211
212 To compile this driver as a module, choose M here: the
213 module will be called rtc-pl031.
214
Andrew Victor788b1fc2006-06-25 05:48:27 -0700215config RTC_DRV_AT91
216 tristate "AT91RM9200"
217 depends on RTC_CLASS && ARCH_AT91RM9200
218 help
219 Driver for the Atmel AT91RM9200's internal RTC (Realtime Clock).
220
Alessandro Zummoa95579c2006-03-27 01:16:42 -0800221config RTC_DRV_TEST
222 tristate "Test driver/device"
223 depends on RTC_CLASS
224 help
225 If you say yes here you get support for the
226 RTC test driver. It's a software RTC which can be
227 used to test the RTC subsystem APIs. It gets
228 the time from the system clock.
229 You want this driver only if you are doing development
230 on the RTC subsystem. Please read the source code
231 for further details.
232
233 This driver can also be built as a module. If so, the module
234 will be called rtc-test.
235
Raphael Assenat8e12ecc2006-06-25 05:48:23 -0700236config RTC_DRV_MAX6902
237 tristate "Maxim 6902"
238 depends on RTC_CLASS && SPI
239 help
240 If you say yes here you will get support for the
241 Maxim MAX6902 spi RTC chip.
242
243 This driver can also be built as a module. If so, the module
244 will be called rtc-max6902.
245
Raphael Assenat362600f2006-06-25 05:48:24 -0700246config RTC_DRV_V3020
247 tristate "EM Microelectronic V3020"
248 depends on RTC_CLASS
249 help
250 If you say yes here you will get support for the
251 EM Microelectronic v3020 RTC chip.
252
253 This driver can also be built as a module. If so, the module
254 will be called rtc-v3020.
255
Alessandro Zummo0c86edc2006-03-27 01:16:37 -0800256endmenu