Skip to content

Commit

Permalink
[PATCH] W1: Add the DS2482 I2C-to-w1 bridge driver.
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Gardner <bgardner@wabtec.com>
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Evgeniy Polyakov authored and Greg Kroah-Hartman committed Mar 24, 2006
1 parent bd529cf commit baf12ae
Show file tree
Hide file tree
Showing 4 changed files with 607 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Documentation/w1/masters/ds2482
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Kernel driver ds2482
====================

Supported chips:
* Maxim DS2482-100, Maxim DS2482-800
Prefix: 'ds2482'
Addresses scanned: None
Datasheets:
http://pdfserv.maxim-ic.com/en/ds/DS2482-100-DS2482S-100.pdf
http://pdfserv.maxim-ic.com/en/ds/DS2482-800-DS2482S-800.pdf

Author: Ben Gardner <bgardner@wabtec.com>


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

The Maixm/Dallas Semiconductor DS2482 is a I2C device that provides
one (DS2482-100) or eight (DS2482-800) 1-wire busses.


General Remarks
---------------

Valid addresses are 0x18, 0x19, 0x1a, and 0x1b.
However, the device cannot be detected without writing to the i2c bus, so no
detection is done.
You should force the device address.

$ modprobe ds2482 force=0,0x18

10 changes: 10 additions & 0 deletions drivers/w1/masters/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,15 @@ config W1_MASTER_DS9490_BRIDGE
This support is also available as a module. If so, the module
will be called ds_w1_bridge.ko.

config W1_MASTER_DS2482
tristate "Maxim DS2482 I2C to 1-Wire bridge"
depends on I2C && W1 && EXPERIMENTAL
help
If you say yes here you get support for the Maxim DS2482
I2C to 1-Wire bridge.

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

endmenu

2 changes: 2 additions & 0 deletions drivers/w1/masters/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ ds9490r-objs := dscore.o

obj-$(CONFIG_W1_MASTER_DS9490_BRIDGE) += ds_w1_bridge.o

obj-$(CONFIG_W1_MASTER_DS2482) += ds2482.o

Loading

0 comments on commit baf12ae

Please sign in to comment.