devices: Add nct6779 support
This is a Nuvoton Super I/O chip supported by the nct6775-i2c driver
recently added to the Linux kernel, and employed in systems such as the
ASRock Rack romed8hm3, in which it provides the only way for the BMC to
monitor host CPU temperatures.
Tested: on an ASRock Rack romed8hm3 with an entity-manager config
modified to include an nct6779 entry, hwmontempsensor exposes sensor
readings from it appropriately (though support for handling host
power-state transitions is yet to be implemented and will be required
for full support, because the nct6779 is in the same power domain as the
host).
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: Ic62d785ca988f1a606c0e6f0dca96ce18636dc12
diff --git a/include/devices.hpp b/include/devices.hpp
index 35048cd..fb06878 100644
--- a/include/devices.hpp
+++ b/include/devices.hpp
@@ -149,6 +149,9 @@
{"MAX6654",
ExportTemplate("max6654 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
"new_device", "delete_device", true)},
+ {"NCT6779",
+ ExportTemplate("nct6779 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
+ "new_device", "delete_device", true)},
{"PCA9542Mux",
ExportTemplate("pca9542 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
"new_device", "delete_device", false)},