meta-quanta: gbs: update thermal config to R01

1. update fine tuned PID parameters
2. update sensors threshold

Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I28f0e925e7f2925b7492bfb95106bd80215adf9e
diff --git a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@82000/sbtsi@4c.conf b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@82000/sbtsi@4c.conf
index de988aa..6dcada7 100644
--- a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@82000/sbtsi@4c.conf
+++ b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@82000/sbtsi@4c.conf
@@ -1,8 +1,8 @@
 LABEL_temp1 = "cputemp"
-CRITHI_temp1 = "85000"
-CRITLO_temp1 = "5000"
-WARNHI_temp1 = "85000"
-WARNLO_temp1 = "5000"
+CRITHI_temp1 = "95000"
+CRITLO_temp1 = "0"
+WARNHI_temp1 = "95000"
+WARNLO_temp1 = "0"
 MINVALUE_temp1 = "-128"
 MAXVALUE_temp1 = "127"
 ASYNC_READ_TIMEOUT_temp1 = "500"
diff --git a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@0/max31725@54.conf b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@0/max31725@54.conf
index b8ba115..839a7c6 100644
--- a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@0/max31725@54.conf
+++ b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@0/max31725@54.conf
@@ -1,8 +1,8 @@
 LABEL_temp1 = "i2cool_0"
-CRITHI_temp1 = "70000"
-CRITLO_temp1 = "5000"
-WARNHI_temp1 = "70000"
-WARNLO_temp1 = "5000"
+CRITHI_temp1 = "35000"
+CRITLO_temp1 = "0"
+WARNHI_temp1 = "35000"
+WARNLO_temp1 = "0"
 MINVALUE_temp1 = "-128"
 MAXVALUE_temp1 = "127"
 ASYNC_READ_TIMEOUT_temp1 = "500"
diff --git a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@1/max31725@55.conf b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@1/max31725@55.conf
index a798fc9..174c62b 100644
--- a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@1/max31725@55.conf
+++ b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@1/max31725@55.conf
@@ -1,8 +1,8 @@
 LABEL_temp1 = "i2cool_1"
 CRITHI_temp1 = "70000"
-CRITLO_temp1 = "5000"
+CRITLO_temp1 = "0"
 WARNHI_temp1 = "70000"
-WARNLO_temp1 = "5000"
+WARNLO_temp1 = "0"
 MINVALUE_temp1 = "-128"
 MAXVALUE_temp1 = "127"
 ASYNC_READ_TIMEOUT_temp1 = "500"
diff --git a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@2/max31725@5d.conf b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@2/max31725@5d.conf
index a510438..3fb0cee 100644
--- a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@2/max31725@5d.conf
+++ b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@2/max31725@5d.conf
@@ -1,8 +1,8 @@
 LABEL_temp1 = "i2cool_2"
 CRITHI_temp1 = "70000"
-CRITLO_temp1 = "5000"
+CRITLO_temp1 = "0"
 WARNHI_temp1 = "70000"
-WARNLO_temp1 = "5000"
+WARNLO_temp1 = "0"
 MINVALUE_temp1 = "-128"
 MAXVALUE_temp1 = "127"
 ASYNC_READ_TIMEOUT_temp1 = "500"
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 4f5ac3f..580eeec 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
@@ -38,8 +38,8 @@
 
 LABEL_temp1= "vddcr_cpu"
 WARNLO_temp1= "0"
-WARNHI_temp1= "125000"
-CRITHI_temp1 = "125000"
+WARNHI_temp1= "100000"
+CRITHI_temp1 = "100000"
 CRITLO_temp1 = "0"
 MINVALUE_temp1 = "-128"
 MAXVALUE_temp1 = "127"
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 de3ba4d..f21c32a 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
@@ -38,8 +38,8 @@
 
 LABEL_temp1= "vddcr_soc"
 WARNLO_temp1= "0"
-WARNHI_temp1= "125000"
-CRITHI_temp1 = "125000"
+WARNHI_temp1= "100000"
+CRITHI_temp1 = "100000"
 CRITLO_temp1 = "0"
 MINVALUE_temp1 = "-128"
 MAXVALUE_temp1 = "127"
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 80be07d..9cd9a12 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
@@ -38,8 +38,8 @@
 
 LABEL_temp1= "vddio_efgh"
 WARNLO_temp1= "0"
