Skip to contentSkip to conversation

rtc: Add RTC class driver for the Maxim MAX6900

PATCH New Dale Farnsworth 1 participant 1 message Mar 10, 2007 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: Add RTC class driver for the Maxim MAX6900

From: Dale Farnsworth <[email protected]>

---
 drivers/rtc/Kconfig       |   10 +
 drivers/rtc/Makefile      |    1 
 drivers/rtc/rtc-max6900.c |  312 ++++++++++++++++++++++++++++++++++++
 3 files changed, 323 insertions(+)
drivers/rtc/Kconfig +10 -0
Index: linux-2.6-powerpc-df/drivers/rtc/Kconfig
===================================================================
@@ -334,6 +334,16 @@ config RTC_DRV_TEST
 	  This driver can also be built as a module. If so, the module
 	  will be called rtc-test.
 
+config RTC_DRV_MAX6900
+	tristate "Maxim 6900"
+	depends on RTC_CLASS && I2C
+	help
+	  If you say yes here you will get support for the
+	  Maxim MAX6900 I2C RTC chip.
+
+	  This driver can also be built as a module. If so, the module
+	  will be called rtc-max6900.
+
 config RTC_DRV_MAX6902
 	tristate "Maxim 6902"
 	depends on RTC_CLASS && SPI
drivers/rtc/Makefile +1 -0
Index: linux-2.6-powerpc-df/drivers/rtc/Makefile
===================================================================
@@ -34,6 +34,7 @@ obj-$(CONFIG_RTC_DRV_EP93XX)	+= rtc-ep93
 obj-$(CONFIG_RTC_DRV_SA1100)	+= rtc-sa1100.o
 obj-$(CONFIG_RTC_DRV_VR41XX)	+= rtc-vr41xx.o
 obj-$(CONFIG_RTC_DRV_PL031)	+= rtc-pl031.o
+obj-$(CONFIG_RTC_DRV_MAX6900)	+= rtc-max6900.o
 obj-$(CONFIG_RTC_DRV_MAX6902)	+= rtc-max6902.o
 obj-$(CONFIG_RTC_DRV_V3020)	+= rtc-v3020.o
 obj-$(CONFIG_RTC_DRV_AT91RM9200)+= rtc-at91rm9200.o
drivers/rtc/rtc-max6900.c new file +312 -0

312 lines not on this page · raw message