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/ir35221@71.conf b/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@3c0/ir35221@71.conf
new file mode 100644
index 0000000..836eef6
--- /dev/null
+++ b/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@3c0/ir35221@71.conf
@@ -0,0 +1,47 @@
+LABEL_temp1 = "p1_vdn_temp"
+WARNHI_temp1 = "80000"
+WARNLO_temp1 = "0"
+CRITHI_temp1 = "85000"
+CRITLO_temp1 = "0"
+
+LABEL_curr2 = "p1_vdn_current"
+WARNLO_curr2 = "0"
+CRITLO_curr2 = "0"
+WARNHI_curr2 = "80000"
+CRITHI_curr2 = "110000"
+
+LABEL_in2 = "p1_vdn_voltage"
+WARNLO_in2 = "0"
+CRITLO_in2 = "0"
+WARNHI_in2 = "1100"
+CRITHI_in2 = "1300"
+
+LABEL_power2 = "p1_vdn_power"
+WARNLO_power2 = "0"
+CRITLO_power2 = "0"
+WARNHI_power2 = "88000000"
+CRITHI_power2 = "121000000"
+
+LABEL_temp2 = "p1_vcs_temp"
+WARNHI_temp2 = "80000"
+WARNLO_temp2 = "0"
+CRITHI_temp2 = "85000"
+CRITLO_temp2 = "0"
+
+LABEL_curr3 = "p1_vcs_current"
+WARNLO_curr3 = "0"
+CRITLO_curr3 = "0"
+WARNHI_curr3 = "20000"
+CRITHI_curr3 = "25000"
+
+LABEL_in3 = "p1_vcs_voltage"
+WARNLO_in3 = "0"
+CRITLO_in3 = "0"
+WARNHI_in3 = "1150"
+CRITHI_in3 = "1300"
+
+LABEL_power3 = "p1_vcs_power"
+WARNLO_power3 = "0"
+CRITLO_power3 = "0"
+WARNHI_power3 = "20000000"
+CRITHI_power3 = "25000000"