blob: 6e4a543ac378cd935dd028abd4d1ba2e8eb72dda [file] [log] [blame]
Jagpal Singh Gille6fc3b72024-11-20 18:09:28 -08001{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "$defs": {
4 "FirmwareInfoDef": {
5 "description": "This indicates the properties which apply to all firmwares",
6 "type": "object",
7 "properties": {
8 "VendorIANA": {
9 "description": "The IANA Enterprise Id of the hardware vendor",
10 "type": "number"
11 },
12 "CompatibleHardware": {
13 "description": "The compatible hardware with name format com.<vendor>.Hardware.<XXX> specified by vendor in phosphor-dbus-interfaces",
14 "type": "string"
15 }
16 },
Jagpal Singh Gill34f4d152025-02-18 22:58:24 -080017 "required": ["VendorIANA", "CompatibleHardware"]
Christopher Meisd64855f2025-01-24 08:36:48 +010018 },
19 "XDPE1X2XXFirmware": {
20 "description": "Required information to complete a voltage regulator firmware update",
21 "object": "object",
22 "properties": {
23 "Name": {
24 "description": "Name of the firmware",
25 "type": "string"
26 },
27 "Type": {
28 "description": "The type of configuration object",
29 "enum": ["XDPE1X2XXFirmware"]
30 },
31 "Bus": {
32 "description": "I2C bus, the device is connected to",
33 "type": "integer"
34 },
35 "Address": {
36 "description": "I2C address of the device",
37 "type": "integer"
38 },
39 "FirmwareInfo": {
40 "$ref": "#/$defs/FirmwareInfoDef"
41 }
42 },
43 "required": ["Name", "Type", "Bus", "Address", "FirmwareInfo"]
Jagpal Singh Gille6fc3b72024-11-20 18:09:28 -080044 }
45 }
46}