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/Delta DPS-750XB PSU.json b/configurations/Delta DPS-750XB PSU.json
index 76b8194..f915ceb 100644
--- a/configurations/Delta DPS-750XB PSU.json
+++ b/configurations/Delta DPS-750XB PSU.json
@@ -2,10 +2,16 @@
{
"Exposes": [
{
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "Delta DPS-750XB PSU 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": "Delta DPS-750XB PSU FRU",
- "Type": "EEPROM"
}
],
"Name": "Delta DPS-750XB PSU 3",
@@ -71,10 +71,16 @@
{
"Exposes": [
{
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "Delta DPS-750XB PSU FRU",
+ "Type": "EEPROM"
+ },
+ {
"Address": "0x59",
"Bus": "$bus",
"Name": "PSU2",
- "Thresholds" : [
+ "Thresholds": [
{
"Direction": "greater than",
"Label": "pin",
@@ -119,12 +125,6 @@
}
],
"Type": "pmbus"
- },
- {
- "Address": "$address",
- "Bus": "$bus",
- "Name": "Delta DPS-750XB PSU FRU",
- "Type": "EEPROM"
}
],
"Name": "Delta DPS-750XB PSU 2",
@@ -140,10 +140,16 @@
{
"Exposes": [
{
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "Delta DPS-750XB PSU FRU",
+ "Type": "EEPROM"
+ },
+ {
"Address": "0x58",
"Bus": "$bus",
"Name": "PSU1",
- "Thresholds" : [
+ "Thresholds": [
{
"Direction": "greater than",
"Label": "pin",
@@ -188,12 +194,6 @@
}
],
"Type": "pmbus"
- },
- {
- "Address": "$address",
- "Bus": "$bus",
- "Name": "Delta DPS-750XB PSU FRU",
- "Type": "EEPROM"
}
],
"Name": "Delta DPS-750XB PSU 1",
@@ -206,4 +206,4 @@
"SerialNumber": "$BOARD_SERIAL_NUMBER"
}
}
-]
+]
\ No newline at end of file