Skip to contentSkip to conversation

Add support for DS28AE00 sequence to w1-therm

PATCH In review Matt Campbell 3 participants 3 messages Apr 27, 2015 – Apr 28, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add support for DS28AE00 sequence to w1-therm

This patch provides support for the DS28AE00 digital thermometer.

The DS28AE00 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.

Documentation/ABI/stable/sysfs-driver-w1_ds28ae00 new file +6 -0
new file mode 100644
index 0000000..81ea25d
@@ -0,0 +1,6 @@
+What:		/sys/bus/w1/devices/.../w1_seq
+Date:		Apr 2015
+Contact:	Matt Campbell <[email protected]>
+Description:	Support for the DS28AE00 chain sequence function
+		see Documentation/w1/slaves/w1_therm for detailed information
+Users:		any user space application which wants to communicate with DS28AE00
Documentation/w1/slaves/w1_therm +10 -1
index cc62a95..b1df118 100644
@@ -11,12 +11,14 @@ Author: Evgeniy Polyakov <[email protected]>
 Description
 -----------
 
-w1_therm provides basic temperature conversion for ds18*20 devices.
+w1_therm provides basic temperature conversion for ds18*20 devices, and the
+ds28ae00 device.
 supported family codes:
 W1_THERM_DS18S20	0x10
 W1_THERM_DS1822		0x22
 W1_THERM_DS18B20	0x28
 W1_THERM_DS1825		0x3B
+W1_THERM_DS28AE00	0x42
 
 Support is provided through the sysfs w1_slave file.  Each open and
 read sequence will initiate a temperature conversion then provide two
@@ -48,3 +50,10 @@ resistor).  The DS18b20 temperature sensor specification lists a
 maximum current draw of 1.5mA and that a 5k pullup resistor is not
 sufficient.  The strong pullup is designed to provide the additional
 current required.
+
+The DS28AE00 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.
drivers/w1/slaves/w1_therm.c +101 -1

133 lines not on this page · raw message

#1 lore raw

Hi everyone

27.04.2015, 16:32, "Matt Campbell" <[email protected]>:

Quoted 1 line

This patch provides support for the DS28AE00 digital thermometer.

Greg, please pull it into you tree, everything looks good to me

#2 lore raw
Quoted 4 lines · Evgeniy Polyakov

27.04.2015, 16:32, "Matt Campbell" <[email protected]>:

Quoted 1 line

This patch provides support for the DS28AE00 digital thermometer.

Greg, please pull it into you tree, everything looks good to me

Except that the component name seems to be misspelled in all but two places?

http://www.maximintegrated.com/en/pst/run.mvp?q=DS28AE00

SEARCH RESULTS
[empty]
Did you mean: DS28EA00

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds