summaryrefslogtreecommitdiffstats
path: root/Documentation/w1
diff options
context:
space:
mode:
authorMatt Campbell <mattrcampbell@gmail.com>2015-04-28 07:44:17 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-24 15:08:59 -0400
commitd9411e57dc7fcdbf28eb825d090b06b4248a95bc (patch)
treeecb950c779a3d706ae9679983e0fab66c911b5dd /Documentation/w1
parentf7134eea05b2fb4a2c0935f8a540539fff01f3eb (diff)
w1: Add support for DS28EA00 sequence to w1-therm
This patch provides support for the DS28EA00 digital thermometer. The DS28EA00 provides an additional two pins for implementing a sequence detection algorithm. This feature allows you to determine the physical location of the chip in the 1-wire bus without needing pre-existing knowledge of the bus ordering. Support is provided through the sysfs w1_seq file. The file will contain a single line with an integer value representing the device index in the bus starting at 0. Signed-off-by: Matt Campbell <mattrcampbell@gmail.com> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/w1')
-rw-r--r--Documentation/w1/slaves/w1_therm11
1 files changed, 10 insertions, 1 deletions
diff --git a/Documentation/w1/slaves/w1_therm b/Documentation/w1/slaves/w1_therm
index cc62a95e4776..13411fe52f7f 100644
--- a/Documentation/w1/slaves/w1_therm
+++ b/Documentation/w1/slaves/w1_therm
@@ -11,12 +11,14 @@ Author: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
11Description 11Description
12----------- 12-----------
13 13
14w1_therm provides basic temperature conversion for ds18*20 devices. 14w1_therm provides basic temperature conversion for ds18*20 devices, and the
15ds28ea00 device.
15supported family codes: 16supported family codes:
16W1_THERM_DS18S20 0x10 17W1_THERM_DS18S20 0x10
17W1_THERM_DS1822 0x22 18W1_THERM_DS1822 0x22
18W1_THERM_DS18B20 0x28 19W1_THERM_DS18B20 0x28
19W1_THERM_DS1825 0x3B 20W1_THERM_DS1825 0x3B
21W1_THERM_DS28EA00 0x42
20 22
21Support is provided through the sysfs w1_slave file. Each open and 23Support is provided through the sysfs w1_slave file. Each open and
22read sequence will initiate a temperature conversion then provide two 24read sequence will initiate a temperature conversion then provide two
@@ -48,3 +50,10 @@ resistor). The DS18b20 temperature sensor specification lists a
48maximum current draw of 1.5mA and that a 5k pullup resistor is not 50maximum current draw of 1.5mA and that a 5k pullup resistor is not
49sufficient. The strong pullup is designed to provide the additional 51sufficient. The strong pullup is designed to provide the additional
50current required. 52current required.
53
54The DS28EA00 provides an additional two pins for implementing a sequence
55detection algorithm. This feature allows you to determine the physical
56location of the chip in the 1-wire bus without needing pre-existing
57knowledge of the bus ordering. Support is provided through the sysfs
58w1_seq file. The file will contain a single line with an integer value
59representing the device index in the bus starting at 0.