DS1286: new RTC driver
Subsystems (2)
Thomas Bogendoerfer
maintainerPATCH 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.
Acked-by Alessandro Zummo <[email protected]>
Signed-off-by Thomas Bogendoerfer <[email protected]>
---
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
@@ -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
@@ -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
Ralf Baechle
AppliedQuoted 8 lines · Thomas Bogendoerfer
This driver replaces the broken DS1286 driver in
drivers/charand gives back RTC support for SGI IP22 and IP28 machines.Acked-by Alessandro Zummo <[email protected]>Signed-off-by Thomas Bogendoerfer <[email protected]>---
Please apply for 2.6.28
Thanks, applied.
Ralf