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/meson.options b/meson.options
index 306a953..00e6fa9 100644
--- a/meson.options
+++ b/meson.options
@@ -95,3 +95,9 @@
value: 'enabled',
description: 'Enable Liquid Leak Detector.',
)
+option(
+ 'smbpbi',
+ type: 'feature',
+ value: 'enabled',
+ description: 'Enable SMBPBI sensor.',
+)