schemas: legacy: remove PSM7
This config 'Type' is used in one config and appears to be a
configuration for PSUSensor. However, the string 'PSM7' does not appear
anywhere in the entire openbmc, not even in an oem repo [1].
Remove the 'Type' value 'PSM7' from schemas and the one config where it
was used.
The contributor of configurations/nf5280m7_baseboard.json is added for
review.
References:
[1] https://github.com/search?q=org%3Aopenbmc%20PSM7&type=code
Tested: Schema Validator Pass
Change-Id: I239f127745cd0ebda79b6edb9c8c2245dc23ad4b
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/configurations/nf5280m7_baseboard.json b/configurations/nf5280m7_baseboard.json
index c5adae8..e4985cb 100644
--- a/configurations/nf5280m7_baseboard.json
+++ b/configurations/nf5280m7_baseboard.json
@@ -504,86 +504,6 @@
"Type": "IpmbSensor"
},
{
- "Address": "0x58",
- "Bus": "11",
- "Labels": [
- "pin",
- "pout1",
- "vin",
- "vout1",
- "temp1",
- "temp3",
- "iin",
- "iout1"
- ],
- "Name": "PSU0",
- "Thresholds": [
- {
- "Direction": "greater than",
- "Label": "temp1",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 83
- },
- {
- "Direction": "greater than",
- "Label": "temp1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 85
- }
- ],
- "Type": "PSM7",
- "iin_Name": "PSU0_IIN",
- "iout1_Name": "PSU0_IOUT",
- "pin_Name": "PSU0_PIN",
- "pout1_Name": "PSU0_POUT",
- "temp1_Name": "PSU0_Inlet_Temp",
- "temp3_Name": "PSU0_Temp",
- "vin_Name": "PSU0_VIN",
- "vout1_Name": "PSU0_VOUT"
- },
- {
- "Address": "0x59",
- "Bus": "11",
- "Labels": [
- "pin",
- "pout1",
- "vin",
- "vout1",
- "temp1",
- "temp3",
- "iin",
- "iout1"
- ],
- "Name": "PSU1",
- "Thresholds": [
- {
- "Direction": "greater than",
- "Label": "temp1",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 83
- },
- {
- "Direction": "greater than",
- "Label": "temp1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 85
- }
- ],
- "Type": "PSM7",
- "iin_Name": "PSU1_IIN",
- "iout1_Name": "PSU1_IOUT",
- "pin_Name": "PSU1_PIN",
- "pout1_Name": "PSU1_POUT",
- "temp1_Name": "PSU1_Inlet_Temp",
- "temp3_Name": "PSU1_Temp",
- "vin_Name": "PSU1_VIN",
- "vout1_Name": "PSU1_VOUT"
- },
- {
"Address": "0x49",
"Bus": 200,
"Name": "Inlet_Temp",
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 8fe6a05..39d57b5 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -1096,7 +1096,7 @@
"$ref": "#/$defs/Types/Thresholds"
},
"Type": {
- "enum": ["ISL69269", "XDPE152C4D", "PSM7"]
+ "enum": ["ISL69269", "XDPE152C4D"]
}
},
"required": ["Name", "Type"],