-WARNHI_temp1= "125000"
-CRITHI_temp1 = "125000"
+WARNHI_temp1= "100000"
+CRITHI_temp1 = "100000"
 CRITLO_temp1 = "0"
 MINVALUE_temp1 = "-128"
 MAXVALUE_temp1 = "127"
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 2ae8f21..762af17 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
@@ -38,8 +38,8 @@
 
 LABEL_temp1= "vddio_abcd"
 WARNLO_temp1= "0"
-WARNHI_temp1= "125000"
-CRITHI_temp1 = "125000"
+WARNHI_temp1= "100000"
+CRITHI_temp1 = "100000"
 CRITLO_temp1 = "0"
 MINVALUE_temp1 = "-128"
 MAXVALUE_temp1 = "127"
diff --git a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/max34451@4e.conf b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/max34451@4e.conf
index 353075a..9a8a803 100644
--- a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/max34451@4e.conf
+++ b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/max34451@4e.conf
@@ -110,10 +110,10 @@
 PWRONMON_in12 = "ON"
 
 LABEL_temp1 = "powerseq_temp"
-CRITHI_temp1 = "85000"
-CRITLO_temp1 = "5000"
-WARNHI_temp1 = "85000"
-WARNLO_temp1 = "5000"
+CRITHI_temp1 = "99000"
+CRITLO_temp1 = "0"
+WARNHI_temp1 = "99000"
+WARNLO_temp1 = "0"
 MINVALUE_temp1 = "-128"
 MAXVALUE_temp1 = "127"
 ASYNC_READ_TIMEOUT_temp1 = "500"
diff --git a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf
index 0ef7d60..427cdab 100644
--- a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf
+++ b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf
@@ -42,8 +42,8 @@
 
 LABEL_temp1= "p12v_fan"
 WARNLO_temp1= "0"
-WARNHI_temp1= "125000"
-CRITHI_temp1 = "125000"
+WARNHI_temp1= "114000"
+CRITHI_temp1 = "114000"
 CRITLO_temp1 = "0"
 MINVALUE_temp1 = "-128"
 MAXVALUE_temp1 = "127"
diff --git a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf
index a795a74..c1612d1 100644
--- a/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf
+++ b/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf
@@ -42,8 +42,8 @@
 
 LABEL_temp1= "p12v_mobo"
 WARNLO_temp1= "0"
-WARNHI_temp1= "125000"
-CRITHI_temp1 = "125000"
+WARNHI_temp1= "114000"
+CRITHI_temp1 = "114000"
 CRITLO_temp1 = "0"
 MINVALUE_temp1 = "-128"
 MAXVALUE_temp1 = "127"
diff --git a/meta-gbs/recipes-phosphor/sensors/phosphor-nvme/nvme_config.json b/meta-gbs/recipes-phosphor/sensors/phosphor-nvme/nvme_config.json
index 9a114d3..306e74e 100644
--- a/meta-gbs/recipes-phosphor/sensors/phosphor-nvme/nvme_config.json
+++ b/meta-gbs/recipes-phosphor/sensors/phosphor-nvme/nvme_config.json
@@ -163,9 +163,9 @@
     ],
     "threshold": [
         {
-            "criticalHigh": 70,
+            "criticalHigh": 77,
             "criticalLow": 0,
-            "warningHigh": 70,
+            "warningHigh": 77,
             "warningLow": 0,
             "maxValue": 127,
             "minValue": -128
diff --git a/meta-gbs/recipes-phosphor/sensors/phosphor-nvme/nvme_json_rewrite.sh b/meta-gbs/recipes-phosphor/sensors/phosphor-nvme/nvme_json_rewrite.sh
index 27ca98d..91dcb5c 100644
--- a/meta-gbs/recipes-phosphor/sensors/phosphor-nvme/nvme_json_rewrite.sh
+++ b/meta-gbs/recipes-phosphor/sensors/phosphor-nvme/nvme_json_rewrite.sh
@@ -202,9 +202,9 @@
     ],
     "threshold": [
         {
-            "criticalHigh": 70,
+            "criticalHigh": 77,
             "criticalLow": 0,
-            "warningHigh": 70,
+            "warningHigh": 77,
             "warningLow": 0,
             "maxValue": 127,
             "minValue": -128