w1: Add support for DS28EA00 sequence to w1-therm
authorMatt Campbell <mattrcampbell@gmail.com>
Tue, 28 Apr 2015 11:44:17 +0000 (07:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 19:08:59 +0000 (12:08 -0700)
commitd9411e57dc7fcdbf28eb825d090b06b4248a95bc
treeecb950c779a3d706ae9679983e0fab66c911b5dd
parentf7134eea05b2fb4a2c0935f8a540539fff01f3eb
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>
Documentation/ABI/stable/sysfs-driver-w1_ds28ea00 [new file with mode: 0644]
Documentation/w1/slaves/w1_therm
drivers/w1/slaves/w1_therm.c