Skip to contentSkip to conversation

hwmon:lm75 add support for the Analog

PATCH Applied [email protected] 4 participants 4 messages Oct 13, 2011

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

PATCH v2 1/1 hwmon:lm75 add support for the Analog

From: Michael Hennerich <[email protected]>

Changes since V1:

Remove depreciated ADT75 device detection support.
The ADT75, like some other LM75 derivatives needs to be instantiated using methods 1,2 or 4.
For more information see Documentation/i2c/instantiating-devices.

---
 Documentation/hwmon/lm75 |    5 +++++
 drivers/hwmon/Kconfig    |    1 +
 drivers/hwmon/lm75.c     |    2 ++
 3 files changed, 8 insertions(+), 0 deletions(-)
Documentation/hwmon/lm75 +5 -0
index a179040..8d40d0f 100644
@@ -32,6 +32,11 @@ Supported chips:
     Addresses scanned: I2C 0x48 - 0x4f
     Datasheet: Publicly available at the Microchip website
                http://www.microchip.com/
+  * Analog Devices ADT75
+    Prefix: 'adt75'
+    Addresses scanned: I2C 0x48 - 0x4f
+    Datasheet: Publicly available at the Analog Devices website
+               http://www.analog.com/adt75
 
 Author: Frodo Looijaard <[email protected]>
 
drivers/hwmon/Kconfig +1 -0
index 0b62c3c..497fd14 100644
@@ -531,6 +531,7 @@ config SENSORS_LM75
 	  If you say yes here you get support for one common type of
 	  temperature sensor chip, with models including:
 
+		- Analog Devices ADT75
 		- Dallas Semiconductor DS75 and DS1775
 		- Maxim MAX6625 and MAX6626
 		- Microchip MCP980x
drivers/hwmon/lm75.c +2 -0
index ef902d5..669481b 100644
@@ -35,6 +35,7 @@
  */
 
 enum lm75_type {		/* keep sorted in alphabetical order */
+	adt75,
 	ds1775,
 	ds75,
 	lm75,
@@ -213,6 +214,7 @@ static int lm75_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id lm75_ids[] = {
+	{ "adt75", adt75, },
 	{ "ds1775", ds1775, },
 	{ "ds75", ds75, },
 	{ "lm75", lm75, },

--
1.7.0.4

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

Acked-by on v2 1/1
#1 lore raw
Quoted 10 lines · On 10/13/11 09:43, [email protected] wrote:

From: Michael Hennerich <[email protected]>

Changes since V1:

Remove depreciated ADT75 device detection support.
The ADT75, like some other LM75 derivatives needs to be instantiated using methods 1,2 or 4.
For more information see Documentation/i2c/instantiating-devices.

(For what it is worth on a now obvious trivial patch!)

Quoted 55 lines
---
 Documentation/hwmon/lm75 |    5 +++++
 drivers/hwmon/Kconfig    |    1 +
 drivers/hwmon/lm75.c     |    2 ++
 3 files changed, 8 insertions(+), 0 deletions(-)
Documentation/hwmon/lm75 +5 -0
index a179040..8d40d0f 100644
@@ -32,6 +32,11 @@ Supported chips:
     Addresses scanned: I2C 0x48 - 0x4f
     Datasheet: Publicly available at the Microchip website
                http://www.microchip.com/
+  * Analog Devices ADT75
+    Prefix: 'adt75'
+    Addresses scanned: I2C 0x48 - 0x4f
+    Datasheet: Publicly available at the Analog Devices website
+               http://www.analog.com/adt75
 
 Author: Frodo Looijaard <[email protected]>
 
drivers/hwmon/Kconfig +1 -0
index 0b62c3c..497fd14 100644
@@ -531,6 +531,7 @@ config SENSORS_LM75
 	  If you say yes here you get support for one common type of
 	  temperature sensor chip, with models including:
 
+		- Analog Devices ADT75
 		- Dallas Semiconductor DS75 and DS1775
 		- Maxim MAX6625 and MAX6626
 		- Microchip MCP980x
drivers/hwmon/lm75.c +2 -1
index ef902d5..669481b 100644
@@ -35,6 +35,7 @@
  */
 
 enum lm75_type {		/* keep sorted in alphabetical order */
+	adt75,
 	ds1775,
 	ds75,
 	lm75,
@@ -213,6 +214,7 @@ static int lm75_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id lm75_ids[] = {
+	{ "adt75", adt75, },
 	{ "ds1775", ds1775, },
 	{ "ds75", ds75, },
 	{ "lm75", lm75, },
--
Quoted 3 lines

1.7.0.4

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

Acked-by on v2 1/1
#2 lore raw
In reply to [email protected]
Quoted 10 lines · On Thu, 13 Oct 2011 10:43:31 +0200, [email protected] wrote:

From: Michael Hennerich <[email protected]>

Changes since V1:

Remove depreciated ADT75 device detection support.
The ADT75, like some other LM75 derivatives needs to be instantiated using methods 1,2 or 4.
For more information see Documentation/i2c/instantiating-devices.

I'll let Guenter pick the patch as he has a working development tree while at the moment I do not.

Quoted 58 lines
---
 Documentation/hwmon/lm75 |    5 +++++
 drivers/hwmon/Kconfig    |    1 +
 drivers/hwmon/lm75.c     |    2 ++
 3 files changed, 8 insertions(+), 0 deletions(-)
Documentation/hwmon/lm75 +5 -0
index a179040..8d40d0f 100644
@@ -32,6 +32,11 @@ Supported chips:
     Addresses scanned: I2C 0x48 - 0x4f
     Datasheet: Publicly available at the Microchip website
                http://www.microchip.com/
+  * Analog Devices ADT75
+    Prefix: 'adt75'
+    Addresses scanned: I2C 0x48 - 0x4f
+    Datasheet: Publicly available at the Analog Devices website
+               http://www.analog.com/adt75
 
 Author: Frodo Looijaard <[email protected]>
 
drivers/hwmon/Kconfig +1 -0
index 0b62c3c..497fd14 100644
@@ -531,6 +531,7 @@ config SENSORS_LM75
 	  If you say yes here you get support for one common type of
 	  temperature sensor chip, with models including:
 
+		- Analog Devices ADT75
 		- Dallas Semiconductor DS75 and DS1775
 		- Maxim MAX6625 and MAX6626
 		- Microchip MCP980x
drivers/hwmon/lm75.c +2 -1
index ef902d5..669481b 100644
@@ -35,6 +35,7 @@
  */
 
 enum lm75_type {		/* keep sorted in alphabetical order */
+	adt75,
 	ds1775,
 	ds75,
 	lm75,
@@ -213,6 +214,7 @@ static int lm75_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id lm75_ids[] = {
+	{ "adt75", adt75, },
 	{ "ds1775", ds1775, },
 	{ "ds75", ds75, },
 	{ "lm75", lm75, },
--

1.7.0.4

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#3 lore raw
In reply to [email protected]
Quoted 10 lines · Jean Delvare
Quoted 9 lines · On Thu, 13 Oct 2011 10:43:31 +0200, [email protected] wrote:

From: Michael Hennerich <[email protected]>

Changes since V1:

Remove depreciated ADT75 device detection support.
The ADT75, like some other LM75 derivatives needs to be instantiated using methods 1,2 or 4.
For more information see Documentation/i2c/instantiating-devices.

Quoted 7 lines
Quoted 1 line

I'll let Guenter pick the patch as he has a working development tree while at the moment I do not.

Applied.

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors