Skip to contentSkip to conversation

hwmon: (tmp401) Do not auto-detect chip on I2C address 0x37

PATCH In review Guenter Roeck 2 participants 3 messages May 27, 2015 – May 28, 2015

Subsystems (2)
lore
Share & tools
lore

Guenter Roeck

author maintainer
#0 lore raw

PATCH 1/1 hwmon: (tmp401) Do not auto-detect chip on I2C address 0x37

I2C address 0x37 may be used by EEPROMs, which can result in false positives. Do not attempt to detect a chip at this address.

---
 Documentation/hwmon/tmp401 | 2 +-
 drivers/hwmon/tmp401.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/hwmon/tmp401 +1 -1
index 8eb88e974055..711f75e189eb 100644
@@ -20,7 +20,7 @@ Supported chips:
     Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp432.html
   * Texas Instruments TMP435
     Prefix: 'tmp435'
-    Addresses scanned: I2C 0x37, 0x48 - 0x4f
+    Addresses scanned: I2C 0x48 - 0x4f
     Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp435.html
 
 Authors:
drivers/hwmon/tmp401.c +1 -1
index 99664ebc738d..ccf4cffe0ee1 100644
@@ -44,7 +44,7 @@
 #include <linux/sysfs.h>
 
 /* Addresses to scan */
-static const unsigned short normal_i2c[] = { 0x37, 0x48, 0x49, 0x4a, 0x4c, 0x4d,
+static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4c, 0x4d,
 	0x4e, 0x4f, I2C_CLIENT_END };
 
 enum chips { tmp401, tmp411, tmp431, tmp432, tmp435 };
Signature · 7 lines
2.1.0


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Reviewed-by on v1 1/1
#1 lore raw

Hi Guenter,

Quoted 27 lines · Guenter Roeck

I2C address 0x37 may be used by EEPROMs, which can result in false positives. Do not attempt to detect a chip at this address.

---
 Documentation/hwmon/tmp401 | 2 +-
 drivers/hwmon/tmp401.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/hwmon/tmp401 +1 -1
index 8eb88e974055..711f75e189eb 100644
@@ -20,7 +20,7 @@ Supported chips:
     Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp432.html
   * Texas Instruments TMP435
     Prefix: 'tmp435'
-    Addresses scanned: I2C 0x37, 0x48 - 0x4f
+    Addresses scanned: I2C 0x48 - 0x4f
     Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp435.html
 
 Authors:
drivers/hwmon/tmp401.c +0 -0
index 99664ebc738d..ccf4cffe0ee1 100644

drivers/hwmon/tmp401.c line 50

Quoted 8 lines
drivers/hwmon/tmp401.c +1 -1
@@ -44,7 +44,7 @@
 #include <linux/sysfs.h>
 
 /* Addresses to scan */
-static const unsigned short normal_i2c[] = { 0x37, 0x48, 0x49, 0x4a, 0x4c, 0x4d,
+static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4c, 0x4d,
 	0x4e, 0x4f, I2C_CLIENT_END };
 
 enum chips { tmp401, tmp411, tmp431, tmp432, tmp435 };

Baaah, you're faster than me, as always.

Thanks,

Signature · 7 lines
Jean Delvare
SUSE L3 Support

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
author maintainer
#2 lore raw
In reply to Guenter Roeck
Quoted 37 lines · Jean Delvare

Hi Guenter,

Quoted 34 lines · Guenter Roeck

I2C address 0x37 may be used by EEPROMs, which can result in false positives. Do not attempt to detect a chip at this address.

---
 Documentation/hwmon/tmp401 | 2 +-
 drivers/hwmon/tmp401.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/hwmon/tmp401 +1 -1
index 8eb88e974055..711f75e189eb 100644
@@ -20,7 +20,7 @@ Supported chips:
     Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp432.html
   * Texas Instruments TMP435
     Prefix: 'tmp435'
-    Addresses scanned: I2C 0x37, 0x48 - 0x4f
+    Addresses scanned: I2C 0x48 - 0x4f
     Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp435.html
 
 Authors:
drivers/hwmon/tmp401.c +1 -1
index 99664ebc738d..ccf4cffe0ee1 100644
@@ -44,7 +44,7 @@
 #include <linux/sysfs.h>
 
 /* Addresses to scan */
-static const unsigned short normal_i2c[] = { 0x37, 0x48, 0x49, 0x4a, 0x4c, 0x4d,
+static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4c, 0x4d,
 	0x4e, 0x4f, I2C_CLIENT_END };
 
Quoted 6 lines

drivers/hwmon/tmp401.c line 50

Quoted 1 line
drivers/hwmon/tmp401.c +0 -0
 enum chips { tmp401, tmp411, tmp431, tmp432, tmp435 };

Baaah, you're faster than me, as always.

Thanks!

Guenter

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