summaryrefslogtreecommitdiff
path: root/meta-quanta
diff options
context:
space:
mode:
authorGeorge Hung <george.hung@quantatw.com>2020-08-05 15:50:42 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-08-07 03:20:51 +0300
commit1f2e7000903ae47283405d537af914d49337fc4d (patch)
tree1db89e0910f8524c0bfcebbae3784569174eae0b /meta-quanta
parent2ca66d0b1b3370a528394528c83f9bccb1140b8b (diff)
downloadopenbmc-1f2e7000903ae47283405d537af914d49337fc4d.tar.xz
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>
Diffstat (limited to 'meta-quanta')
-rw-r--r--meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf6
-rw-r--r--meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf10
2 files changed, 10 insertions, 6 deletions
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 9ccd60219..530d36f1a 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 @@ WARNHI_in1 = "60000"
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 @@ WARNHI_in2 = "12600"
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 aac47ac1a..59bf25511 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 @@ WARNHI_in1 = "60000"
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 @@ WARNHI_in2 = "12600"
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 @@ MAXVALUE_curr1 = "35"
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"