Add intial stepwise configuration example
This isn't based off of any fsc spreadsheet but it's good
to have one configuration as an example.
Change-Id: I7451264d446fcd28b774373895eb7a19c83043f6
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/configurations/Intel Front Panel.json b/configurations/Intel Front Panel.json
index c4319e8..068b352 100644
--- a/configurations/Intel Front Panel.json
+++ b/configurations/Intel Front Panel.json
@@ -37,6 +37,26 @@
}
],
"Type": "TMP75"
+ },
+ {
+ "Inputs": [
+ "Front Panel Temp"
+ ],
+ "Name": "Front Panel Temp",
+ "NegativeHysteresis": 2,
+ "Output": [
+ 3000.0,
+ 5000.0
+ ],
+ "PositiveHysteresis": 0,
+ "Reading": [
+ 20.0,
+ 30.0
+ ],
+ "Type": "Stepwise",
+ "Zones": [
+ "Pid 1"
+ ]
}
],
"Name": "Intel Front Panel",
diff --git a/configurations/WFT Baseboard.json b/configurations/WFT Baseboard.json
index 0db1be0..de11905 100644
--- a/configurations/WFT Baseboard.json
+++ b/configurations/WFT Baseboard.json
@@ -872,4 +872,4 @@
"PartNumber": "$PRODUCT_PART_NUMBER",
"SerialNumber": "$PRODUCT_PRODUCT_SERIAL_NUMBER"
}
-}
\ No newline at end of file
+}
diff --git a/schemas/global.json b/schemas/global.json
index 691b3c2..4be9d25 100644
--- a/schemas/global.json
+++ b/schemas/global.json
@@ -151,6 +151,36 @@
]
}
},
+ "Inputs": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "NegativeHysteresis": {
+ "type": "integer"
+ },
+ "Output": {
+ "type": "array",
+ "items": {
+ "type": "number"
+ }
+ },
+ "PositiveHysteresis": {
+ "type": "integer"
+ },
+ "Reading": {
+ "type": "array",
+ "items": {
+ "type": "number"
+ }
+ },
+ "Zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"BindConnector": {
"type": "string"
},
@@ -175,12 +205,6 @@
"ILimitMin": {
"type": "number"
},
- "Inputs": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
"OutLimitMax": {
"type": "number"
},
@@ -196,30 +220,18 @@
"PCoefficient": {
"type": "number"
},
- "SetPoint": {
- "type": "number"
- },
"SlewNeg": {
"type": "number"
},
"SlewPos": {
"type": "number"
},
- "Zones": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
"FailSafePercent": {
"type": "integer"
},
"MinThermalRpm": {
"type": "integer"
},
- "present": {
- "type": "integer"
- },
"Pwm": {
"type": "integer"
},
@@ -240,6 +252,9 @@
},
"CpuID": {
"type": "integer"
+ },
+ "SetPoint": {
+ "type": "number"
}
},
"required": [