Format config files with autojson
Clearly the CI integration for code formatting isn't working. Not sure
why, but for the moment, lets just format everything correctly.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I227e2280ca80b4638fbf59b6507fb82a9b0ca99c
diff --git a/configurations/FBTP.json b/configurations/FBTP.json
index ebc0544..f271b67 100644
--- a/configurations/FBTP.json
+++ b/configurations/FBTP.json
@@ -257,6 +257,178 @@
"Type": "Gpio"
},
{
+ "Address": "0x40",
+ "Bus": 19,
+ "CurrScaleFactor": 200,
+ "Labels": [
+ "in1",
+ "curr1",
+ "power1"
+ ],
+ "Name": "MB_C2_P12V_INA230",
+ "PowerScaleFactor": 200000,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "in1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 12.96
+ },
+ {
+ "Direction": "less than",
+ "Label": "in1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 11.04
+ },
+ {
+ "Direction": "greater than",
+ "Label": "curr1",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 5.5
+ },
+ {
+ "Direction": "greater than",
+ "Label": "power1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 75.0
+ }
+ ],
+ "Type": "INA230"
+ },
+ {
+ "Address": "0x41",
+ "Bus": 19,
+ "CurrScaleFactor": 200,
+ "Labels": [
+ "in1",
+ "curr1",
+ "power1"
+ ],
+ "Name": "MB_C3_P12V_INA230",
+ "PowerScaleFactor": 200000,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "in1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 12.96
+ },
+ {
+ "Direction": "less than",
+ "Label": "in1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 11.04
+ },
+ {
+ "Direction": "greater than",
+ "Label": "curr1",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 5.5
+ },
+ {
+ "Direction": "greater than",
+ "Label": "power1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 75.0
+ }
+ ],
+ "Type": "INA230"
+ },
+ {
+ "Address": "0x44",
+ "Bus": 19,
+ "CurrScaleFactor": 200,
+ "Labels": [
+ "in1",
+ "curr1",
+ "power1"
+ ],
+ "Name": "MB_C4_P12V_INA230",
+ "PowerScaleFactor": 200000,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "in1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 12.96
+ },
+ {
+ "Direction": "less than",
+ "Label": "in1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 11.04
+ },
+ {
+ "Direction": "greater than",
+ "Label": "curr1",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 5.5
+ },
+ {
+ "Direction": "greater than",
+ "Label": "power1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 75.0
+ }
+ ],
+ "Type": "INA230"
+ },
+ {
+ "Address": "0x45",
+ "Bus": 19,
+ "CurrScaleFactor": 200,
+ "Labels": [
+ "in1",
+ "curr1",
+ "power1"
+ ],
+ "Name": "MB_CONN_P12V_INA230",
+ "PowerScaleFactor": 200000,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "in1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 12.96
+ },
+ {
+ "Direction": "less than",
+ "Label": "in1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 11.04
+ },
+ {
+ "Direction": "greater than",
+ "Label": "curr1",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 20.0
+ },
+ {
+ "Direction": "greater than",
+ "Label": "power1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 250.0
+ }
+ ],
+ "Type": "INA230"
+ },
+ {
"Address": "0x08",
"Class": "METemp",
"Name": "MB_PCH_TEMP",
@@ -1394,178 +1566,6 @@
}
],
"Type": "pmbus"
- },
- {
- "Address": "0x40",
- "Bus": 19,
- "CurrScaleFactor": 200,
- "Labels": [
- "in1",
- "curr1",
- "power1"
- ],
- "Name": "MB_C2_P12V_INA230",
- "PowerScaleFactor": 200000,
- "Thresholds": [
- {
- "Direction": "greater than",
- "Label": "in1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 12.96
- },
- {
- "Direction": "less than",
- "Label": "in1",
- "Name": "lower critical",
- "Severity": 1,
- "Value": 11.04
- },
- {
- "Direction": "greater than",
- "Label": "curr1",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 5.5
- },
- {
- "Direction": "greater than",
- "Label": "power1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 75.0
- }
- ],
- "Type": "INA230"
- },
- {
- "Address": "0x41",
- "Bus": 19,
- "CurrScaleFactor": 200,
- "Labels": [
- "in1",
- "curr1",
- "power1"
- ],
- "Name": "MB_C3_P12V_INA230",
- "PowerScaleFactor": 200000,
- "Thresholds": [
- {
- "Direction": "greater than",
- "Label": "in1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 12.96
- },
- {
- "Direction": "less than",
- "Label": "in1",
- "Name": "lower critical",
- "Severity": 1,
- "Value": 11.04
- },
- {
- "Direction": "greater than",
- "Label": "curr1",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 5.5
- },
- {
- "Direction": "greater than",
- "Label": "power1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 75.0
- }
- ],
- "Type": "INA230"
- },
- {
- "Address": "0x44",
- "Bus": 19,
- "CurrScaleFactor": 200,
- "Labels": [
- "in1",
- "curr1",
- "power1"
- ],
- "Name": "MB_C4_P12V_INA230",
- "PowerScaleFactor": 200000,
- "Thresholds": [
- {
- "Direction": "greater than",
- "Label": "in1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 12.96
- },
- {
- "Direction": "less than",
- "Label": "in1",
- "Name": "lower critical",
- "Severity": 1,
- "Value": 11.04
- },
- {
- "Direction": "greater than",
- "Label": "curr1",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 5.5
- },
- {
- "Direction": "greater than",
- "Label": "power1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 75.0
- }
- ],
- "Type": "INA230"
- },
- {
- "Address": "0x45",
- "Bus": 19,
- "CurrScaleFactor": 200,
- "Labels": [
- "in1",
- "curr1",
- "power1"
- ],
- "Name": "MB_CONN_P12V_INA230",
- "PowerScaleFactor": 200000,
- "Thresholds": [
- {
- "Direction": "greater than",
- "Label": "in1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 12.96
- },
- {
- "Direction": "less than",
- "Label": "in1",
- "Name": "lower critical",
- "Severity": 1,
- "Value": 11.04
- },
- {
- "Direction": "greater than",
- "Label": "curr1",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 20.0
- },
- {
- "Direction": "greater than",
- "Label": "power1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 250.0
- }
- ],
- "Type": "INA230"
}
],
"Name": "TiogaPass Baseboard",