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/firmware.json b/schemas/firmware.json
index 76e9c8a..6e4a543 100644
--- a/schemas/firmware.json
+++ b/schemas/firmware.json
@@ -15,6 +15,32 @@
                 }
             },
             "required": ["VendorIANA", "CompatibleHardware"]
+        },
+        "XDPE1X2XXFirmware": {
+            "description": "Required information to complete a voltage regulator firmware update",
+            "object": "object",
+            "properties": {
+                "Name": {
+                    "description": "Name of the firmware",
+                    "type": "string"
+                },
+                "Type": {
+                    "description": "The type of configuration object",
+                    "enum": ["XDPE1X2XXFirmware"]
+                },
+                "Bus": {
+                    "description": "I2C bus, the device is connected to",
+                    "type": "integer"
+                },
+                "Address": {
+                    "description": "I2C address of the device",
+                    "type": "integer"
+                },
+                "FirmwareInfo": {
+                    "$ref": "#/$defs/FirmwareInfoDef"
+                }
+            },
+            "required": ["Name", "Type", "Bus", "Address", "FirmwareInfo"]
         }
     }
 }
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"]