schemas: Add properties for pid and pid_zone
Description:
Add "DCoefficient" in pid.json.
Add "AccumulateSetPoint", "CycleIntervalTimeMS",
and "UpdateThermalsTimeMS" in pid_zone.json.
These properties are implemented in following commits:
https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/58009
https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/58797
https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/59638
Tested:
Run run-ci.sh passed.
Change-Id: I8eec6e1f8d0abc7eeff035f206a7465a6e713bae
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
diff --git a/schemas/pid.json b/schemas/pid.json
index 06c31fa..4bff66b 100644
--- a/schemas/pid.json
+++ b/schemas/pid.json
@@ -7,6 +7,9 @@
"Class": {
"type": "string"
},
+ "DCoefficient": {
+ "type": "number"
+ },
"FFGainCoefficient": {
"type": "number"
},
diff --git a/schemas/pid_zone.json b/schemas/pid_zone.json
index 3905c13..7713dae 100644
--- a/schemas/pid_zone.json
+++ b/schemas/pid_zone.json
@@ -4,6 +4,12 @@
"PidZone": {
"type": "object",
"properties": {
+ "AccumulateSetPoint": {
+ "type": "boolean"
+ },
+ "CycleIntervalTimeMS": {
+ "type": "number"
+ },
"FailSafePercent": {
"type": "number"
},
@@ -15,6 +21,9 @@
},
"Type": {
"type": "string"
+ },
+ "UpdateThermalsTimeMS": {
+ "type": "number"
}
},
"required": ["FailSafePercent", "MinThermalOutput", "Name", "Type"]