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 124edf1aaa3SAlessandro Zummoconfig RTC_DRV_DS1672 125edf1aaa3SAlessandro Zummo tristate "Dallas/Maxim DS1672" 126edf1aaa3SAlessandro Zummo depends on RTC_CLASS && I2C 127edf1aaa3SAlessandro Zummo help 128edf1aaa3SAlessandro Zummo If you say yes here you get support for the 129edf1aaa3SAlessandro Zummo Dallas/Maxim DS1672 timekeeping chip. 130edf1aaa3SAlessandro Zummo 131edf1aaa3SAlessandro Zummo This driver can also be built as a module. If so, the module 132edf1aaa3SAlessandro Zummo will be called rtc-ds1672. 133edf1aaa3SAlessandro Zummo 1345ec3e4b7SAtsushi Nemotoconfig RTC_DRV_DS1742 1355ec3e4b7SAtsushi Nemoto tristate "Dallas DS1742" 1365ec3e4b7SAtsushi Nemoto depends on RTC_CLASS 1375ec3e4b7SAtsushi Nemoto help 1385ec3e4b7SAtsushi Nemoto If you say yes here you get support for the 1395ec3e4b7SAtsushi Nemoto Dallas DS1742 timekeeping chip. 1405ec3e4b7SAtsushi Nemoto 1415ec3e4b7SAtsushi Nemoto This driver can also be built as a module. If so, the module 1425ec3e4b7SAtsushi Nemoto will be called rtc-ds1742. 1435ec3e4b7SAtsushi Nemoto 144b5a82d62SAlessandro Zummoconfig RTC_DRV_PCF8563 145b5a82d62SAlessandro Zummo tristate "Philips PCF8563/Epson RTC8564" 146b5a82d62SAlessandro Zummo depends on RTC_CLASS && I2C 147b5a82d62SAlessandro Zummo help 148b5a82d62SAlessandro Zummo If you say yes here you get support for the 149b5a82d62SAlessandro Zummo Philips PCF8563 RTC chip. The Epson RTC8564 150b5a82d62SAlessandro Zummo should work as well. 151b5a82d62SAlessandro Zummo 152b5a82d62SAlessandro Zummo This driver can also be built as a module. If so, the module 153b5a82d62SAlessandro Zummo will be called rtc-pcf8563. 154b5a82d62SAlessandro Zummo 1559c0c5705SG. Liakhovetskiconfig RTC_DRV_PCF8583 1569c0c5705SG. Liakhovetski tristate "Philips PCF8583" 1579c0c5705SG. Liakhovetski depends on RTC_CLASS && I2C 1589c0c5705SG. Liakhovetski help 1599c0c5705SG. Liakhovetski If you say yes here you get support for the 1609c0c5705SG. Liakhovetski Philips PCF8583 RTC chip. 1619c0c5705SG. Liakhovetski 1629c0c5705SG. Liakhovetski This driver can also be built as a module. If so, the module 1639c0c5705SG. Liakhovetski will be called rtc-pcf8583. 1649c0c5705SG. Liakhovetski 165e0ac4761SAtsushi Nemotoconfig RTC_DRV_RS5C348 166e0ac4761SAtsushi Nemoto tristate "Ricoh RS5C348A/B" 167e0ac4761SAtsushi Nemoto depends on RTC_CLASS && SPI 168e0ac4761SAtsushi Nemoto help 169e0ac4761SAtsushi Nemoto If you say yes here you get support for the 170e0ac4761SAtsushi Nemoto Ricoh RS5C348A and RS5C348B RTC chips. 171e0ac4761SAtsushi Nemoto 172e0ac4761SAtsushi Nemoto This driver can also be built as a module. If so, the module 173e0ac4761SAtsushi Nemoto will be called rtc-rs5c348. 174e0ac4761SAtsushi Nemoto 1757520b94dSAlessandro Zummoconfig RTC_DRV_RS5C372 1767520b94dSAlessandro Zummo tristate "Ricoh RS5C372A/B" 1777520b94dSAlessandro Zummo depends on RTC_CLASS && I2C 1787520b94dSAlessandro Zummo help 1797520b94dSAlessandro Zummo If you say yes here you get support for the 1807520b94dSAlessandro Zummo Ricoh RS5C372A and RS5C372B RTC chips. 1817520b94dSAlessandro Zummo 1827520b94dSAlessandro Zummo This driver can also be built as a module. If so, the module 1837520b94dSAlessandro Zummo will be called rtc-rs5c372. 1847520b94dSAlessandro Zummo 185*1add6781SBen Dooksconfig RTC_DRV_S3C 186*1add6781SBen Dooks tristate "Samsung S3C series SoC RTC" 187*1add6781SBen Dooks depends on RTC_CLASS && ARCH_S3C2410 188*1add6781SBen Dooks help 189*1add6781SBen Dooks RTC (Realtime Clock) driver for the clock inbuilt into the 190*1add6781SBen Dooks Samsung S3C24XX series of SoCs. This can provide periodic 191*1add6781SBen Dooks interrupt rates from 1Hz to 64Hz for user programs, and 192*1add6781SBen Dooks wakeup from Alarm. 193*1add6781SBen Dooks 194*1add6781SBen Dooks The driver currently supports the common features on all the 195*1add6781SBen Dooks S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440 196*1add6781SBen Dooks and S3C2442. 197*1add6781SBen Dooks 198*1add6781SBen Dooks This driver can also be build as a module. If so, the module 199*1add6781SBen Dooks will be called rtc-s3c. 200*1add6781SBen Dooks 2011d98af87SAlessandro Zummoconfig RTC_DRV_M48T86 2021d98af87SAlessandro Zummo tristate "ST M48T86/Dallas DS12887" 2031d98af87SAlessandro Zummo depends on RTC_CLASS 2041d98af87SAlessandro Zummo help 2051d98af87SAlessandro Zummo If you say Y here you will get support for the 2061d98af87SAlessandro Zummo ST M48T86 and Dallas DS12887 RTC chips. 2071d98af87SAlessandro Zummo 2081d98af87SAlessandro Zummo This driver can also be built as a module. If so, the module 2091d98af87SAlessandro Zummo will be called rtc-m48t86. 2101d98af87SAlessandro Zummo 211fd507e2fSAlessandro Zummoconfig RTC_DRV_EP93XX 212fd507e2fSAlessandro Zummo tristate "Cirrus Logic EP93XX" 213fd507e2fSAlessandro Zummo depends on RTC_CLASS && ARCH_EP93XX 214fd507e2fSAlessandro Zummo help 215fd507e2fSAlessandro Zummo If you say yes here you get support for the 216fd507e2fSAlessandro Zummo RTC embedded in the Cirrus Logic EP93XX processors. 217fd507e2fSAlessandro Zummo 218fd507e2fSAlessandro Zummo This driver can also be built as a module. If so, the module 219fd507e2fSAlessandro Zummo will be called rtc-ep93xx. 220fd507e2fSAlessandro Zummo 221e842f1c8SRichard Purdieconfig RTC_DRV_SA1100 222e842f1c8SRichard Purdie tristate "SA11x0/PXA2xx" 223e842f1c8SRichard Purdie depends on RTC_CLASS && (ARCH_SA1100 || ARCH_PXA) 224e842f1c8SRichard Purdie help 225e842f1c8SRichard Purdie If you say Y here you will get access to the real time clock 226e842f1c8SRichard Purdie built into your SA11x0 or PXA2xx CPU. 227e842f1c8SRichard Purdie 228e842f1c8SRichard Purdie To compile this driver as a module, choose M here: the 229e842f1c8SRichard Purdie module will be called rtc-sa1100. 230fd507e2fSAlessandro Zummo 2318417eb7aSYoichi Yuasaconfig RTC_DRV_VR41XX 2323e16f6afSAlessandro Zummo tristate "NEC VR41XX" 2338417eb7aSYoichi Yuasa depends on RTC_CLASS && CPU_VR41XX 2343e16f6afSAlessandro Zummo help 2353e16f6afSAlessandro Zummo If you say Y here you will get access to the real time clock 2363e16f6afSAlessandro Zummo built into your NEC VR41XX CPU. 2373e16f6afSAlessandro Zummo 2383e16f6afSAlessandro Zummo To compile this driver as a module, choose M here: the 2393e16f6afSAlessandro Zummo module will be called rtc-vr41xx. 2408417eb7aSYoichi Yuasa 2418ae6e163SDeepak Saxenaconfig RTC_DRV_PL031 2428ae6e163SDeepak Saxena tristate "ARM AMBA PL031 RTC" 2438ae6e163SDeepak Saxena depends on RTC_CLASS && ARM_AMBA 2448ae6e163SDeepak Saxena help 2458ae6e163SDeepak Saxena If you say Y here you will get access to ARM AMBA 2468ae6e163SDeepak Saxena PrimeCell PL031 UART found on certain ARM SOCs. 2478ae6e163SDeepak Saxena 2488ae6e163SDeepak Saxena To compile this driver as a module, choose M here: the 2498ae6e163SDeepak Saxena module will be called rtc-pl031. 2508ae6e163SDeepak Saxena 251788b1fc6SAndrew Victorconfig RTC_DRV_AT91 252788b1fc6SAndrew Victor tristate "AT91RM9200" 253788b1fc6SAndrew Victor depends on RTC_CLASS && ARCH_AT91RM9200 254788b1fc6SAndrew Victor help 255788b1fc6SAndrew Victor Driver for the Atmel AT91RM9200's internal RTC (Realtime Clock). 256788b1fc6SAndrew Victor 257a95579cdSAlessandro Zummoconfig RTC_DRV_TEST 258a95579cdSAlessandro Zummo tristate "Test driver/device" 259a95579cdSAlessandro Zummo depends on RTC_CLASS 260a95579cdSAlessandro Zummo help 261a95579cdSAlessandro Zummo If you say yes here you get support for the 262a95579cdSAlessandro Zummo RTC test driver. It's a software RTC which can be 263a95579cdSAlessandro Zummo used to test the RTC subsystem APIs. It gets 264a95579cdSAlessandro Zummo the time from the system clock. 265a95579cdSAlessandro Zummo You want this driver only if you are doing development 266a95579cdSAlessandro Zummo on the RTC subsystem. Please read the source code 267a95579cdSAlessandro Zummo for further details. 268a95579cdSAlessandro Zummo 269a95579cdSAlessandro Zummo This driver can also be built as a module. If so, the module 270a95579cdSAlessandro Zummo will be called rtc-test. 271a95579cdSAlessandro Zummo 2728e12ecc2SRaphael Assenatconfig RTC_DRV_MAX6902 2738e12ecc2SRaphael Assenat tristate "Maxim 6902" 2748e12ecc2SRaphael Assenat depends on RTC_CLASS && SPI 2758e12ecc2SRaphael Assenat help 2768e12ecc2SRaphael Assenat If you say yes here you will get support for the 2778e12ecc2SRaphael Assenat Maxim MAX6902 spi RTC chip. 2788e12ecc2SRaphael Assenat 2798e12ecc2SRaphael Assenat This driver can also be built as a module. If so, the module 2808e12ecc2SRaphael Assenat will be called rtc-max6902. 2818e12ecc2SRaphael Assenat 282362600feSRaphael Assenatconfig RTC_DRV_V3020 283362600feSRaphael Assenat tristate "EM Microelectronic V3020" 284362600feSRaphael Assenat depends on RTC_CLASS 285362600feSRaphael Assenat help 286362600feSRaphael Assenat If you say yes here you will get support for the 287362600feSRaphael Assenat EM Microelectronic v3020 RTC chip. 288362600feSRaphael Assenat 289362600feSRaphael Assenat This driver can also be built as a module. If so, the module 290362600feSRaphael Assenat will be called rtc-v3020. 291362600feSRaphael Assenat 2920c86edc0SAlessandro Zummoendmenu 293