Sort Exposes Alphabetically By Type
This makes it much easier to find components of
a specific type because they will be grouped together.
Tested: Sensor list was still the same
Change-Id: Iab15be34e003be1aac120864c18a80eaaa9b391c
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/configurations/PSSF132202A.json b/configurations/PSSF132202A.json
index 4471887..0f19b1a 100644
--- a/configurations/PSSF132202A.json
+++ b/configurations/PSSF132202A.json
@@ -2,10 +2,16 @@
{
"Exposes": [
{
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "Solum 1300W PSU 3 FRU",
+ "Type": "EEPROM"
+ },
+ {
"Address": "0x5a",
"Bus": "$bus",
"Name": "PSU3",
- "Thresholds" : [
+ "Thresholds": [
{
"Direction": "greater than",
"Label": "pin",
@@ -50,12 +56,6 @@
}
],
"Type": "pmbus"
- },
- {
- "Address": "$address",
- "Bus": "$bus",
- "Name": "Solum 1300W PSU 3 FRU",
- "Type": "EEPROM"
}
],
"Name": "Solum 1300W PSU 3",
@@ -68,14 +68,19 @@
"SerialNumber": "$PRODUCT_SERIAL_NUMBER"
}
},
-
{
"Exposes": [
{
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "Solum 1300W PSU 2 FRU",
+ "Type": "EEPROM"
+ },
+ {
"Address": "0x59",
"Bus": "$bus",
"Name": "PSU2",
- "Thresholds" : [
+ "Thresholds": [
{
"Direction": "greater than",
"Label": "pin",
@@ -120,12 +125,6 @@
}
],
"Type": "pmbus"
- },
- {
- "Address": "$address",
- "Bus": "$bus",
- "Name": "Solum 1300W PSU 2 FRU",
- "Type": "EEPROM"
}
],
"Name": "Solum 1300W PSU 2",
@@ -141,10 +140,16 @@
{
"Exposes": [
{
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "Solum 1300W PSU 1 FRU",
+ "Type": "EEPROM"
+ },
+ {
"Address": "0x58",
"Bus": "$bus",
"Name": "PSU1",
- "Thresholds" : [
+ "Thresholds": [
{
"Direction": "greater than",
"Label": "pin",
@@ -189,12 +194,6 @@
}
],
"Type": "pmbus"
- },
- {
- "Address": "$address",
- "Bus": "$bus",
- "Name": "Solum 1300W PSU 1 FRU",
- "Type": "EEPROM"
}
],
"Name": "Solum 1300W PSU 1",
@@ -207,4 +206,4 @@
"SerialNumber": "$PRODUCT_SERIAL_NUMBER"
}
}
-]
+]
\ No newline at end of file