Skip to contentSkip to conversation

rtc: add EM3027 rtc driver

PATCH RESEND New Mike Rapoport 1 participant 1 message Mar 28, 2011 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 rtc: add EM3027 rtc driver

Add support for EM Microelectronic EM3027 RTC chip.

---
 drivers/rtc/Kconfig      |    9 +++
 drivers/rtc/Makefile     |    1 +
 drivers/rtc/rtc-em3027.c |  161 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 171 insertions(+), 0 deletions(-)
 create mode 100644 drivers/rtc/rtc-em3027.c
drivers/rtc/Kconfig +9 -0
index 4941cad..13a6042 100644
@@ -354,6 +354,15 @@ config RTC_DRV_RX8025
 	  This driver can also be built as a module. If so, the module
 	  will be called rtc-rx8025.
 
+config RTC_DRV_EM3027
+	tristate "EM Microelectronic EM3027"
+	help
+	  If you say yes here you get support for the EM
+	  Microelectronic EM3027 RTC chips.
+
+	  This driver can also be built as a module. If so, the module
+	  will be called rtc-em3027.
+
 endif # I2C
 
 comment "SPI RTC drivers"
drivers/rtc/Makefile +1 -0
index 2afdaf3..d29723f 100644
@@ -45,6 +45,7 @@ obj-$(CONFIG_RTC_DRV_DS1742)	+= rtc-ds1742.o
 obj-$(CONFIG_RTC_DRV_DS3232)	+= rtc-ds3232.o
 obj-$(CONFIG_RTC_DRV_DS3234)	+= rtc-ds3234.o
 obj-$(CONFIG_RTC_DRV_EFI)	+= rtc-efi.o
+obj-$(CONFIG_RTC_DRV_EM3027)	+= rtc-em3027.o
 obj-$(CONFIG_RTC_DRV_EP93XX)	+= rtc-ep93xx.o
 obj-$(CONFIG_RTC_DRV_FM3130)	+= rtc-fm3130.o
 obj-$(CONFIG_RTC_DRV_GENERIC)	+= rtc-generic.o
drivers/rtc/rtc-em3027.c new file +161 -0

161 lines not on this page · raw message

Signature · 1 line
1.7.3.1