10c86edc0SAlessandro Zummo\# 2c58411e9SAlessandro Zummo# RTC class/drivers configuration 3c58411e9SAlessandro Zummo# 4c58411e9SAlessandro Zummo 50c86edc0SAlessandro Zummomenu "Real Time Clock" 60c86edc0SAlessandro Zummo 7c58411e9SAlessandro Zummoconfig RTC_LIB 8c58411e9SAlessandro Zummo tristate 90c86edc0SAlessandro Zummo 100c86edc0SAlessandro Zummoconfig RTC_CLASS 110c86edc0SAlessandro Zummo tristate "RTC class" 120c86edc0SAlessandro Zummo depends on EXPERIMENTAL 130c86edc0SAlessandro Zummo default n 140c86edc0SAlessandro Zummo select RTC_LIB 150c86edc0SAlessandro Zummo help 160c86edc0SAlessandro Zummo Generic RTC class support. If you say yes here, you will 170c86edc0SAlessandro Zummo be allowed to plug one or more RTCs to your system. You will 1827ae4104SAdrian Bunk probably want to enable one or more of the interfaces below. 190c86edc0SAlessandro Zummo 200c86edc0SAlessandro Zummo This driver can also be built as a module. If so, the module 210c86edc0SAlessandro Zummo will be called rtc-class. 220c86edc0SAlessandro Zummo 230c86edc0SAlessandro Zummoconfig RTC_HCTOSYS 240c86edc0SAlessandro Zummo bool "Set system time from RTC on startup" 250c86edc0SAlessandro Zummo depends on RTC_CLASS = y 260c86edc0SAlessandro Zummo default y 270c86edc0SAlessandro Zummo help 280c86edc0SAlessandro Zummo If you say yes here, the system time will be set using 290c86edc0SAlessandro Zummo the value read from the specified RTC device. This is useful 300c86edc0SAlessandro Zummo in order to avoid unnecessary fschk runs. 310c86edc0SAlessandro Zummo 320c86edc0SAlessandro Zummoconfig RTC_HCTOSYS_DEVICE 330c86edc0SAlessandro Zummo string "The RTC to read the time from" 340c86edc0SAlessandro Zummo depends on RTC_HCTOSYS = y 350c86edc0SAlessandro Zummo default "rtc0" 360c86edc0SAlessandro Zummo help 370c86edc0SAlessandro Zummo The RTC device that will be used as the source for 380c86edc0SAlessandro Zummo the system time, usually rtc0. 390c86edc0SAlessandro Zummo 400c86edc0SAlessandro Zummocomment "RTC interfaces" 410c86edc0SAlessandro Zummo depends on RTC_CLASS 420c86edc0SAlessandro Zummo 43c5c3e192SAlessandro Zummoconfig RTC_INTF_SYSFS 44c5c3e192SAlessandro Zummo tristate "sysfs" 45c5c3e192SAlessandro Zummo depends on RTC_CLASS && SYSFS 46c5c3e192SAlessandro Zummo default RTC_CLASS 47c5c3e192SAlessandro Zummo help 48c5c3e192SAlessandro Zummo Say yes here if you want to use your RTC using the sysfs 49c5c3e192SAlessandro Zummo interface, /sys/class/rtc/rtcX . 50c5c3e192SAlessandro Zummo 51c5c3e192SAlessandro Zummo This driver can also be built as a module. If so, the module 52c5c3e192SAlessandro Zummo will be called rtc-sysfs. 53c5c3e192SAlessandro Zummo 54728a2947SAlessandro Zummoconfig RTC_INTF_PROC 55728a2947SAlessandro Zummo tristate "proc" 56728a2947SAlessandro Zummo depends on RTC_CLASS && PROC_FS 57728a2947SAlessandro Zummo default RTC_CLASS 58728a2947SAlessandro Zummo help 59728a2947SAlessandro Zummo Say yes here if you want to use your RTC using the proc 60728a2947SAlessandro Zummo interface, /proc/driver/rtc . 61728a2947SAlessandro Zummo 62728a2947SAlessandro Zummo This driver can also be built as a module. If so, the module 63728a2947SAlessandro Zummo will be called rtc-proc. 64728a2947SAlessandro Zummo 65e824290eSAlessandro Zummoconfig RTC_INTF_DEV 66e824290eSAlessandro Zummo tristate "dev" 67e824290eSAlessandro Zummo depends on RTC_CLASS 68e824290eSAlessandro Zummo default RTC_CLASS 69e824290eSAlessandro Zummo help 70e824290eSAlessandro Zummo Say yes here if you want to use your RTC using the dev 71e824290eSAlessandro Zummo interface, /dev/rtc . 72e824290eSAlessandro Zummo 73e824290eSAlessandro Zummo This driver can also be built as a module. If so, the module 74e824290eSAlessandro Zummo will be called rtc-dev. 75e824290eSAlessandro Zummo 76655066c3SAtsushi Nemotoconfig RTC_INTF_DEV_UIE_EMUL 77655066c3SAtsushi Nemoto bool "RTC UIE emulation on dev interface" 78655066c3SAtsushi Nemoto depends on RTC_INTF_DEV 79655066c3SAtsushi Nemoto help 80655066c3SAtsushi Nemoto Provides an emulation for RTC_UIE if the underlaying rtc chip 81655066c3SAtsushi Nemoto driver did not provide RTC_UIE ioctls. 82655066c3SAtsushi Nemoto 830c86edc0SAlessandro Zummocomment "RTC drivers" 840c86edc0SAlessandro Zummo depends on RTC_CLASS 850c86edc0SAlessandro Zummo 861fec7c66SAlessandro Zummoconfig RTC_DRV_X1205 871fec7c66SAlessandro Zummo tristate "Xicor/Intersil X1205" 881fec7c66SAlessandro Zummo depends on RTC_CLASS && I2C 891fec7c66SAlessandro Zummo help 901fec7c66SAlessandro Zummo If you say yes here you get support for the 911fec7c66SAlessandro Zummo Xicor/Intersil X1205 RTC chip. 921fec7c66SAlessandro Zummo 931fec7c66SAlessandro Zummo This driver can also be built as a module. If so, the module 941fec7c66SAlessandro Zummo will be called rtc-x1205. 951fec7c66SAlessandro Zummo 961abb0dc9SDavid Brownellconfig RTC_DRV_DS1307 971abb0dc9SDavid Brownell tristate "Dallas/Maxim DS1307 and similar I2C RTC chips" 981abb0dc9SDavid Brownell depends on RTC_CLASS && I2C 991abb0dc9SDavid Brownell help 1001abb0dc9SDavid Brownell If you say yes here you get support for various compatible RTC 1011abb0dc9SDavid Brownell chips (often with battery backup) connected with I2C. This driver 1021abb0dc9SDavid Brownell should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00, 1031abb0dc9SDavid Brownell and probably other chips. In some cases the RTC must already 1041abb0dc9SDavid Brownell have been initialized (by manufacturing or a bootloader). 1051abb0dc9SDavid Brownell 1061abb0dc9SDavid Brownell The first seven registers on these chips hold an RTC, and other 1071abb0dc9SDavid Brownell registers may add features such as NVRAM, a trickle charger for 1081abb0dc9SDavid Brownell the RTC/NVRAM backup power, and alarms. This driver may not 1091abb0dc9SDavid Brownell expose all those available chip features. 1101abb0dc9SDavid Brownell 1111abb0dc9SDavid Brownell This driver can also be built as a module. If so, the module 1121abb0dc9SDavid Brownell will be called rtc-ds1307. 1131abb0dc9SDavid Brownell 1149bf5b4f5SAtsushi Nemotoconfig RTC_DRV_DS1553 1159bf5b4f5SAtsushi Nemoto tristate "Dallas DS1553" 1169bf5b4f5SAtsushi Nemoto depends on RTC_CLASS 1179bf5b4f5SAtsushi Nemoto help 1189bf5b4f5SAtsushi Nemoto If you say yes here you get support for the 1199bf5b4f5SAtsushi Nemoto Dallas DS1553 timekeeping chip. 1209bf5b4f5SAtsushi Nemoto 1219bf5b4f5SAtsushi Nemoto This driver can also be built as a module. If so, the module 1229bf5b4f5SAtsushi Nemoto will be called rtc-ds1553. 1239bf5b4f5SAtsushi Nemoto 1247e56a7dcSHerbert Valerio Riedelconfig RTC_DRV_ISL1208 1257e56a7dcSHerbert Valerio Riedel tristate "Intersil 1208" 1267e56a7dcSHerbert Valerio Riedel depends on RTC_CLASS && I2C 1277e56a7dcSHerbert Valerio Riedel help 1287e56a7dcSHerbert Valerio Riedel If you say yes here you get support for the 1297e56a7dcSHerbert Valerio Riedel Intersil 1208 RTC chip. 1307e56a7dcSHerbert Valerio Riedel 1317e56a7dcSHerbert Valerio Riedel This driver can also be built as a module. If so, the module 1327e56a7dcSHerbert Valerio Riedel will be called rtc-isl1208. 1337e56a7dcSHerbert Valerio Riedel 134edf1aaa3SAlessandro Zummoconfig RTC_DRV_DS1672 135edf1aaa3SAlessandro Zummo tristate "Dallas/Maxim DS1672" 136edf1aaa3SAlessandro Zummo depends on RTC_CLASS && I2C 137edf1aaa3SAlessandro Zummo help 138edf1aaa3SAlessandro Zummo If you say yes here you get support for the 139edf1aaa3SAlessandro Zummo Dallas/Maxim DS1672 timekeeping chip. 140edf1aaa3SAlessandro Zummo 141edf1aaa3SAlessandro Zummo This driver can also be built as a module. If so, the module 142edf1aaa3SAlessandro Zummo will be called rtc-ds1672. 143edf1aaa3SAlessandro Zummo 1445ec3e4b7SAtsushi Nemotoconfig RTC_DRV_DS1742 1455ec3e4b7SAtsushi Nemoto tristate "Dallas DS1742" 1465ec3e4b7SAtsushi Nemoto depends on RTC_CLASS 1475ec3e4b7SAtsushi Nemoto help 1485ec3e4b7SAtsushi Nemoto If you say yes here you get support for the 1495ec3e4b7SAtsushi Nemoto Dallas DS1742 timekeeping chip. 1505ec3e4b7SAtsushi Nemoto 1515ec3e4b7SAtsushi Nemoto This driver can also be built as a module. If so, the module 1525ec3e4b7SAtsushi Nemoto will be called rtc-ds1742. 1535ec3e4b7SAtsushi Nemoto 154b5a82d62SAlessandro Zummoconfig RTC_DRV_PCF8563 155b5a82d62SAlessandro Zummo tristate "Philips PCF8563/Epson RTC8564" 156b5a82d62SAlessandro Zummo depends on RTC_CLASS && I2C 157b5a82d62SAlessandro Zummo help 158b5a82d62SAlessandro Zummo If you say yes here you get support for the 159b5a82d62SAlessandro Zummo Philips PCF8563 RTC chip. The Epson RTC8564 160b5a82d62SAlessandro Zummo should work as well. 161b5a82d62SAlessandro Zummo 162b5a82d62SAlessandro Zummo This driver can also be built as a module. If so, the module 163b5a82d62SAlessandro Zummo will be called rtc-pcf8563. 164b5a82d62SAlessandro Zummo 1659c0c5705SG. Liakhovetskiconfig RTC_DRV_PCF8583 1669c0c5705SG. Liakhovetski tristate "Philips PCF8583" 1679c0c5705SG. Liakhovetski depends on RTC_CLASS && I2C 1689c0c5705SG. Liakhovetski help 1699c0c5705SG. Liakhovetski If you say yes here you get support for the 1709c0c5705SG. Liakhovetski Philips PCF8583 RTC chip. 1719c0c5705SG. Liakhovetski 1729c0c5705SG. Liakhovetski This driver can also be built as a module. If so, the module 1739c0c5705SG. Liakhovetski will be called rtc-pcf8583. 1749c0c5705SG. Liakhovetski 175e0ac4761SAtsushi Nemotoconfig RTC_DRV_RS5C348 176e0ac4761SAtsushi Nemoto tristate "Ricoh RS5C348A/B" 177e0ac4761SAtsushi Nemoto depends on RTC_CLASS && SPI 178e0ac4761SAtsushi Nemoto help 179e0ac4761SAtsushi Nemoto If you say yes here you get support for the 180e0ac4761SAtsushi Nemoto Ricoh RS5C348A and RS5C348B RTC chips. 181e0ac4761SAtsushi Nemoto 182e0ac4761SAtsushi Nemoto This driver can also be built as a module. If so, the module 183e0ac4761SAtsushi Nemoto will be called rtc-rs5c348. 184e0ac4761SAtsushi Nemoto 1857520b94dSAlessandro Zummoconfig RTC_DRV_RS5C372 1867520b94dSAlessandro Zummo tristate "Ricoh RS5C372A/B" 1877520b94dSAlessandro Zummo depends on RTC_CLASS && I2C 1887520b94dSAlessandro Zummo help 1897520b94dSAlessandro Zummo If you say yes here you get support for the 1907520b94dSAlessandro Zummo Ricoh RS5C372A and RS5C372B RTC chips. 1917520b94dSAlessandro Zummo 1927520b94dSAlessandro Zummo This driver can also be built as a module. If so, the module 1937520b94dSAlessandro Zummo will be called rtc-rs5c372. 1947520b94dSAlessandro Zummo 1951add6781SBen Dooksconfig RTC_DRV_S3C 1961add6781SBen Dooks tristate "Samsung S3C series SoC RTC" 1971add6781SBen Dooks depends on RTC_CLASS && ARCH_S3C2410 1981add6781SBen Dooks help 1991add6781SBen Dooks RTC (Realtime Clock) driver for the clock inbuilt into the 2001add6781SBen Dooks Samsung S3C24XX series of SoCs. This can provide periodic 2011add6781SBen Dooks interrupt rates from 1Hz to 64Hz for user programs, and 2021add6781SBen Dooks wakeup from Alarm. 2031add6781SBen Dooks 2041add6781SBen Dooks The driver currently supports the common features on all the 2051add6781SBen Dooks S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440 2061add6781SBen Dooks and S3C2442. 2071add6781SBen Dooks 2081add6781SBen Dooks This driver can also be build as a module. If so, the module 2091add6781SBen Dooks will be called rtc-s3c. 2101add6781SBen Dooks 2111d98af87SAlessandro Zummoconfig RTC_DRV_M48T86 2121d98af87SAlessandro Zummo tristate "ST M48T86/Dallas DS12887" 2131d98af87SAlessandro Zummo depends on RTC_CLASS 2141d98af87SAlessandro Zummo help 2151d98af87SAlessandro Zummo If you say Y here you will get support for the 2161d98af87SAlessandro Zummo ST M48T86 and Dallas DS12887 RTC chips. 2171d98af87SAlessandro Zummo 2181d98af87SAlessandro Zummo This driver can also be built as a module. If so, the module 2191d98af87SAlessandro Zummo will be called rtc-m48t86. 2201d98af87SAlessandro Zummo 221fd507e2fSAlessandro Zummoconfig RTC_DRV_EP93XX 222fd507e2fSAlessandro Zummo tristate "Cirrus Logic EP93XX" 223fd507e2fSAlessandro Zummo depends on RTC_CLASS && ARCH_EP93XX 224fd507e2fSAlessandro Zummo help 225fd507e2fSAlessandro Zummo If you say yes here you get support for the 226fd507e2fSAlessandro Zummo RTC embedded in the Cirrus Logic EP93XX processors. 227fd507e2fSAlessandro Zummo 228fd507e2fSAlessandro Zummo This driver can also be built as a module. If so, the module 229fd507e2fSAlessandro Zummo will be called rtc-ep93xx. 230fd507e2fSAlessandro Zummo 231e842f1c8SRichard Purdieconfig RTC_DRV_SA1100 232e842f1c8SRichard Purdie tristate "SA11x0/PXA2xx" 233e842f1c8SRichard Purdie depends on RTC_CLASS && (ARCH_SA1100 || ARCH_PXA) 234e842f1c8SRichard Purdie help 235e842f1c8SRichard Purdie If you say Y here you will get access to the real time clock 236e842f1c8SRichard Purdie built into your SA11x0 or PXA2xx CPU. 237e842f1c8SRichard Purdie 238e842f1c8SRichard Purdie To compile this driver as a module, choose M here: the 239e842f1c8SRichard Purdie module will be called rtc-sa1100. 240fd507e2fSAlessandro Zummo 241*317a6104SPaul Mundtconfig RTC_DRV_SH 242*317a6104SPaul Mundt tristate "SuperH On-Chip RTC" 243*317a6104SPaul Mundt depends on RTC_CLASS && SUPERH 244*317a6104SPaul Mundt help 245*317a6104SPaul Mundt Say Y here to enable support for the on-chip RTC found in 246*317a6104SPaul Mundt most SuperH processors. 247*317a6104SPaul Mundt 248*317a6104SPaul Mundt To compile this driver as a module, choose M here: the 249*317a6104SPaul Mundt module will be called rtc-sh. 250*317a6104SPaul Mundt 2518417eb7aSYoichi Yuasaconfig RTC_DRV_VR41XX 2523e16f6afSAlessandro Zummo tristate "NEC VR41XX" 2538417eb7aSYoichi Yuasa depends on RTC_CLASS && CPU_VR41XX 2543e16f6afSAlessandro Zummo help 2553e16f6afSAlessandro Zummo If you say Y here you will get access to the real time clock 2563e16f6afSAlessandro Zummo built into your NEC VR41XX CPU. 2573e16f6afSAlessandro Zummo 2583e16f6afSAlessandro Zummo To compile this driver as a module, choose M here: the 2593e16f6afSAlessandro Zummo module will be called rtc-vr41xx. 2608417eb7aSYoichi Yuasa 2618ae6e163SDeepak Saxenaconfig RTC_DRV_PL031 2628ae6e163SDeepak Saxena tristate "ARM AMBA PL031 RTC" 2638ae6e163SDeepak Saxena depends on RTC_CLASS && ARM_AMBA 2648ae6e163SDeepak Saxena help 2658ae6e163SDeepak Saxena If you say Y here you will get access to ARM AMBA 2668ae6e163SDeepak Saxena PrimeCell PL031 UART found on certain ARM SOCs. 2678ae6e163SDeepak Saxena 2688ae6e163SDeepak Saxena To compile this driver as a module, choose M here: the 2698ae6e163SDeepak Saxena module will be called rtc-pl031. 2708ae6e163SDeepak Saxena 271788b1fc6SAndrew Victorconfig RTC_DRV_AT91 272788b1fc6SAndrew Victor tristate "AT91RM9200" 273788b1fc6SAndrew Victor depends on RTC_CLASS && ARCH_AT91RM9200 274788b1fc6SAndrew Victor help 275788b1fc6SAndrew Victor Driver for the Atmel AT91RM9200's internal RTC (Realtime Clock). 276788b1fc6SAndrew Victor 277a95579cdSAlessandro Zummoconfig RTC_DRV_TEST 278a95579cdSAlessandro Zummo tristate "Test driver/device" 279a95579cdSAlessandro Zummo depends on RTC_CLASS 280a95579cdSAlessandro Zummo help 281a95579cdSAlessandro Zummo If you say yes here you get support for the 282a95579cdSAlessandro Zummo RTC test driver. It's a software RTC which can be 283a95579cdSAlessandro Zummo used to test the RTC subsystem APIs. It gets 284a95579cdSAlessandro Zummo the time from the system clock. 285a95579cdSAlessandro Zummo You want this driver only if you are doing development 286a95579cdSAlessandro Zummo on the RTC subsystem. Please read the source code 287a95579cdSAlessandro Zummo for further details. 288a95579cdSAlessandro Zummo 289a95579cdSAlessandro Zummo This driver can also be built as a module. If so, the module 290a95579cdSAlessandro Zummo will be called rtc-test. 291a95579cdSAlessandro Zummo 2928e12ecc2SRaphael Assenatconfig RTC_DRV_MAX6902 2938e12ecc2SRaphael Assenat tristate "Maxim 6902" 2948e12ecc2SRaphael Assenat depends on RTC_CLASS && SPI 2958e12ecc2SRaphael Assenat help 2968e12ecc2SRaphael Assenat If you say yes here you will get support for the 2978e12ecc2SRaphael Assenat Maxim MAX6902 spi RTC chip. 2988e12ecc2SRaphael Assenat 2998e12ecc2SRaphael Assenat This driver can also be built as a module. If so, the module 3008e12ecc2SRaphael Assenat will be called rtc-max6902. 3018e12ecc2SRaphael Assenat 302362600feSRaphael Assenatconfig RTC_DRV_V3020 303362600feSRaphael Assenat tristate "EM Microelectronic V3020" 304362600feSRaphael Assenat depends on RTC_CLASS 305362600feSRaphael Assenat help 306362600feSRaphael Assenat If you say yes here you will get support for the 307362600feSRaphael Assenat EM Microelectronic v3020 RTC chip. 308362600feSRaphael Assenat 309362600feSRaphael Assenat This driver can also be built as a module. If so, the module 310362600feSRaphael Assenat will be called rtc-v3020. 311362600feSRaphael Assenat 3120c86edc0SAlessandro Zummoendmenu 313