URL
https://opencores.org/ocsvn/test_project/test_project/trunk
Subversion Repositories test_project
[/] [test_project/] [trunk/] [linux_sd_driver/] [drivers/] [rtc/] [Kconfig] - Rev 62
Compare with Previous | Blame | View Log
## RTC class/drivers configuration#config RTC_LIBtristatemenuconfig RTC_CLASStristate "Real Time Clock"default ndepends on !S390select RTC_LIBhelpGeneric RTC class support. If you say yes here, you willbe allowed to plug one or more RTCs to your system. You willprobably want to enable one or more of the interfaces below.This driver can also be built as a module. If so, the modulewill be called rtc-class.if RTC_CLASSconfig RTC_HCTOSYSbool "Set system time from RTC on startup and resume"depends on RTC_CLASS = ydefault yhelpIf you say yes here, the system time (wall clock) will be set usingthe value read from a specified RTC device. This is useful to avoidunnecessary fsck runs at boot time, and to network better.config RTC_HCTOSYS_DEVICEstring "RTC used to set the system time"depends on RTC_HCTOSYS = ydefault "rtc0"helpThe RTC device that will be used to (re)initialize the systemclock, usually rtc0. Initialization is done when the systemstarts up, and when it resumes from a low power state. Thisdevice should record time in UTC, since the kernel won't dotimezone correction.The driver for this RTC device must be loaded before late_initcallfunctions run, so it must usually be statically linked.This clock should be battery-backed, so that it reads the correcttime when the system boots from a power-off state. Otherwise, yoursystem will need an external clock source (like an NTP server).If the clock you specify here is not battery backed, it may stillbe useful to reinitialize system time when resuming from systemsleep states. Do not specify an RTC here unless it stays poweredduring all this system's supported sleep states.config RTC_DEBUGbool "RTC debug support"depends on RTC_CLASS = yhelpSay yes here to enable debugging support in the RTC frameworkand individual RTC drivers.comment "RTC interfaces"config RTC_INTF_SYSFSboolean "/sys/class/rtc/rtcN (sysfs)"depends on SYSFSdefault RTC_CLASShelpSay yes here if you want to use your RTCs using sysfs interfaces,/sys/class/rtc/rtc0 through /sys/.../rtcN.This driver can also be built as a module. If so, the modulewill be called rtc-sysfs.config RTC_INTF_PROCboolean "/proc/driver/rtc (procfs for rtc0)"depends on PROC_FSdefault RTC_CLASShelpSay yes here if you want to use your first RTC through the procinterface, /proc/driver/rtc. Other RTCs will not be availablethrough that API.This driver can also be built as a module. If so, the modulewill be called rtc-proc.config RTC_INTF_DEVboolean "/dev/rtcN (character devices)"default RTC_CLASShelpSay yes here if you want to use your RTCs using the /devinterfaces, which "udev" sets up as /dev/rtc0 through/dev/rtcN. You may want to set up a symbolic link so oneof these can be accessed as /dev/rtc, which is a nameexpected by "hwclock" and some other programs.This driver can also be built as a module. If so, the modulewill be called rtc-dev.config RTC_INTF_DEV_UIE_EMULbool "RTC UIE emulation on dev interface"depends on RTC_INTF_DEVhelpProvides an emulation for RTC_UIE if the underlying rtc chipdriver does not expose RTC_UIE ioctls. Those requests generateonce-per-second update interrupts, used for synchronization.config RTC_DRV_TESTtristate "Test driver/device"helpIf you say yes here you get support for theRTC test driver. It's a software RTC which can beused to test the RTC subsystem APIs. It getsthe time from the system clock.You want this driver only if you are doing developmenton the RTC subsystem. Please read the source codefor further details.This driver can also be built as a module. If so, the modulewill be called rtc-test.comment "I2C RTC drivers"depends on I2Cif I2Cconfig RTC_DRV_DS1307tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00"helpIf you say yes here you get support for various compatible RTCchips (often with battery backup) connected with I2C. This drivershould handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,and probably other chips. In some cases the RTC must alreadyhave been initialized (by manufacturing or a bootloader).The first seven registers on these chips hold an RTC, and otherregisters may add features such as NVRAM, a trickle charger forthe RTC/NVRAM backup power, and alarms. NVRAM is visible insysfs, but other chip features may not be available.This driver can also be built as a module. If so, the modulewill be called rtc-ds1307.config RTC_DRV_DS1374tristate "Maxim/Dallas Semiconductor DS1374 Real Time Clock"depends on RTC_CLASS && I2ChelpIf you say yes here you get support for Dallas SemiconductorDS1374 real-time clock chips. If an interrupt is associatedwith the device, the alarm functionality is supported.This driver can also be built as a module. If so, the modulewill be called rtc-ds1374.config RTC_DRV_DS1672tristate "Dallas/Maxim DS1672"helpIf you say yes here you get support for theDallas/Maxim DS1672 timekeeping chip.This driver can also be built as a module. If so, the modulewill be called rtc-ds1672.config RTC_DRV_MAX6900tristate "Maxim 6900"helpIf you say yes here you will get support for theMaxim MAX6900 I2C RTC chip.This driver can also be built as a module. If so, the modulewill be called rtc-max6900.config RTC_DRV_RS5C372tristate "Ricoh RS5C372A/B, RV5C386, RV5C387A"helpIf you say yes here you get support for theRicoh RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.This driver can also be built as a module. If so, the modulewill be called rtc-rs5c372.config RTC_DRV_ISL1208tristate "Intersil 1208"helpIf you say yes here you get support for theIntersil 1208 RTC chip.This driver can also be built as a module. If so, the modulewill be called rtc-isl1208.config RTC_DRV_X1205tristate "Xicor/Intersil X1205"helpIf you say yes here you get support for theXicor/Intersil X1205 RTC chip.This driver can also be built as a module. If so, the modulewill be called rtc-x1205.config RTC_DRV_PCF8563tristate "Philips PCF8563/Epson RTC8564"helpIf you say yes here you get support for thePhilips PCF8563 RTC chip. The Epson RTC8564should work as well.This driver can also be built as a module. If so, the modulewill be called rtc-pcf8563.config RTC_DRV_PCF8583tristate "Philips PCF8583"helpIf you say yes here you get support for the Philips PCF8583RTC chip found on Acorn RiscPCs. This driver supports theplatform specific method of retrieving the current year fromthe RTC's SRAM. It will work on other platforms with the samechip, but the year will probably have to be tweaked.This driver can also be built as a module. If so, the modulewill be called rtc-pcf8583.config RTC_DRV_M41T80tristate "ST M41T80 series RTC"helpIf you say Y here you will get support for theST M41T80 RTC chips series. Currently following chips aresupported: M41T80, M41T81, M41T82, M41T83, M41ST84, M41ST85and M41ST87.This driver can also be built as a module. If so, the modulewill be called rtc-m41t80.config RTC_DRV_M41T80_WDTbool "ST M41T80 series RTC watchdog timer"depends on RTC_DRV_M41T80helpIf you say Y here you will get support for thewatchdog timer in ST M41T80 RTC chips series.config RTC_DRV_TWL92330boolean "TI TWL92330/Menelaus"depends on MENELAUShelpIf you say yes here you get support for the RTC on theTWL92330 "Menelaus" power management chip, used with OMAP2platforms. The support is integrated with the rest ofthe Menelaus driver; it's not separate module.endif # I2Ccomment "SPI RTC drivers"if SPI_MASTERconfig RTC_DRV_RS5C348tristate "Ricoh RS5C348A/B"helpIf you say yes here you get support for theRicoh RS5C348A and RS5C348B RTC chips.This driver can also be built as a module. If so, the modulewill be called rtc-rs5c348.config RTC_DRV_MAX6902tristate "Maxim 6902"helpIf you say yes here you will get support for theMaxim MAX6902 SPI RTC chip.This driver can also be built as a module. If so, the modulewill be called rtc-max6902.endif # SPI_MASTERcomment "Platform RTC drivers"# this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h># requires <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a# global rtc_lock ... it's not yet just another platform_device.config RTC_DRV_CMOStristate "PC-style 'CMOS'"depends on X86 || ALPHA || ARM || M32R || ATARI || PPC || MIPShelpSay "yes" here to get direct support for the real time clockfound in every PC or ACPI-based system, and some other boards.Specifically the original MC146818, compatibles like those inPC south bridges, the DS12887 or M48T86, some multifunctionor LPC bus chips, and so on.Your system will need to define the platform device used bythis driver, otherwise it won't be accessible. This meansyou can safely enable this driver if you don't know whetheror not your board has this kind of hardware.This driver can also be built as a module. If so, the modulewill be called rtc-cmos.config RTC_DRV_DS1216tristate "Dallas DS1216"depends on SNI_RMhelpIf you say yes here you get support for the Dallas DS1216 RTC chips.config RTC_DRV_DS1553tristate "Dallas DS1553"helpIf you say yes here you get support for theDallas DS1553 timekeeping chip.This driver can also be built as a module. If so, the modulewill be called rtc-ds1553.config RTC_DRV_STK17TA8tristate "Simtek STK17TA8"depends on RTC_CLASShelpIf you say yes here you get support for theSimtek STK17TA8 timekeeping chip.This driver can also be built as a module. If so, the modulewill be called rtc-stk17ta8.config RTC_DRV_DS1742tristate "Dallas DS1742/1743"helpIf you say yes here you get support for theDallas DS1742/1743 timekeeping chip.This driver can also be built as a module. If so, the modulewill be called rtc-ds1742.config RTC_DRV_M48T86tristate "ST M48T86/Dallas DS12887"helpIf you say Y here you will get support for theST M48T86 and Dallas DS12887 RTC chips.This driver can also be built as a module. If so, the modulewill be called rtc-m48t86.config RTC_DRV_M48T59tristate "ST M48T59"helpIf you say Y here you will get support for theST M48T59 RTC chip.This driver can also be built as a module, if so, the modulewill be called "rtc-m48t59".config RTC_DRV_V3020tristate "EM Microelectronic V3020"helpIf you say yes here you will get support for theEM Microelectronic v3020 RTC chip.This driver can also be built as a module. If so, the modulewill be called rtc-v3020.comment "on-CPU RTC drivers"config RTC_DRV_OMAPtristate "TI OMAP1"depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730helpSay "yes" here to support the real time clock on TI OMAP1 chips.This driver can also be built as a module called rtc-omap.config RTC_DRV_S3Ctristate "Samsung S3C series SoC RTC"depends on ARCH_S3C2410helpRTC (Realtime Clock) driver for the clock inbuilt into theSamsung S3C24XX series of SoCs. This can provide periodicinterrupt rates from 1Hz to 64Hz for user programs, andwakeup from Alarm.The driver currently supports the common features on all theS3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440and S3C2442.This driver can also be build as a module. If so, the modulewill be called rtc-s3c.config RTC_DRV_EP93XXtristate "Cirrus Logic EP93XX"depends on ARCH_EP93XXhelpIf you say yes here you get support for theRTC embedded in the Cirrus Logic EP93XX processors.This driver can also be built as a module. If so, the modulewill be called rtc-ep93xx.config RTC_DRV_SA1100tristate "SA11x0/PXA2xx"depends on ARCH_SA1100 || ARCH_PXAhelpIf you say Y here you will get access to the real time clockbuilt into your SA11x0 or PXA2xx CPU.To compile this driver as a module, choose M here: themodule will be called rtc-sa1100.config RTC_DRV_SHtristate "SuperH On-Chip RTC"depends on RTC_CLASS && (CPU_SH3 || CPU_SH4)helpSay Y here to enable support for the on-chip RTC found inmost SuperH processors.To compile this driver as a module, choose M here: themodule will be called rtc-sh.config RTC_DRV_VR41XXtristate "NEC VR41XX"depends on CPU_VR41XXhelpIf you say Y here you will get access to the real time clockbuilt into your NEC VR41XX CPU.To compile this driver as a module, choose M here: themodule will be called rtc-vr41xx.config RTC_DRV_PL031tristate "ARM AMBA PL031 RTC"depends on ARM_AMBAhelpIf you say Y here you will get access to ARM AMBAPrimeCell PL031 RTC found on certain ARM SOCs.To compile this driver as a module, choose M here: themodule will be called rtc-pl031.config RTC_DRV_AT32AP700Xtristate "AT32AP700X series RTC"depends on PLATFORM_AT32APhelpDriver for the internal RTC (Realtime Clock) on Atmel AVR32AT32AP700x family processors.config RTC_DRV_AT91RM9200tristate "AT91RM9200"depends on ARCH_AT91RM9200helpDriver for the Atmel AT91RM9200's internal RTC (Realtime Clock).config RTC_DRV_BFINtristate "Blackfin On-Chip RTC"depends on BLACKFINhelpIf you say yes here you will get support for theBlackfin On-Chip Real Time Clock.This driver can also be built as a module. If so, the modulewill be called rtc-bfin.config RTC_DRV_RS5C313tristate "Ricoh RS5C313"depends on SH_LANDISKhelpIf you say yes here you get support for the Ricoh RS5C313 RTC chips.endif # RTC_CLASS
