Skip to contentSkip to conversation

hwmon: (emc1403) Add device IDs for EMC1412, EMC1413, and EMC1414

PATCH In review Guenter Roeck 2 participants 2 messages May 12, 2014 – May 18, 2014 Hardware monitoring

lore
Share & tools
lore

Guenter Roeck

author maintainer
#0 lore raw

PATCH 9/9 hwmon: (emc1403) Add device IDs for EMC1412, EMC1413, and EMC1414

EMC1412, EMC1413, and EMC1414 are fully compatible to EMC1402, EMC1403, and EMC1404, and even report the same chip ID. Add to device ID table to enable instantiation with correct chip names.

---
 drivers/hwmon/emc1403.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/hwmon/emc1403.c +3 -0
index 9b1c45c..a40d35f 100644
@@ -471,6 +471,9 @@ static const struct i2c_device_id emc1403_idtable[] = {
 	{ "emc1402", emc1402 },
 	{ "emc1403", emc1403 },
 	{ "emc1404", emc1404 },
+	{ "emc1412", emc1402 },
+	{ "emc1413", emc1403 },
+	{ "emc1414", emc1404 },
 	{ "emc1422", emc1402 },
 	{ "emc1423", emc1403 },
 	{ "emc1424", emc1404 },
Signature · 7 lines
1.9.1


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Reviewed-by on v1 9/9
#1 lore raw
Quoted 14 lines · Guenter Roeck

EMC1412, EMC1413, and EMC1414 are fully compatible to EMC1402, EMC1403, and EMC1404, and even report the same chip ID. Add to device ID table to enable instantiation with correct chip names.

---
 drivers/hwmon/emc1403.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/hwmon/emc1403.c +0 -0
index 9b1c45c..a40d35f 100644

drivers/hwmon/emc1403.c static const struct i2c_device_id emc1403_idtable[] = { · line 479

Quoted 9 lines
drivers/hwmon/emc1403.c +3 -0
@@ -471,6 +471,9 @@ static const struct i2c_device_id emc1403_idtable[] = {
 	{ "emc1402", emc1402 },
 	{ "emc1403", emc1403 },
 	{ "emc1404", emc1404 },
+	{ "emc1412", emc1402 },
+	{ "emc1413", emc1403 },
+	{ "emc1414", emc1404 },
 	{ "emc1422", emc1402 },
 	{ "emc1423", emc1403 },
 	{ "emc1424", emc1404 },
Signature · 7 lines
Jean Delvare
SUSE L3 Support

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