Skip to content

Commit

Permalink
[PATCH] RTC subsystem: X1205 driver
Browse files Browse the repository at this point in the history
A port of the existing x1205 driver under the new RTC subsystem.

It is actually under test within the NSLU2 project
(http://www.nslu2-linux.org) and it is working quite well.

It is the first driver under this new subsystem and should be used as a guide
to port other drivers.

Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Alessandro Zummo authored and Linus Torvalds committed Mar 27, 2006
1 parent e824290 commit 1fec7c6
Show file tree
Hide file tree
Showing 3 changed files with 632 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/rtc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,14 @@ config RTC_INTF_DEV
comment "RTC drivers"
depends on RTC_CLASS

config RTC_DRV_X1205
tristate "Xicor/Intersil X1205"
depends on RTC_CLASS && I2C
help
If you say yes here you get support for the
Xicor/Intersil X1205 RTC chip.

This driver can also be built as a module. If so, the module
will be called rtc-x1205.

endmenu
3 changes: 3 additions & 0 deletions drivers/rtc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ rtc-core-y := class.o interface.o
obj-$(CONFIG_RTC_INTF_SYSFS) += rtc-sysfs.o
obj-$(CONFIG_RTC_INTF_PROC) += rtc-proc.o
obj-$(CONFIG_RTC_INTF_DEV) += rtc-dev.o

obj-$(CONFIG_RTC_DRV_X1205) += rtc-x1205.o

Loading

0 comments on commit 1fec7c6

Please sign in to comment.