Added JC42 JEDEC standard memory temp sensor support
Intended to export DIMM sensors on hwmon interface.
Tested: Tested on NVIDIA system, Entity manager is able
to instantiate JC42 type devices from JSON config file.
Able to access temp control files from hwmon directory.
Signed-off-by: Hardik Sangani <hsangani@nvidia.com>
Change-Id: I6b606909505c1029a84acafadf8fc5d2f3eac7f6
diff --git a/include/devices.hpp b/include/devices.hpp
index 5346db4..0c00c5f 100644
--- a/include/devices.hpp
+++ b/include/devices.hpp
@@ -145,7 +145,7 @@
"new_device", "delete_device", true)},
{"PXE1610",
ExportTemplate("pxe1610 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
- "new_device", "delete_device", true)},
+ "new_device", "delete_device", true)},
{"XDPE12284",
ExportTemplate("xdpe12284 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
"new_device", "delete_device", true)},
@@ -181,5 +181,8 @@
"new_device", "delete_device", true)},
{"MAX31790",
ExportTemplate("max31790 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
+ "new_device", "delete_device", true)},
+ {"JC42",
+ ExportTemplate("jc42 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
"new_device", "delete_device", true)}}};
} // namespace devices