Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10635
b: refs/heads/master
c: 4d4e5ce
h: refs/heads/master
i:
  10633: ffaa2a1
  10631: 4f1f510
v: v3
  • Loading branch information
Alessandro Zummo authored and Greg Kroah-Hartman committed Oct 28, 2005
1 parent b08d871 commit a3f056c
Show file tree
Hide file tree
Showing 6 changed files with 778 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ddec748f328af6b67e4d0ce0248a8e9f36751827
refs/heads/master: 4d4e5ce8648561b964699afb2df5e7268a84599b
38 changes: 38 additions & 0 deletions trunk/Documentation/i2c/chips/x1205
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
Kernel driver x1205
===================

Supported chips:
* Xicor X1205 RTC
Prefix: 'x1205'
Addresses scanned: none
Datasheet: http://www.intersil.com/cda/deviceinfo/0,1477,X1205,00.html

Authors:
Karen Spearel <kas11@tampabay.rr.com>,
Alessandro Zummo <a.zummo@towertech.it>

Description
-----------

This module aims to provide complete access to the Xicor X1205 RTC.
Recently Xicor has merged with Intersil, but the chip is
still sold under the Xicor brand.

This chip is located at address 0x6f and uses a 2-byte register addressing.
Two bytes need to be written to read a single register, while most
other chips just require one and take the second one as the data
to be written. To prevent corrupting unknown chips, the user must
explicitely set the probe parameter.

example:

modprobe x1205 probe=0,0x6f

The module supports one more option, hctosys, which is used to set the
software clock from the x1205. On systems where the x1205 is the
only hardware rtc, this parameter could be used to achieve a correct
date/time earlier in the system boot sequence.

example:

modprobe x1205 probe=0,0x6f hctosys=1
9 changes: 9 additions & 0 deletions trunk/drivers/i2c/chips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,13 @@ config SENSORS_MAX6875
This driver can also be built as a module. If so, the module
will be called max6875.

config RTC_X1205_I2C
tristate "Xicor X1205 RTC chip"
depends on I2C && EXPERIMENTAL
help
If you say yes here you get support for the Xicor X1205 RTC chip.

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

endmenu
1 change: 1 addition & 0 deletions trunk/drivers/i2c/chips/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ obj-$(CONFIG_SENSORS_PCF8591) += pcf8591.o
obj-$(CONFIG_SENSORS_RTC8564) += rtc8564.o
obj-$(CONFIG_ISP1301_OMAP) += isp1301_omap.o
obj-$(CONFIG_TPS65010) += tps65010.o
obj-$(CONFIG_RTC_X1205_I2C) += x1205.o

ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)
EXTRA_CFLAGS += -DDEBUG
Expand Down
Loading

0 comments on commit a3f056c

Please sign in to comment.