meta-quanta: gbs: fix p12v voltage GAIN and current threshold

1. fix p12v_1/2 input/output voltages GAIN to get the correct value
2. fix p12v_1 output current threshold

(From meta-quanta rev: 58c91e5e8ad4e3c916bebbe76c958eafe0254e9e)

Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I3394a2d33e22068509818e36b9dfd89e553703c5
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf
index 9ccd602..530d36f 100644
--- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf
+++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf
@@ -5,8 +5,8 @@
 WARNLO_in1 = "40000"
 MINVALUE_in1 = "0"
 MAXVALUE_in1 = "65"
-# READ_VIN is direct value *10
-GAIN_in1 = "10.0"
+# READ_VIN is direct value*100
+GAIN_in1 = "100.0"
 PWRONMON_in1 = "ON"
 
 LABEL_in2 = "p12v_2_out"
@@ -16,6 +16,8 @@
 WARNLO_in2 = "11400"
 MINVALUE_in2 = "0"
 MAXVALUE_in2 = "14"
+# READ_VOUT is direct value*5.02
+GAIN_in2 = "5.02"
 PWRONMON_in2 = "ON"
 
 LABEL_curr1 = "p12v_2_in"
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf
index aac47ac..59bf255 100644
--- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf
+++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf
@@ -5,8 +5,8 @@
 WARNLO_in1 = "40000"
 MINVALUE_in1 = "0"
 MAXVALUE_in1 = "65"
-# READ_VIN is direct value *10
-GAIN_in1 = "10.0"
+# READ_VIN is direct value*100
+GAIN_in1 = "100.0"
 PWRONMON_in1 = "ON"
 
 LABEL_in2 = "p12v_1_out"
@@ -16,6 +16,8 @@
 WARNLO_in2 = "11400"
 MINVALUE_in2 = "0"
 MAXVALUE_in2 = "14"
+# READ_VOUT is direct value*5.02
+GAIN_in2 = "5.02"
 PWRONMON_in2 = "ON"
 
 LABEL_curr1 = "p12v_1_in"
@@ -28,9 +30,9 @@
 PWRONMON_curr1 = "ON"
 
 LABEL_curr2 = "p12v_1_out"
-CRITHI_curr2 = "10000"
+CRITHI_curr2 = "100000"
 CRITLO_curr2 = "0"
-WARNHI_curr2 = "10000"
+WARNHI_curr2 = "100000"
 WARNLO_curr2 = "0"
 MINVALUE_curr2 = "0"
 MAXVALUE_curr2 = "150"