pid: Add hysteresis fields
Add hysteresis fields so they display in redfish
Change-Id: I74b94f5b81e772a4c62295c598804c0fa2f1cee5
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/configurations/A2UL16RISER.json b/configurations/A2UL16RISER.json
index 88bd5c7..e7c0cad 100644
--- a/configurations/A2UL16RISER.json
+++ b/configurations/A2UL16RISER.json
@@ -124,4 +124,4 @@
"SerialNumber": "$BOARD_SERIAL_NUMBER"
}
}
-]
+]
\ No newline at end of file
diff --git a/configurations/FBTP.json b/configurations/FBTP.json
index 87754ab..39c3169 100644
--- a/configurations/FBTP.json
+++ b/configurations/FBTP.json
@@ -477,4 +477,4 @@
"PartNumber": "$PRODUCT_PART_NUMBER",
"SerialNumber": "$PRODUCT_SERIAL_NUMBER"
}
-}
+}
\ No newline at end of file
diff --git a/configurations/R1000 Chassis.json b/configurations/R1000 Chassis.json
index a2853b6..0ca3288 100644
--- a/configurations/R1000 Chassis.json
+++ b/configurations/R1000 Chassis.json
@@ -276,12 +276,14 @@
"Fan 1b"
],
"Name": "Fan 1",
+ "NegativeHysteresis": 0.0,
"OutLimitMax": 100.0,
"OutLimitMin": 30.0,
"Outputs": [
"Pwm 1"
],
"PCoefficient": 0.0,
+ "PositiveHysteresis": 0.0,
"SlewNeg": 0.0,
"SlewPos": 0.0,
"Type": "Pid",
@@ -301,12 +303,14 @@
"Fan 2b"
],
"Name": "Fan 2",
+ "NegativeHysteresis": 0.0,
"OutLimitMax": 100.0,
"OutLimitMin": 30.0,
"Outputs": [
"Pwm 2"
],
"PCoefficient": 0.0,
+ "PositiveHysteresis": 0.0,
"SlewNeg": 0.0,
"SlewPos": 0.0,
"Type": "Pid",
@@ -326,12 +330,14 @@
"Fan 3b"
],
"Name": "Fan 3",
+ "NegativeHysteresis": 0.0,
"OutLimitMax": 100.0,
"OutLimitMin": 30.0,
"Outputs": [
"Pwm 3"
],
"PCoefficient": 0.0,
+ "PositiveHysteresis": 0.0,
"SlewNeg": 0.0,
"SlewPos": 0.0,
"Type": "Pid",
@@ -351,12 +357,14 @@
"Fan 4b"
],
"Name": "Fan 4",
+ "NegativeHysteresis": 0.0,
"OutLimitMax": 100.0,
"OutLimitMin": 30.0,
"Outputs": [
"Pwm 4"
],
"PCoefficient": 0.0,
+ "PositiveHysteresis": 0.0,
"SlewNeg": 0.0,
"SlewPos": 0.0,
"Type": "Pid",
@@ -376,12 +384,14 @@
"Fan 5b"
],
"Name": "Fan 5",
+ "NegativeHysteresis": 0.0,
"OutLimitMax": 100.0,
"OutLimitMin": 30.0,
"Outputs": [
"Pwm 5"
],
"PCoefficient": 0.0,
+ "PositiveHysteresis": 0.0,
"SlewNeg": 0.0,
"SlewPos": 0.0,
"Type": "Pid",
@@ -401,12 +411,14 @@
"Fan 6b"
],
"Name": "Fan 6",
+ "NegativeHysteresis": 0.0,
"OutLimitMax": 100.0,
"OutLimitMin": 30.0,
"Outputs": [
"Pwm 6"
],
"PCoefficient": 0.0,
+ "PositiveHysteresis": 0.0,
"SlewNeg": 0.0,
"SlewPos": 0.0,
"Type": "Pid",
diff --git a/configurations/R2000 Chassis.json b/configurations/R2000 Chassis.json
index 20b1518..1c21562 100644
--- a/configurations/R2000 Chassis.json
+++ b/configurations/R2000 Chassis.json
@@ -167,12 +167,14 @@
"Fan 1"
],
"Name": "Fan 1",
+ "NegativeHysteresis": 0.0,
"OutLimitMax": 100.0,
"OutLimitMin": 30.0,
"Outputs": [
"Pwm 1"
],
"PCoefficient": 0.0,
+ "PositiveHysteresis": 0.0,
"SlewNeg": 0.0,
"SlewPos": 0.0,
"Type": "Pid",
@@ -191,12 +193,14 @@
"Fan 2"
],
"Name": "Fan 2",
+ "NegativeHysteresis": 0.0,
"OutLimitMax": 100.0,
"OutLimitMin": 30.0,
"Outputs": [
"Pwm 2"
],
"PCoefficient": 0.0,
+ "PositiveHysteresis": 0.0,
"SlewNeg": 0.0,
"SlewPos": 0.0,
"Type": "Pid",
@@ -215,12 +219,14 @@
"Fan 3"
],
"Name": "Fan 3",
+ "NegativeHysteresis": 0.0,
"OutLimitMax": 100.0,
"OutLimitMin": 30.0,
"Outputs": [
"Pwm 3"
],
"PCoefficient": 0.0,
+ "PositiveHysteresis": 0.0,
"SlewNeg": 0.0,
"SlewPos": 0.0,
"Type": "Pid",
@@ -239,12 +245,14 @@
"Fan 4"
],
"Name": "Fan 4",
+ "NegativeHysteresis": 0.0,
"OutLimitMax": 100.0,
"OutLimitMin": 30.0,
"Outputs": [
"Pwm 4"
],
"PCoefficient": 0.0,
+ "PositiveHysteresis": 0.0,
"SlewNeg": 0.0,
"SlewPos": 0.0,
"Type": "Pid",
@@ -263,12 +271,14 @@
"Fan 5"
],
"Name": "Fan 5",
+ "NegativeHysteresis": 0.0,
"OutLimitMax": 100.0,
"OutLimitMin": 30.0,
"Outputs": [
"Pwm 5"
],
"PCoefficient": 0.0,
+ "PositiveHysteresis": 0.0,
"SlewNeg": 0.0,
"SlewPos": 0.0,
"Type": "Pid",
@@ -287,12 +297,14 @@
"Fan 6"
],
"Name": "Fan 6",
+ "NegativeHysteresis": 0.0,
"OutLimitMax": 100.0,
"OutLimitMin": 30.0,
"Outputs": [
"Pwm 6"
],
"PCoefficient": 0.0,
+ "PositiveHysteresis": 0.0,
"SlewNeg": 0.0,
"SlewPos": 0.0,
"Type": "Pid",
@@ -353,4 +365,4 @@
"PartNumber": "R2104",
"SerialNumber": "23165"
}
-}
+}
\ No newline at end of file
diff --git a/configurations/WFT Baseboard.json b/configurations/WFT Baseboard.json
index 024e6fc..00688f0 100644
--- a/configurations/WFT Baseboard.json
+++ b/configurations/WFT Baseboard.json
@@ -863,10 +863,12 @@
"Core \\d+ CPU0"
],
"Name": "CPU0",
+ "NegativeHysteresis": 5.0,
"OutLimitMax": 100,
"OutLimitMin": 30,
"Outputs": [],
"PCoefficient": -3.0,
+ "PositiveHysteresis": 0.0,
"SetPoint": 45.0,
"SlewNeg": -1,
"SlewPos": 0.0,
@@ -886,10 +888,12 @@
"Core \\d+ CPU1"
],
"Name": "CPU1",
+ "NegativeHysteresis": 5.0,
"OutLimitMax": 100,
"OutLimitMin": 30,
"Outputs": [],
"PCoefficient": -3.0,
+ "PositiveHysteresis": 0.0,
"SetPoint": 45.0,
"SlewNeg": -1,
"SlewPos": 0.0,
@@ -1369,4 +1373,4 @@
"PartNumber": "$PRODUCT_PART_NUMBER",
"SerialNumber": "$PRODUCT_SERIAL_NUMBER"
}
-}
+}
\ No newline at end of file