Add SMBPBI sensor
This sensor implementation polls readings from a virtual
eeprom i2c device. It can be used to read telemetry and
expose readings on dbus.
Entity Manager configs:
{
"Address": "0x1f",
"Bus": 1,
"ReadOffset": 288,
"Units": "DegreesC",
"Name": "Example_0_Temp_0",
"PollRate": 1.0,
"MinValue": -128,
"MaxValue": 127,
"Thresholds": [
{
"Direction": "greater than",
"Name": "upper non critical",
"Severity": 0,
"Value": 90.0
}
],
"ValueType": "UINT64",
"Type": "SmbpbiVirtualEeprom"
}
Change-Id: I13a5a82b583a31dd57feb7b3e6929e2a469d4b6d
Signed-off-by: Aushim Nagarkatti <anagarkatti@nvidia.com>
diff --git a/src/meson.build b/src/meson.build
index 2371d56..0929ba7 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -97,6 +97,10 @@
subdir('intel-cpu')
endif
+if get_option('smbpbi').allowed()
+ subdir('smbpbi')
+endif
+
if get_option('adc').allowed()
subdir('adc')
endif