zaius: Add hwmon->dbus for UCD90160

Change-Id: I3061a488c129ed8e8451ab63ececeb13c16a81fb
Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
diff --git a/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend
new file mode 100644
index 0000000..b256106
--- /dev/null
+++ b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend
@@ -0,0 +1,9 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+NAMES = "i2c@1e78a000/i2c-bus@40/ucd90160@64"
+ITEMSFMT = "ahb/apb/{0}.conf"
+
+ITEMS = "${@compose_list(d, 'ITEMSFMT', 'NAMES')}"
+
+ENVS = "obmc/hwmon/{0}"
+SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ITEMS')}"
diff --git a/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@40/ucd90160@64.conf b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@40/ucd90160@64.conf
new file mode 100644
index 0000000..92be7fe
--- /dev/null
+++ b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@40/ucd90160@64.conf
@@ -0,0 +1,25 @@
+LABEL_in1=vout1
+
+LABEL_in2=vout2
+
+LABEL_in3=vout3
+
+LABEL_in4=vout4
+
+LABEL_in5=vout5
+
+LABEL_in6=vout6
+
+LABEL_in7=vout7
+
+LABEL_in8=vout8
+
+LABEL_in9=vout9
+
+LABEL_in10=vout10
+
+LABEL_in11=vout11
+
+LABEL_in12=vout12
+
+LABEL_in13=vout13