schemas: legacy: extract IntelHsbpCPLD
Looks like [1] may be using this configuration.
Tested: Schema Validator Pass
References:
[1] https://github.com/openbmc/s2600wf-misc/
Change-Id: Id2f27ab26309e493d6aa954a741ba57ff95ac7ff
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/schemas/global.json b/schemas/global.json
index 9380e39..04213d9 100644
--- a/schemas/global.json
+++ b/schemas/global.json
@@ -130,6 +130,9 @@
"$ref": "legacy.json#/$defs/IntelHsbpTempSensor"
},
{
+ "$ref": "legacy.json#/$defs/IntelHsbpCPLD"
+ },
+ {
"$ref": "virtual_sensor.json#/$defs/VirtualSensor"
},
{
diff --git a/schemas/legacy.json b/schemas/legacy.json
index bd60009..6945506 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -988,6 +988,24 @@
}
}
},
+ "IntelHsbpCPLD": {
+ "description": "https://github.com/openbmc/s2600wf-misc",
+ "additionalProperties": false,
+ "properties": {
+ "Name": {
+ "$ref": "#/$defs/Types/Name"
+ },
+ "Address": {
+ "$ref": "#/$defs/Types/Address"
+ },
+ "Bus": {
+ "$ref": "#/$defs/Types/Bus"
+ },
+ "Type": {
+ "const": "Intel HSBP CPLD"
+ }
+ }
+ },
"Aggregate": {
"description": "Don't add additional properties to this schema. Consult README.schema for instructions on adding new Exposes element sub-schema.",
"additionalProperties": false,
@@ -1053,7 +1071,6 @@
"XDPE152C4D",
"UCD90160",
"UCD90320",
- "Intel HSBP CPLD",
"GenericSMBusMux",
"PSM7"
]