swift: Add CP1 ir35219 and ir35221 sensors
On processor 1 in Swift, an IR35219 is used for the VDD vrm and
IR35221s are used for the VDN & VCS vrms and VIO vrm. Initially the
same warn/crit configuration values as Witherspoon will be used.
Tested:
Built image that contained the config files
Change-Id: Ia82892b0bdb57e2d843873311e9a911c9aa1c386
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@3c0/ir35219@70.conf b/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@3c0/ir35219@70.conf
new file mode 100644
index 0000000..5e0c63d
--- /dev/null
+++ b/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@3c0/ir35219@70.conf
@@ -0,0 +1,23 @@
+LABEL_temp1 = "p1_vdd_temp"
+WARNHI_temp1 = "80000"
+WARNLO_temp1 = "0"
+CRITHI_temp1 = "85000"
+CRITLO_temp1 = "0"
+
+LABEL_curr2 = "p1_vdd_current"
+WARNLO_curr2 = "0"
+CRITLO_curr2 = "0"
+WARNHI_curr2 = "320000"
+CRITHI_curr2 = "360000"
+
+LABEL_in2 = "p1_vdd_voltage"
+WARNLO_in2 = "0"
+CRITLO_in2 = "0"
+WARNHI_in2 = "1150"
+CRITHI_in2 = "1300"
+
+LABEL_power2 = "p1_vdd_power"
+WARNLO_power2 = "0"
+CRITLO_power2 = "0"
+WARNHI_power2 = "270000000"
+CRITHI_power2 = "290000000"