Skip to contentSkip to conversation

ARM: NUC900: add RTC driver support for nuc910 and nuc920

PATCH New Wan ZongShun 1 participant 1 message Dec 1, 2009 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH v5 1/1 ARM: NUC900: add RTC driver support for nuc910 and nuc920

Dear Andrew,

Has that patch v4 been applied by you? due to I got the mail:
'+ arm-nuc900-add-rtc-driver-support-for-nuc910-and-nuc920.patch added to -mm tree'

Regarding your advice for 'check_rtc_power', I have modified some codes and thanks for your comment.

This patch named v5,and I fixed 'check_rtc_power' function, maybe I can make a patch relative to that patch v4?

---
 drivers/rtc/Kconfig      |    6 +
 drivers/rtc/Makefile     |    1 +
 drivers/rtc/rtc-nuc900.c |  342 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 349 insertions(+), 0 deletions(-)
 create mode 100644 drivers/rtc/rtc-nuc900.c
drivers/rtc/Kconfig +6 -0
index 3c20dae..266ce62 100644
@@ -573,6 +573,12 @@ config RTC_DRV_AB3100
 	  Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
 	  support. This chip contains a battery- and capacitor-backed RTC.
 
+config RTC_DRV_NUC900
+	tristate "NUC910/NUC920 RTC driver"
+	depends on RTC_CLASS && ARCH_W90X900
+	help
+	  If you say yes here you get support for the RTC subsystem of the
+	  NUC910/NUC920 used in embedded systems.
 
 comment "on-CPU RTC drivers"
 
drivers/rtc/Makefile +1 -0
index aa3fbd5..d511774 100644
@@ -53,6 +53,7 @@ obj-$(CONFIG_RTC_MXC)		+= rtc-mxc.o
 obj-$(CONFIG_RTC_DRV_MAX6900)	+= rtc-max6900.o
 obj-$(CONFIG_RTC_DRV_MAX6902)	+= rtc-max6902.o
 obj-$(CONFIG_RTC_DRV_MV)	+= rtc-mv.o
+obj-$(CONFIG_RTC_DRV_NUC900)	+= rtc-nuc900.o
 obj-$(CONFIG_RTC_DRV_OMAP)	+= rtc-omap.o
 obj-$(CONFIG_RTC_DRV_PCAP)	+= rtc-pcap.o
 obj-$(CONFIG_RTC_DRV_PCF8563)	+= rtc-pcf8563.o
drivers/rtc/rtc-nuc900.c new file +342 -0

342 lines not on this page · raw message

Signature · 1 line
1.5.6.3