From 6ffa575eba35bddcdc405933ca8bab8023982607 Mon Sep 17 00:00:00 2001 From: swj Date: Tue, 10 Aug 2010 21:53:44 -0700 Subject: [PATCH] add rtc for raho --- arch/arm/mach-rk2818/board-raho.c | 7 +++++++ drivers/rtc/Kconfig | 10 ++++++++++ drivers/rtc/Makefile | 1 + 3 files changed, 18 insertions(+) mode change 100644 => 100755 drivers/rtc/Kconfig mode change 100644 => 100755 drivers/rtc/Makefile diff --git a/arch/arm/mach-rk2818/board-raho.c b/arch/arm/mach-rk2818/board-raho.c index 5c8aa1314587..c25f6abe2cfb 100755 --- a/arch/arm/mach-rk2818/board-raho.c +++ b/arch/arm/mach-rk2818/board-raho.c @@ -585,6 +585,13 @@ static struct i2c_board_info __initdata board_i2c1_devices[] = { .flags = 0, }, #endif +#if defined (CONFIG_RTC_DRV_S35392A) + { + .type = "rtc-s35392a", + .addr = 0x30, + .flags = 0, + }, +#endif #if defined (CONFIG_FM_QN8006) { .type = "fm_qn8006", diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig old mode 100644 new mode 100755 index eaaced736867..7e4ee792ee5c --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -304,6 +304,16 @@ config RTC_DRV_S35390A This driver can also be built as a module. If so the module will be called rtc-s35390a. +config RTC_DRV_S35392A + tristate "Seiko Instruments S-35392A" + select BITREVERSE + help + If you say yes here you will get support for the Seiko + Instruments S-35392A. + + This driver can also be built as a module. If so the module + will be called rtc-s35392a. + config RTC_DRV_FM3130 tristate "Ramtron FM3130" help diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile old mode 100644 new mode 100755 index b5963e58a7d5..a0ec07e5ab2c --- a/drivers/rtc/Makefile +++ b/drivers/rtc/Makefile @@ -72,6 +72,7 @@ obj-$(CONFIG_RTC_DRV_RS5C372) += rtc-rs5c372.o obj-$(CONFIG_RTC_DRV_RX8025) += rtc-rx8025.o obj-$(CONFIG_RTC_DRV_RX8581) += rtc-rx8581.o obj-$(CONFIG_RTC_DRV_S35390A) += rtc-s35390a.o +obj-$(CONFIG_RTC_DRV_S35392A) += rtc-s35392a.o obj-$(CONFIG_RTC_DRV_S3C) += rtc-s3c.o obj-$(CONFIG_RTC_DRV_SA1100) += rtc-sa1100.o obj-$(CONFIG_RTC_DRV_SH) += rtc-sh.o -- 2.34.1