Skip to contentSkip to conversation

DS1286: new RTC driver

PATCH Applied Thomas Bogendoerfer 2 participants 2 messages Oct 14, 2008

Subsystems (2)

v3 of 4 Applied Latest is v4 →

lore
Share & tools
lore

Thomas Bogendoerfer

author maintainer
#0 lore raw

PATCH v3 1/1 DS1286: new RTC driver

This driver replaces the broken DS1286 driver in drivers/char and gives back RTC support for SGI IP22 and IP28 machines.

---

Please apply for 2.6.28

Changes since v2:

- removed superflous and wrong check in set_time

 drivers/rtc/Kconfig      |    5 +
 drivers/rtc/Makefile     |    1 +
 drivers/rtc/rtc-ds1286.c |  409 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 415 insertions(+), 0 deletions(-)
drivers/rtc/Kconfig +5 -0
index b57fba5..2421700 100644
@@ -352,6 +352,11 @@ config RTC_DRV_DS1216
 	help
 	  If you say yes here you get support for the Dallas DS1216 RTC chips.
 
+config RTC_DRV_DS1286
+	tristate "Dallas DS1286"
+	help
+	  If you say yes here you get support for the Dallas DS1286 RTC chips.
+
 config RTC_DRV_DS1302
 	tristate "Dallas DS1302"
 	depends on SH_SECUREEDGE5410
drivers/rtc/Makefile +1 -0
index 10f41f8..a320808 100644
@@ -23,6 +23,7 @@ obj-$(CONFIG_RTC_DRV_AT91SAM9)	+= rtc-at91sam9.o
 obj-$(CONFIG_RTC_DRV_BFIN)	+= rtc-bfin.o
 obj-$(CONFIG_RTC_DRV_CMOS)	+= rtc-cmos.o
 obj-$(CONFIG_RTC_DRV_DS1216)	+= rtc-ds1216.o
+obj-$(CONFIG_RTC_DRV_DS1286)	+= rtc-ds1286.o
 obj-$(CONFIG_RTC_DRV_DS1302)	+= rtc-ds1302.o
 obj-$(CONFIG_RTC_DRV_DS1305)	+= rtc-ds1305.o
 obj-$(CONFIG_RTC_DRV_DS1307)	+= rtc-ds1307.o
drivers/rtc/rtc-ds1286.c new file +409 -0

409 lines not on this page · raw message