Alessandro Zummo | 0c86edc | 2006-03-27 01:16:37 -0800 | [diff] [blame] | 1 | \# |
Alessandro Zummo | c58411e | 2006-03-27 01:16:34 -0800 | [diff] [blame] | 2 | # RTC class/drivers configuration |
| 3 | # |
| 4 | |
Alessandro Zummo | 0c86edc | 2006-03-27 01:16:37 -0800 | [diff] [blame] | 5 | menu "Real Time Clock" |
| 6 | |
Alessandro Zummo | c58411e | 2006-03-27 01:16:34 -0800 | [diff] [blame] | 7 | config RTC_LIB |
Alessandro Zummo | 0c86edc | 2006-03-27 01:16:37 -0800 | [diff] [blame] | 8 | tristate |
| 9 | |
| 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 |
Adrian Bunk | 27ae410 | 2006-06-30 18:18:41 +0200 | [diff] [blame] | 18 | probably want to enable one or more of the interfaces below. |
Alessandro Zummo | 0c86edc | 2006-03-27 01:16:37 -0800 | [diff] [blame] | 19 | |
| 20 | This driver can also be built as a module. If so, the module |
| 21 | will be called rtc-class. |
| 22 | |
| 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 |
Pavel Machek | af3ffa6 | 2006-09-29 02:01:14 -0700 | [diff] [blame] | 30 | in order to avoid unnecessary fsck runs. |
Alessandro Zummo | 0c86edc | 2006-03-27 01:16:37 -0800 | [diff] [blame] | 31 | |
| 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. |
| 39 | |
| 40 | comment "RTC interfaces" |
| 41 | depends on RTC_CLASS |
| 42 | |
Alessandro Zummo | c5c3e19 | 2006-03-27 01:16:39 -0800 | [diff] [blame] | 43 | config 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 Zummo | 728a294 | 2006-03-27 01:16:40 -0800 | [diff] [blame] | 54 | config 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 Zummo | e824290 | 2006-03-27 01:16:41 -0800 | [diff] [blame] | 65 | config 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 Nemoto | 655066c | 2006-06-25 05:48:17 -0700 | [diff] [blame] | 76 | config 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 Zummo | 0c86edc | 2006-03-27 01:16:37 -0800 | [diff] [blame] | 83 | comment "RTC drivers" |
| 84 | depends on RTC_CLASS |
| 85 | |
Alessandro Zummo | 1fec7c6 | 2006-03-27 01:16:42 -0800 | [diff] [blame] | 86 | config 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 Brownell | 1abb0dc | 2006-06-25 05:48:17 -0700 | [diff] [blame] | 96 | config 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 Nemoto | 9bf5b4f | 2006-06-25 05:48:28 -0700 | [diff] [blame] | 114 | config 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 | |
Herbert Valerio Riedel | 7e56a7d | 2006-07-14 00:24:11 -0700 | [diff] [blame] | 124 | config RTC_DRV_ISL1208 |
| 125 | tristate "Intersil 1208" |
| 126 | depends on RTC_CLASS && I2C |
| 127 | help |
| 128 | If you say yes here you get support for the |
| 129 | Intersil 1208 RTC chip. |
| 130 | |
| 131 | This driver can also be built as a module. If so, the module |
| 132 | will be called rtc-isl1208. |
| 133 | |
Alessandro Zummo | edf1aaa | 2006-03-27 01:16:43 -0800 | [diff] [blame] | 134 | config RTC_DRV_DS1672 |
| 135 | tristate "Dallas/Maxim DS1672" |
| 136 | depends on RTC_CLASS && I2C |
| 137 | help |
| 138 | If you say yes here you get support for the |
| 139 | Dallas/Maxim DS1672 timekeeping chip. |
| 140 | |
| 141 | This driver can also be built as a module. If so, the module |
| 142 | will be called rtc-ds1672. |
| 143 | |
Atsushi Nemoto | 5ec3e4b | 2006-06-25 05:48:29 -0700 | [diff] [blame] | 144 | config RTC_DRV_DS1742 |
| 145 | tristate "Dallas DS1742" |
| 146 | depends on RTC_CLASS |
| 147 | help |
| 148 | If you say yes here you get support for the |
| 149 | Dallas DS1742 timekeeping chip. |
| 150 | |
| 151 | This driver can also be built as a module. If so, the module |
| 152 | will be called rtc-ds1742. |
| 153 | |
Alessandro Zummo | b5a82d6 | 2006-03-27 01:16:44 -0800 | [diff] [blame] | 154 | config RTC_DRV_PCF8563 |
| 155 | tristate "Philips PCF8563/Epson RTC8564" |
| 156 | depends on RTC_CLASS && I2C |
| 157 | help |
| 158 | If you say yes here you get support for the |
| 159 | Philips PCF8563 RTC chip. The Epson RTC8564 |
| 160 | should work as well. |
| 161 | |
| 162 | This driver can also be built as a module. If so, the module |
| 163 | will be called rtc-pcf8563. |
| 164 | |
G. Liakhovetski | 9c0c570 | 2006-06-25 05:48:18 -0700 | [diff] [blame] | 165 | config RTC_DRV_PCF8583 |
| 166 | tristate "Philips PCF8583" |
| 167 | depends on RTC_CLASS && I2C |
| 168 | help |
| 169 | If you say yes here you get support for the |
| 170 | Philips PCF8583 RTC chip. |
| 171 | |
| 172 | This driver can also be built as a module. If so, the module |
| 173 | will be called rtc-pcf8583. |
| 174 | |
Atsushi Nemoto | e0ac476 | 2006-06-28 04:26:47 -0700 | [diff] [blame] | 175 | config RTC_DRV_RS5C348 |
| 176 | tristate "Ricoh RS5C348A/B" |
| 177 | depends on RTC_CLASS && SPI |
| 178 | help |
| 179 | If you say yes here you get support for the |
| 180 | Ricoh RS5C348A and RS5C348B RTC chips. |
| 181 | |
| 182 | This driver can also be built as a module. If so, the module |
| 183 | will be called rtc-rs5c348. |
| 184 | |
Alessandro Zummo | 7520b94 | 2006-03-27 01:16:45 -0800 | [diff] [blame] | 185 | config RTC_DRV_RS5C372 |
| 186 | tristate "Ricoh RS5C372A/B" |
| 187 | depends on RTC_CLASS && I2C |
| 188 | help |
| 189 | If you say yes here you get support for the |
| 190 | Ricoh RS5C372A and RS5C372B RTC chips. |
| 191 | |
| 192 | This driver can also be built as a module. If so, the module |
| 193 | will be called rtc-rs5c372. |
| 194 | |
Ben Dooks | 1add678 | 2006-07-01 04:36:26 -0700 | [diff] [blame] | 195 | config RTC_DRV_S3C |
| 196 | tristate "Samsung S3C series SoC RTC" |
| 197 | depends on RTC_CLASS && ARCH_S3C2410 |
| 198 | help |
| 199 | RTC (Realtime Clock) driver for the clock inbuilt into the |
| 200 | Samsung S3C24XX series of SoCs. This can provide periodic |
| 201 | interrupt rates from 1Hz to 64Hz for user programs, and |
| 202 | wakeup from Alarm. |
| 203 | |
| 204 | The driver currently supports the common features on all the |
| 205 | S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440 |
| 206 | and S3C2442. |
| 207 | |
| 208 | This driver can also be build as a module. If so, the module |
| 209 | will be called rtc-s3c. |
| 210 | |
Alessandro Zummo | 1d98af8 | 2006-03-27 01:16:47 -0800 | [diff] [blame] | 211 | config RTC_DRV_M48T86 |
| 212 | tristate "ST M48T86/Dallas DS12887" |
| 213 | depends on RTC_CLASS |
| 214 | help |
| 215 | If you say Y here you will get support for the |
| 216 | ST M48T86 and Dallas DS12887 RTC chips. |
| 217 | |
| 218 | This driver can also be built as a module. If so, the module |
| 219 | will be called rtc-m48t86. |
| 220 | |
Alessandro Zummo | fd507e2 | 2006-03-27 01:16:45 -0800 | [diff] [blame] | 221 | config RTC_DRV_EP93XX |
| 222 | tristate "Cirrus Logic EP93XX" |
| 223 | depends on RTC_CLASS && ARCH_EP93XX |
| 224 | help |
| 225 | If you say yes here you get support for the |
| 226 | RTC embedded in the Cirrus Logic EP93XX processors. |
| 227 | |
| 228 | This driver can also be built as a module. If so, the module |
| 229 | will be called rtc-ep93xx. |
| 230 | |
Richard Purdie | e842f1c | 2006-03-27 01:16:46 -0800 | [diff] [blame] | 231 | config RTC_DRV_SA1100 |
| 232 | tristate "SA11x0/PXA2xx" |
| 233 | depends on RTC_CLASS && (ARCH_SA1100 || ARCH_PXA) |
| 234 | help |
| 235 | If you say Y here you will get access to the real time clock |
| 236 | built into your SA11x0 or PXA2xx CPU. |
| 237 | |
| 238 | To compile this driver as a module, choose M here: the |
| 239 | module will be called rtc-sa1100. |
Alessandro Zummo | fd507e2 | 2006-03-27 01:16:45 -0800 | [diff] [blame] | 240 | |
Paul Mundt | 317a610 | 2006-09-27 17:13:19 +0900 | [diff] [blame] | 241 | config RTC_DRV_SH |
| 242 | tristate "SuperH On-Chip RTC" |
| 243 | depends on RTC_CLASS && SUPERH |
| 244 | help |
| 245 | Say Y here to enable support for the on-chip RTC found in |
| 246 | most SuperH processors. |
| 247 | |
| 248 | To compile this driver as a module, choose M here: the |
| 249 | module will be called rtc-sh. |
| 250 | |
Yoichi Yuasa | 8417eb7 | 2006-04-10 22:54:47 -0700 | [diff] [blame] | 251 | config RTC_DRV_VR41XX |
Alessandro Zummo | 3e16f6a | 2006-04-10 22:54:48 -0700 | [diff] [blame] | 252 | tristate "NEC VR41XX" |
Yoichi Yuasa | 8417eb7 | 2006-04-10 22:54:47 -0700 | [diff] [blame] | 253 | depends on RTC_CLASS && CPU_VR41XX |
Alessandro Zummo | 3e16f6a | 2006-04-10 22:54:48 -0700 | [diff] [blame] | 254 | help |
| 255 | If you say Y here you will get access to the real time clock |
| 256 | built into your NEC VR41XX CPU. |
| 257 | |
| 258 | To compile this driver as a module, choose M here: the |
| 259 | module will be called rtc-vr41xx. |
Yoichi Yuasa | 8417eb7 | 2006-04-10 22:54:47 -0700 | [diff] [blame] | 260 | |
Deepak Saxena | 8ae6e16 | 2006-06-25 05:47:38 -0700 | [diff] [blame] | 261 | config RTC_DRV_PL031 |
| 262 | tristate "ARM AMBA PL031 RTC" |
| 263 | depends on RTC_CLASS && ARM_AMBA |
| 264 | help |
| 265 | If you say Y here you will get access to ARM AMBA |
| 266 | PrimeCell PL031 UART found on certain ARM SOCs. |
| 267 | |
| 268 | To compile this driver as a module, choose M here: the |
| 269 | module will be called rtc-pl031. |
| 270 | |
Andrew Victor | 788b1fc | 2006-06-25 05:48:27 -0700 | [diff] [blame] | 271 | config RTC_DRV_AT91 |
| 272 | tristate "AT91RM9200" |
| 273 | depends on RTC_CLASS && ARCH_AT91RM9200 |
| 274 | help |
| 275 | Driver for the Atmel AT91RM9200's internal RTC (Realtime Clock). |
| 276 | |
Alessandro Zummo | a95579c | 2006-03-27 01:16:42 -0800 | [diff] [blame] | 277 | config RTC_DRV_TEST |
| 278 | tristate "Test driver/device" |
| 279 | depends on RTC_CLASS |
| 280 | help |
| 281 | If you say yes here you get support for the |
| 282 | RTC test driver. It's a software RTC which can be |
| 283 | used to test the RTC subsystem APIs. It gets |
| 284 | the time from the system clock. |
| 285 | You want this driver only if you are doing development |
| 286 | on the RTC subsystem. Please read the source code |
| 287 | for further details. |
| 288 | |
| 289 | This driver can also be built as a module. If so, the module |
| 290 | will be called rtc-test. |
| 291 | |
Raphael Assenat | 8e12ecc | 2006-06-25 05:48:23 -0700 | [diff] [blame] | 292 | config RTC_DRV_MAX6902 |
| 293 | tristate "Maxim 6902" |
| 294 | depends on RTC_CLASS && SPI |
| 295 | help |
| 296 | If you say yes here you will get support for the |
| 297 | Maxim MAX6902 spi RTC chip. |
| 298 | |
| 299 | This driver can also be built as a module. If so, the module |
| 300 | will be called rtc-max6902. |
| 301 | |
Raphael Assenat | 362600f | 2006-06-25 05:48:24 -0700 | [diff] [blame] | 302 | config RTC_DRV_V3020 |
| 303 | tristate "EM Microelectronic V3020" |
| 304 | depends on RTC_CLASS |
| 305 | help |
| 306 | If you say yes here you will get support for the |
| 307 | EM Microelectronic v3020 RTC chip. |
| 308 | |
| 309 | This driver can also be built as a module. If so, the module |
| 310 | will be called rtc-v3020. |
| 311 | |
Alessandro Zummo | 0c86edc | 2006-03-27 01:16:37 -0800 | [diff] [blame] | 312 | endmenu |