wspoon: Add IR35221 hwmon I/V/P monitoring
Add the current, voltage, and power hwmon config file
entries for the 4 IR35221 voltage regulator instances.
Change-Id: Ia7c47e47454429bd528076de307cd3238f8577f2
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir35221@70.conf b/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir35221@70.conf
index 0a7bce0..1fa7b5a 100644
--- a/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir35221@70.conf
+++ b/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir35221@70.conf
@@ -4,8 +4,44 @@
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"
+
LABEL_temp2 = "p1_vcs_temp"
WARNHI_temp2 = "80000"
WARNLO_temp2 = "0"
CRITHI_temp2 = "85000"
-CRITLO_temp2 = "0"
\ No newline at end of file
+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"
\ No newline at end of file