meta-quanta: gbs: adjust VR/Hotswap sensors threshold and M value

1. adjust VR/Hotswap sensors threshold:
   hotswap_iout current
   vddcr_cpu_out voltage
   vddcr_cpu_in current
   vddcr_soc_out voltage
   vddio_abcd/efgh_out voltage

2. adjust M value in sensors.yaml:
   hotswap_iout current
   vddcr_cpu_in current

Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I3917c28630ebfbe8b3701c182305fce790171d1e
diff --git a/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml b/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml
index 929a566..746956e 100644
--- a/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml
+++ b/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml
@@ -295,7 +295,7 @@
   sensorType: 0x03
   path: /xyz/openbmc_project/sensors/current/vddcr_cpu_in
   sensorReadingType: 0x01
-  multiplierM: 86
+  multiplierM: 110
   rExp: -3
   unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes
   mutability: Mutability::Read
@@ -513,7 +513,7 @@
   entityID: 0x0E
   entityInstance: 0x02
   path: /xyz/openbmc_project/sensors/current/hotswap_iout
-  multiplierM: 216
+  multiplierM: 333
   rExp: -3
 
 0x70:
diff --git a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@88000/adm1272@10.conf b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@88000/adm1272@10.conf
index 41a53c0..e0378a0 100644
--- a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@88000/adm1272@10.conf
+++ b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@88000/adm1272@10.conf
@@ -15,12 +15,12 @@
 MAXVALUE_in2 = "66"
 
 LABEL_curr1= "hotswap_iout"
-CRITHI_curr1= "40000"
+CRITHI_curr1= "60000"
 CRITLO_curr1= "0"
-WARNHI_curr1= "40000"
+WARNHI_curr1= "60000"
 WARNLO_curr1= "0"
 MINVALUE_curr1 = "0"
-MAXVALUE_curr1 = "55"
+MAXVALUE_curr1 = "85"
 # READ_Iout is direct value*0.98
 GAIN_curr1 = "0.98"
 
diff --git a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@0/vrm@60.conf b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@0/vrm@60.conf
index 79397b0..02500d8 100644
--- a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@0/vrm@60.conf
+++ b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@0/vrm@60.conf
@@ -10,21 +10,21 @@
 PWRONMON_in1 = "ON"
 
 LABEL_in2 = "vddcr_cpu_out"
-CRITHI_in2 = "1300"
-CRITLO_in2 = "400"
-WARNHI_in2 = "1300"
-WARNLO_in2 = "400"
+CRITHI_in2 = "1450"
+CRITLO_in2 = "350"
+WARNHI_in2 = "1450"
+WARNLO_in2 = "350"
 MINVALUE_in2 = "0"
 MAXVALUE_in2 = "2"
 PWRONMON_in2 = "ON"
 
 LABEL_curr1 = "vddcr_cpu_in"
-CRITHI_curr1 = "21250"
+CRITHI_curr1 = "27000"
 CRITLO_curr1 = "-4000"
-WARNHI_curr1 = "21250"
+WARNHI_curr1 = "27000"
 WARNLO_curr1 = "-4000"
 MINVALUE_curr1 = "0"
-MAXVALUE_curr1 = "22"
+MAXVALUE_curr1 = "28"
 PWRONMON_curr1 = "ON"
 
 LABEL_curr2 = "vddcr_cpu_out"
diff --git a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@1/vrm@61.conf b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@1/vrm@61.conf
index f21c32a..988eb73 100644
--- a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@1/vrm@61.conf
+++ b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@1/vrm@61.conf
@@ -10,10 +10,10 @@
 PWRONMON_in1 = "ON"
 
 LABEL_in2 = "vddcr_soc_out"
-CRITHI_in2 = "1300"
-CRITLO_in2 = "500"
-WARNHI_in2 = "1300"
-WARNLO_in2 = "500"
+CRITHI_in2 = "1200"
+CRITLO_in2 = "620"
+WARNHI_in2 = "1200"
+WARNLO_in2 = "620"
 MINVALUE_in2 = "0"
 MAXVALUE_in2 = "2"
 PWRONMON_in2 = "ON"
diff --git a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@2/vrm@63.conf b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@2/vrm@63.conf
index 9cd9a12..c3f12ec 100644
--- a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@2/vrm@63.conf
+++ b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@2/vrm@63.conf
@@ -11,9 +11,9 @@
 
 LABEL_in2 = "vddio_efgh_out"
 CRITHI_in2 = "1320"
-CRITLO_in2 = "800"
+CRITLO_in2 = "1100"
 WARNHI_in2 = "1320"
-WARNLO_in2 = "800"
+WARNLO_in2 = "1100"
 MINVALUE_in2 = "0"
 MAXVALUE_in2 = "2"
 PWRONMON_in2 = "ON"
diff --git a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@3/vrm@45.conf b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@3/vrm@45.conf
index 762af17..6817a79 100644
--- a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@3/vrm@45.conf
+++ b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@3/vrm@45.conf
@@ -11,9 +11,9 @@
 
 LABEL_in2 = "vddio_abcd_out"
 CRITHI_in2 = "1320"
-CRITLO_in2 = "800"
+CRITLO_in2 = "1100"
 WARNHI_in2 = "1320"
-WARNLO_in2 = "800"
+WARNLO_in2 = "1100"
 MINVALUE_in2 = "0"
 MAXVALUE_in2 = "2"
 PWRONMON_in2 = "ON"