Skip to contentSkip to conversation

RTC subsystem, Add ISL1208 support

RFC PATCH New Herbert Valerio Riedel 1 participant 1 message Jun 25, 2006 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 RTC subsystem, Add ISL1208 support

This patch adds support for the I2C-attached Intersil ISL1208 RTC chip.

---

 drivers/rtc/Kconfig       |   10 +
 drivers/rtc/Makefile      |    1 
 include/linux/i2c-id.h    |    1 
 drivers/rtc/rtc-isl1208.c |  556 +++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 568 insertions(+), 0 deletions(-)

create drivers/rtc/rtc-isl1208.c

drivers/rtc/Kconfig +10 -0
Index: b/drivers/rtc/Kconfig
===================================================================
@@ -86,6 +86,16 @@
 	  This driver can also be built as a module. If so, the module
 	  will be called rtc-x1205.
 
+config RTC_DRV_ISL1208
+	tristate "Intersil 1208"
+	depends on RTC_CLASS && I2C
+	help
+	  If you say yes here you get support for the
+	  Intersil 1208 RTC chip.
+
+	  This driver can also be built as a module. If so, the module
+	  will be called rtc-isl1208.
+
 config RTC_DRV_DS1672
 	tristate "Dallas/Maxim DS1672"
 	depends on RTC_CLASS && I2C
drivers/rtc/Makefile +1 -0
Index: b/drivers/rtc/Makefile
===================================================================
@@ -12,6 +12,7 @@
 obj-$(CONFIG_RTC_INTF_DEV)	+= rtc-dev.o
 
 obj-$(CONFIG_RTC_DRV_X1205)	+= rtc-x1205.o
+obj-$(CONFIG_RTC_DRV_ISL1208)	+= rtc-isl1208.o
 obj-$(CONFIG_RTC_DRV_TEST)	+= rtc-test.o
 obj-$(CONFIG_RTC_DRV_DS1672)	+= rtc-ds1672.o
 obj-$(CONFIG_RTC_DRV_PCF8563)	+= rtc-pcf8563.o
include/linux/i2c-id.h +1 -0
Index: b/include/linux/i2c-id.h
===================================================================
@@ -112,6 +112,7 @@
 #define I2C_DRIVERID_X1205	82	/* Xicor/Intersil X1205 RTC	*/
 #define I2C_DRIVERID_PCF8563	83	/* Philips PCF8563 RTC		*/
 #define I2C_DRIVERID_RS5C372	84	/* Ricoh RS5C372 RTC		*/
+#define I2C_DRIVERID_ISL1208	85	/* Intersil ISL1208 RTC		*/
 
 #define I2C_DRIVERID_I2CDEV	900
 #define I2C_DRIVERID_ARP        902    /* SMBus ARP Client              */
drivers/rtc/rtc-isl1208.c new file +556 -0

556 lines not on this page · raw message