Add schema for fw update of Infineon XDPE1X2XX class of devices
Add voltage regulators update schema such as:
- Name - Name of the regulator
- Type - Enum of supported devices or device classes.
- Bus (I2C), which the VR is connected to
- Address(I2C) on the bus.
- FirmwareInfo (VendorIANA, Compatible)
Change-Id: I8a5979afa7cc2558829639fc31a8f6751ea2e161
Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
diff --git a/schemas/global.json b/schemas/global.json
index 75aeb41..64a243c 100644
--- a/schemas/global.json
+++ b/schemas/global.json
@@ -44,6 +44,9 @@
"$ref": "leak_detector.json#/$defs/GPIOLeakDetector"
},
{
+ "$ref": "firmware.json#/$defs/XDPE1X2XXFirmware"
+ },
+ {
"description": "Ensure the parent anyOf schema does not validate when an element does not define a type property.",
"not": {
"required": ["Type"]