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/service_files/meson.build b/service_files/meson.build
index 854cfd6..5a9938d 100644
--- a/service_files/meson.build
+++ b/service_files/meson.build
@@ -19,6 +19,7 @@
     ['nvidia-gpu', 'xyz.openbmc_project.nvidiagpusensor.service'],
     ['nvme', 'xyz.openbmc_project.nvmesensor.service'],
     ['psu', 'xyz.openbmc_project.psusensor.service'],
+    ['smbpbi', 'xyz.openbmc_project.smbpbisensor.service'],
 ]
 
 fs = import('fs')
diff --git a/service_files/xyz.openbmc_project.smbpbisensor.service b/service_files/xyz.openbmc_project.smbpbisensor.service
new file mode 100644
index 0000000..88e839b
--- /dev/null
+++ b/service_files/xyz.openbmc_project.smbpbisensor.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=SMBPBI Sensor
+StopWhenUnneeded=false
+Requires=xyz.openbmc_project.EntityManager.service
+After=xyz.openbmc_project.EntityManager.service
+
+[Service]
+Restart=always
+RestartSec=5
+ExecStart=/usr/bin/smbpbisensor
+
+[Install]
+WantedBy=multi-user.target