sensors: Add max31785 MSL checking package

The phosphor-hwmon project recently added a script for setting the MSL
(Minimum Ship Level) on an inventory item given specific MAX31785
firmware revision criteria.  Add a package for this script.

The package is not installed by default - machine implementations
must pick it up themselves and configure when it runs and the script
parameters (inventory items, i2c address, revision...) accordingly.

Change-Id: I71aa589ad86b913d5a0637955817046b9d8de15f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/common/recipes-phosphor/sensors/phosphor-hwmon/phosphor-max31785-msl@.service b/common/recipes-phosphor/sensors/phosphor-hwmon/phosphor-max31785-msl@.service
new file mode 100644
index 0000000..1bfda83
--- /dev/null
+++ b/common/recipes-phosphor/sensors/phosphor-hwmon/phosphor-max31785-msl@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Phosphor MAX31785 MSL
+ConditionFileNotEmpty={envfiledir}/obmc/hwmon-max31785/%I.conf
+Wants=mapper-wait@-xyz-openbmc_project-inventory.service
+After=mapper-wait@-xyz-openbmc_project-inventory.service
+
+[Service]
+Type=oneshot
+ExecStart={bindir}/max31785-msl -p "${{PATHS}}" -b ${{BUS}} -r ${{REVISION}}
+EnvironmentFile={envfiledir}/obmc/hwmon-max31785/%I.conf