46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
#
|
|
# RTC class/drivers configuration
|
|
#
|
|
|
|
config RTC_LIB
|
|
bool
|
|
select GREGORIAN_CALENDER
|
|
|
|
menuconfig RTC_CLASS
|
|
bool "Real Time Clock"
|
|
default n
|
|
select RTC_LIB
|
|
help
|
|
Generic RTC class support. If you say yes here, you will
|
|
be allowed to plug one or more RTCs to your system. You will
|
|
probably want to enable one or more of the interfaces below.
|
|
|
|
if RTC_CLASS
|
|
|
|
comment "I2C RTC drivers"
|
|
depends on I2C
|
|
|
|
if I2C
|
|
|
|
config RTC_DRV_DS1307
|
|
tristate "Dallas/Maxim DS1307/38"
|
|
help
|
|
If you say yes here you get support for various compatible RTC
|
|
chips (often with battery backup) connected with I2C. This driver
|
|
should handle DS1307, DS1338 and probably other chips.
|
|
|
|
The first seven registers on these chips hold an RTC, and other
|
|
registers may add features such as NVRAM, a trickle charger for
|
|
the RTC/NVRAM backup power, and alarms.
|
|
|
|
endif # I2C
|
|
|
|
config RTC_DRV_JZ4740
|
|
tristate "Ingenic JZ4740 RTC"
|
|
depends on MACH_MIPS_XBURST
|
|
help
|
|
If you say yes here you get support for the Ingenic JZ4740 SoC RTC
|
|
controller.
|
|
|
|
endif # RTC_CLASS
|