Add Palmetto hwmons

Add some hardcoded (not from MRW) labels and thresholds
for rtc and tmp423 sensor chips.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I182b34665de8f2e32dd47336879367f415f57150
diff --git a/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%.bbappend b/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%.bbappend
new file mode 100644
index 0000000..539a55c
--- /dev/null
+++ b/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%.bbappend
@@ -0,0 +1,9 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+NAMES = "i2c@1e78a000/i2c-bus@40/rtc@68 i2c@1e78a000/i2c-bus@c0/tmp423@4c"
+ITEMSFMT = "ahb/apb/{0}.conf"
+
+ITEMS = "${@compose_list(d, 'ITEMSFMT', 'NAMES')}"
+
+ENVS = "obmc/hwmon/{0}"
+SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ITEMS')}"