1-Wire: Add support for the maxim ds1825 temperature sensor
Subsystems (2)
PATCH v2 1/1 1-Wire: Add support for the maxim ds1825 temperature sensor
This patch adds support for maxim ds1825 based 1-wire temperature sensors.
Documentation/w1/slaves/w1_therm +2 -0
@@ -3,6 +3,7 @@ Kernel driver w1_therm Supported chips: * Maxim ds18*20 based temperature sensors. + * Maxim ds1825 based temperature sensors. Author: Evgeniy Polyakov <[email protected]>
@@ -15,6 +16,7 @@ supported family codes: W1_THERM_DS18S20 0x10 W1_THERM_DS1822 0x22 W1_THERM_DS18B20 0x28 +W1_THERM_DS1825 0x3B Support is provided through the sysfs w1_slave file. Each open and read sequence will initiate a temperature conversion then provide two
drivers/w1/slaves/w1_therm.c +9 -0
@@ -91,6 +91,11 @@ static struct w1_family w1_therm_family_DS28EA00 = { .fops = &w1_therm_fops, }; +static struct w1_family w1_therm_family_DS1825 = { + .fid =W1_THERM_DS1825 , + .fops = &w1_therm_fops, +}; +struct w1_therm_family_converter {u8 broken;
@@ -120,6 +125,10 @@ static struct w1_therm_family_converter w1_therm_families[] = { .f = &w1_therm_family_DS28EA00, .convert = w1_DS18B20_convert_temp }, + { + .f = &w1_therm_family_DS1825, + .convert = w1_DS18B20_convert_temp + } };static inline int w1_DS18B20_convert_temp (u8 rom[9 ])
drivers/w1/w1_family.h +1 -0
@@ -38,6 +38,7 @@#define W1_EEPROM_DS2431 0x2D#define W1_FAMILY_DS2760 0x30#define W1_FAMILY_DS2780 0x32 +#define W1_THERM_DS1825 0x3B#define W1_FAMILY_DS2781 0x3D#define W1_THERM_DS28EA00 0x42
Hi
Quoted 1 line · Raphael Assenat
This patch adds support for maxim ds1825 based 1-wire temperature sensors.
Looks good, thank you
Quoted 1 line
Signed-off-by Raphael Assenat <[email protected]>
Greg, please pull it into your tree
Signature · 1 line
Evgeniy Polyakov
Quoted 11 lines · Evgeniy Polyakov
Hi
Quoted 1 line · Raphael Assenat
This patch adds support for maxim ds1825 based 1-wire temperature sensors.
Looks good, thank you
Quoted 1 line
Signed-off-by Raphael Assenat <[email protected]>Greg, please pull it into your tree
Acked-by Evgeniy Polyakov <[email protected]>
I can't seem to find the original patch here, can someone please resend it to me, with Evgeniy's ack added to it so I can apply it?
thanks,
greg k-h
Hi
Quoted 5 lines · Greg KH
Quoted 2 lines
Greg, please pull it into your tree
Acked-by Evgeniy Polyakov <[email protected]>I can't seem to find the original patch here, can someone please resend it to me, with Evgeniy's ack added to it so I can apply it?
Here is patchwork link
Do you need it with my ack?
https://patchwork.kernel.org/patch/1272361/
Signature · 1 line
Evgeniy Polyakov
Quoted 6 lines · Evgeniy Polyakov
Hi
Quoted 3 lines · Greg KH
Quoted 2 lines
Greg, please pull it into your tree
Acked-by Evgeniy Polyakov <[email protected]>
Quoted 7 lines
Quoted 2 lines
I can't seem to find the original patch here, can someone please resend it to me, with Evgeniy's ack added to it so I can apply it?
Here is patchwork link
Do you need it with my ack?
That link doesn't have a signed-off-by: from the original author.
Raphael, can you resend this to me with your signed-off-by: and Evgeniy's acked-by added?
thanks,
greg k-h
Raphaël Assénat
Acked-by Evgeniy PolyakovHello Greg,
Quoted 13 lines · Greg KH
Quoted 12 lines · Evgeniy Polyakov
Hi
Quoted 5 lines · Greg KH
Quoted 2 lines
Greg, please pull it into your tree
Acked-by Evgeniy Polyakov <[email protected]>I can't seem to find the original patch here, can someone please resend it to me, with Evgeniy's ack added to it so I can apply it?
Here is patchwork link
Do you need it with my ack?
Quoted 6 lines
Quoted 1 line
That link doesn't have a signed-off-by: from the original author.
Raphael, can you resend this to me with your signed-off-by: and Evgeniy's acked-by added?
Certainly, here is the patch with the Signed-off-by and Acked-by lines added.
---
This patch adds support for maxim ds1825 based 1-wire temperature sensors.
Documentation/w1/slaves/w1_therm +2 -0
@@ -3,6 +3,7 @@ Kernel driver w1_therm Supported chips: * Maxim ds18*20 based temperature sensors. + * Maxim ds1825 based temperature sensors. Author: Evgeniy Polyakov <[email protected]>
@@ -15,6 +16,7 @@ supported family codes: W1_THERM_DS18S20 0x10 W1_THERM_DS1822 0x22 W1_THERM_DS18B20 0x28 +W1_THERM_DS1825 0x3B Support is provided through the sysfs w1_slave file. Each open and read sequence will initiate a temperature conversion then provide two
drivers/w1/slaves/w1_therm.c +9 -0
@@ -91,6 +91,11 @@ static struct w1_family w1_therm_family_DS28EA00 = { .fops = &w1_therm_fops, }; +static struct w1_family w1_therm_family_DS1825 = { + .fid =W1_THERM_DS1825 , + .fops = &w1_therm_fops, +}; +struct w1_therm_family_converter {u8 broken;
@@ -120,6 +125,10 @@ static struct w1_therm_family_converter w1_therm_families[] = { .f = &w1_therm_family_DS28EA00, .convert = w1_DS18B20_convert_temp }, + { + .f = &w1_therm_family_DS1825, + .convert = w1_DS18B20_convert_temp + } };static inline int w1_DS18B20_convert_temp (u8 rom[9 ])
drivers/w1/w1_family.h +1 -0
@@ -38,6 +38,7 @@#define W1_EEPROM_DS2431 0x2D#define W1_FAMILY_DS2760 0x30#define W1_FAMILY_DS2780 0x32 +#define W1_THERM_DS1825 0x3B#define W1_FAMILY_DS2781 0x3D#define W1_THERM_DS28EA00 0x42