Skip to contentSkip to conversation

DS1337 RTC subsystem driver

PATCH In review Ladislav Michl 3 participants 3 messages May 5, 2006 – May 11, 2006 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 DS1337 RTC subsystem driver

Hi,

this is DS1337 driver for RTC subsystem, tested on VoiceBlue board. Patch doesn't remove old driver, let's wait for some feedback... Please test it, so we do not miss next merge window :-)

drivers/rtc/Kconfig +10 -0
index 65d090d..f148e83 100644
@@ -86,6 +86,16 @@ config RTC_DRV_X1205
 	  This driver can also be built as a module. If so, the module
 	  will be called rtc-x1205.
 
+config RTC_DRV_DS1337
+	tristate "Dallas DS1337"
+	depends on RTC_CLASS && I2C
+	help
+	  If you say yes here you get support for Dallas Semiconductor
+	  DS1337 and DS1339 real-time clock chips.
+
+	  This driver can also be built as a module. If so, the module
+	  will be called rtc-ds1337.
+
 config RTC_DRV_DS1672
 	tristate "Dallas/Maxim DS1672"
 	depends on RTC_CLASS && I2C
drivers/rtc/Makefile +1 -0
index a9ca0f1..d5f8617 100644
@@ -13,6 +13,7 @@ obj-$(CONFIG_RTC_INTF_DEV)	+= rtc-dev.o
 
 obj-$(CONFIG_RTC_DRV_X1205)	+= rtc-x1205.o
 obj-$(CONFIG_RTC_DRV_TEST)	+= rtc-test.o
+obj-$(CONFIG_RTC_DRV_DS1337)	+= rtc-ds1337.o
 obj-$(CONFIG_RTC_DRV_DS1672)	+= rtc-ds1672.o
 obj-$(CONFIG_RTC_DRV_PCF8563)	+= rtc-pcf8563.o
 obj-$(CONFIG_RTC_DRV_RS5C372)	+= rtc-rs5c372.o
drivers/rtc/rtc-ds1337.c new file +306 -0

306 lines not on this page · raw message

#1 lore raw
Quoted 5 lines · On Fri, 5 May 2006 16:43:22 +0100 Ladislav Michl <[email protected]> wrote:

Hi,

this is DS1337 driver for RTC subsystem, tested on VoiceBlue board. Patch doesn't remove old driver, let's wait for some feedback... Please test it, so we do not miss next merge window :-)

Hi,

there's a similar patch that has been posted here (and probably
merged in -mm) by David Brownell on 20050416. It should work with DS1307, 37 and 39. You might want to give it a look to see if it satisfies your needs.

Signature · 6 lines
 Best regards,

 Alessandro Zummo,
  Tower Technologies - Turin, Italy

  http://www.towertech.it
#2 lore raw
Quoted 4 lines · Alessandro Zummo

there's a similar patch that has been posted here (and probably
merged in -mm) by David Brownell on 20050416. It should work with DS1307, 37 and 39. You might want to give it a look to see if it satisfies your needs.

Hi,

indeed it is in -mm tree (I'm sorry for not looking there first) and works nicely 'out of the box'. I hope it will be merged soon to mainline.

Best regards,
ladis