configurations: yosemite4: Revise the descriptor part of sensor name
Revise the descriptor part of sensor name to comply naming rule.
Change-Id: I8715e49ef19270089728936a16667163ed522f99
Signed-off-by: Lora Lin <lora.lin.wiwynn@gmail.com>
diff --git a/configurations/yosemite4_medusaboard_adc_ti_hsc_adi.json b/configurations/yosemite4_medusaboard_adc_ti_hsc_adi.json
index 090cf08..2c26d0f 100644
--- a/configurations/yosemite4_medusaboard_adc_ti_hsc_adi.json
+++ b/configurations/yosemite4_medusaboard_adc_ti_hsc_adi.json
@@ -10,7 +10,7 @@
"iout1",
"pin"
],
- "Name": "MEDUSA_48VHSC0",
+ "Name": "MEDUSA_HSC0_48V",
"Thresholds": [
{
"Direction": "greater than",
@@ -105,13 +105,13 @@
}
],
"Type": "ADM1272",
- "iout1_Name": "MEDUSA_48VHSC0_1_CURR_A",
+ "iout1_Name": "MEDUSA_HSC0_48V_1_CURR_A",
"iout1_Scale": 250,
- "pin_Name": "MEDUSA_48VHSC0_INPUT_1_PWR_W",
+ "pin_Name": "MEDUSA_HSC0_48V_INPUT_1_PWR_W",
"pin_Scale": 250000,
- "temp1_Name": "MEDUSA_48VHSC0_TEMP_C",
- "vin_Name": "MEDUSA_48VHSC0_INPUT_VOLT_V",
- "vout1_Name": "MEDUSA_48VHSC0_OUTPUT_VOLT_V"
+ "temp1_Name": "MEDUSA_HSC0_48V_TEMP_C",
+ "vin_Name": "MEDUSA_HSC0_48V_INPUT_VOLT_V",
+ "vout1_Name": "MEDUSA_HSC0_48V_OUTPUT_VOLT_V"
},
{
"Address": "0x12",
@@ -123,7 +123,7 @@
"iout1",
"pin"
],
- "Name": "MEDUSA_48VHSC1",
+ "Name": "MEDUSA_HSC1_48V",
"Thresholds": [
{
"Direction": "greater than",
@@ -218,13 +218,13 @@
}
],
"Type": "ADM1272",
- "iout1_Name": "MEDUSA_48VHSC1_1_CURR_A",
+ "iout1_Name": "MEDUSA_HSC1_48V_1_CURR_A",
"iout1_Scale": 250,
- "pin_Name": "MEDUSA_48VHSC1_INPUT_1_PWR_W",
+ "pin_Name": "MEDUSA_HSC1_48V_INPUT_1_PWR_W",
"pin_Scale": 250000,
- "temp1_Name": "MEDUSA_48VHSC1_TEMP_C",
- "vin_Name": "MEDUSA_48VHSC1_INPUT_VOLT_V",
- "vout1_Name": "MEDUSA_48VHSC1_OUTPUT_VOLT_V"
+ "temp1_Name": "MEDUSA_HSC1_48V_TEMP_C",
+ "vin_Name": "MEDUSA_HSC1_48V_INPUT_VOLT_V",
+ "vout1_Name": "MEDUSA_HSC1_48V_OUTPUT_VOLT_V"
},
{
"Address": "0x40",
@@ -236,7 +236,7 @@
"iout1",
"pin"
],
- "Name": "MEDUSA_MB1_12VHSC",
+ "Name": "MEDUSA_MB1_HSC_12V",
"PowerState": "ChassisOn",
"SlotId": "1",
"Thresholds": [
@@ -333,13 +333,13 @@
}
],
"Type": "ADM1281",
- "iout1_Name": "MEDUSA_MB1_12VHSC_1_CURR_A",
+ "iout1_Name": "MEDUSA_MB1_HSC_12V_1_CURR_A",
"iout1_Scale": 500,
- "pin_Name": "MEDUSA_MB1_12VHSC_INPUT_1_PWR_W",
+ "pin_Name": "MEDUSA_MB1_HSC_12V_INPUT_1_PWR_W",
"pin_Scale": 500000,
- "temp1_Name": "MEDUSA_MB1_12VHSC_TEMP_C",
- "vin_Name": "MEDUSA_MB1_12VHSC_INPUT_VOLT_V",
- "vout1_Name": "MEDUSA_MB1_12VHSC_OUTPUT_VOLT_V"
+ "temp1_Name": "MEDUSA_MB1_HSC_12V_TEMP_C",
+ "vin_Name": "MEDUSA_MB1_HSC_12V_INPUT_VOLT_V",
+ "vout1_Name": "MEDUSA_MB1_HSC_12V_OUTPUT_VOLT_V"
},
{
"Address": "0x40",
@@ -351,7 +351,7 @@
"iout1",
"pin"
],
- "Name": "MEDUSA_MB2_12VHSC",
+ "Name": "MEDUSA_MB2_HSC_12V",
"PowerState": "ChassisOn",
"SlotId": "2",
"Thresholds": [
@@ -448,13 +448,13 @@
}
],
"Type": "ADM1281",
- "iout1_Name": "MEDUSA_MB2_12VHSC_1_CURR_A",
+ "iout1_Name": "MEDUSA_MB2_HSC_12V_1_CURR_A",
"iout1_Scale": 500,
- "pin_Name": "MEDUSA_MB2_12VHSC_INPUT_1_PWR_W",
+ "pin_Name": "MEDUSA_MB2_HSC_12V_INPUT_1_PWR_W",
"pin_Scale": 500000,
- "temp1_Name": "MEDUSA_MB2_12VHSC_TEMP_C",
- "vin_Name": "MEDUSA_MB2_12VHSC_INPUT_VOLT_V",
- "vout1_Name": "MEDUSA_MB2_12VHSC_OUTPUT_VOLT_V"
+ "temp1_Name": "MEDUSA_MB2_HSC_12V_TEMP_C",
+ "vin_Name": "MEDUSA_MB2_HSC_12V_INPUT_VOLT_V",
+ "vout1_Name": "MEDUSA_MB2_HSC_12V_OUTPUT_VOLT_V"
},
{
"Address": "0x40",
@@ -466,7 +466,7 @@
"iout1",
"pin"
],
- "Name": "MEDUSA_MB3_12VHSC",
+ "Name": "MEDUSA_MB3_HSC_12V",
"PowerState": "ChassisOn",
"SlotId": "3",
"Thresholds": [
@@ -563,13 +563,13 @@
}
],
"Type": "ADM1281",
- "iout1_Name": "MEDUSA_MB3_12VHSC_1_CURR_A",
+ "iout1_Name": "MEDUSA_MB3_HSC_12V_1_CURR_A",
"iout1_Scale": 500,
- "pin_Name": "MEDUSA_MB3_12VHSC_INPUT_1_PWR_W",
+ "pin_Name": "MEDUSA_MB3_HSC_12V_INPUT_1_PWR_W",
"pin_Scale": 500000,
- "temp1_Name": "MEDUSA_MB3_12VHSC_TEMP_C",
- "vin_Name": "MEDUSA_MB3_12VHSC_INPUT_VOLT_V",
- "vout1_Name": "MEDUSA_MB3_12VHSC_OUTPUT_VOLT_V"
+ "temp1_Name": "MEDUSA_MB3_HSC_12V_TEMP_C",
+ "vin_Name": "MEDUSA_MB3_HSC_12V_INPUT_VOLT_V",
+ "vout1_Name": "MEDUSA_MB3_HSC_12V_OUTPUT_VOLT_V"
},
{
"Address": "0x40",
@@ -581,7 +581,7 @@
"iout1",
"pin"
],
- "Name": "MEDUSA_MB4_12VHSC",
+ "Name": "MEDUSA_MB4_HSC_12V",
"PowerState": "ChassisOn",
"SlotId": "4",
"Thresholds": [
@@ -678,13 +678,13 @@
}
],
"Type": "ADM1281",
- "iout1_Name": "MEDUSA_MB4_12VHSC_1_CURR_A",
+ "iout1_Name": "MEDUSA_MB4_HSC_12V_1_CURR_A",
"iout1_Scale": 500,
- "pin_Name": "MEDUSA_MB4_12VHSC_INPUT_1_PWR_W",
+ "pin_Name": "MEDUSA_MB4_HSC_12V_INPUT_1_PWR_W",
"pin_Scale": 500000,
- "temp1_Name": "MEDUSA_MB4_12VHSC_TEMP_C",
- "vin_Name": "MEDUSA_MB4_12VHSC_INPUT_VOLT_V",
- "vout1_Name": "MEDUSA_MB4_12VHSC_OUTPUT_VOLT_V"
+ "temp1_Name": "MEDUSA_MB4_HSC_12V_TEMP_C",
+ "vin_Name": "MEDUSA_MB4_HSC_12V_INPUT_VOLT_V",
+ "vout1_Name": "MEDUSA_MB4_HSC_12V_OUTPUT_VOLT_V"
},
{
"Address": "0x40",
@@ -696,7 +696,7 @@
"iout1",
"pin"
],
- "Name": "MEDUSA_MB5_12VHSC",
+ "Name": "MEDUSA_MB5_HSC_12V",
"PowerState": "ChassisOn",
"SlotId": "5",
"Thresholds": [
@@ -793,13 +793,13 @@
}
],
"Type": "ADM1281",
- "iout1_Name": "MEDUSA_MB5_12VHSC_1_CURR_A",
+ "iout1_Name": "MEDUSA_MB5_HSC_12V_1_CURR_A",
"iout1_Scale": 500,
- "pin_Name": "MEDUSA_MB5_12VHSC_INPUT_1_PWR_W",
+ "pin_Name": "MEDUSA_MB5_HSC_12V_INPUT_1_PWR_W",
"pin_Scale": 500000,
- "temp1_Name": "MEDUSA_MB5_12VHSC_TEMP_C",
- "vin_Name": "MEDUSA_MB5_12VHSC_INPUT_VOLT_V",
- "vout1_Name": "MEDUSA_MB5_12VHSC_OUTPUT_VOLT_V"
+ "temp1_Name": "MEDUSA_MB5_HSC_12V_TEMP_C",
+ "vin_Name": "MEDUSA_MB5_HSC_12V_INPUT_VOLT_V",
+ "vout1_Name": "MEDUSA_MB5_HSC_12V_OUTPUT_VOLT_V"
},
{
"Address": "0x40",
@@ -811,7 +811,7 @@
"iout1",
"pin"
],
- "Name": "MEDUSA_MB6_12VHSC",
+ "Name": "MEDUSA_MB6_HSC_12V",
"PowerState": "ChassisOn",
"SlotId": "6",
"Thresholds": [
@@ -908,13 +908,13 @@
}
],
"Type": "ADM1281",
- "iout1_Name": "MEDUSA_MB6_12VHSC_1_CURR_A",
+ "iout1_Name": "MEDUSA_MB6_HSC_12V_1_CURR_A",
"iout1_Scale": 500,
- "pin_Name": "MEDUSA_MB6_12VHSC_INPUT_1_PWR_W",
+ "pin_Name": "MEDUSA_MB6_HSC_12V_INPUT_1_PWR_W",
"pin_Scale": 500000,
- "temp1_Name": "MEDUSA_MB6_12VHSC_TEMP_C",
- "vin_Name": "MEDUSA_MB6_12VHSC_INPUT_VOLT_V",
- "vout1_Name": "MEDUSA_MB6_12VHSC_OUTPUT_VOLT_V"
+ "temp1_Name": "MEDUSA_MB6_HSC_12V_TEMP_C",
+ "vin_Name": "MEDUSA_MB6_HSC_12V_INPUT_VOLT_V",
+ "vout1_Name": "MEDUSA_MB6_HSC_12V_OUTPUT_VOLT_V"
},
{
"Address": "0x40",
@@ -926,7 +926,7 @@
"iout1",
"pin"
],
- "Name": "MEDUSA_MB7_12VHSC",
+ "Name": "MEDUSA_MB7_HSC_12V",
"PowerState": "ChassisOn",
"SlotId": "7",
"Thresholds": [
@@ -1023,13 +1023,13 @@
}
],
"Type": "ADM1281",
- "iout1_Name": "MEDUSA_MB7_12VHSC_1_CURR_A",
+ "iout1_Name": "MEDUSA_MB7_HSC_12V_1_CURR_A",
"iout1_Scale": 500,
- "pin_Name": "MEDUSA_MB7_12VHSC_INPUT_1_PWR_W",
+ "pin_Name": "MEDUSA_MB7_HSC_12V_INPUT_1_PWR_W",
"pin_Scale": 500000,
- "temp1_Name": "MEDUSA_MB7_12VHSC_TEMP_C",
- "vin_Name": "MEDUSA_MB7_12VHSC_INPUT_VOLT_V",
- "vout1_Name": "MEDUSA_MB7_12VHSC_OUTPUT_VOLT_V"
+ "temp1_Name": "MEDUSA_MB7_HSC_12V_TEMP_C",
+ "vin_Name": "MEDUSA_MB7_HSC_12V_INPUT_VOLT_V",
+ "vout1_Name": "MEDUSA_MB7_HSC_12V_OUTPUT_VOLT_V"
},
{
"Address": "0x40",
@@ -1041,7 +1041,7 @@
"iout1",
"pin"
],
- "Name": "MEDUSA_MB8_12VHSC",
+ "Name": "MEDUSA_MB8_HSC_12V",
"PowerState": "ChassisOn",
"SlotId": "8",
"Thresholds": [
@@ -1138,13 +1138,13 @@
}
],
"Type": "ADM1281",
- "iout1_Name": "MEDUSA_MB8_12VHSC_1_CURR_A",
+ "iout1_Name": "MEDUSA_MB8_HSC_12V_1_CURR_A",
"iout1_Scale": 500,
- "pin_Name": "MEDUSA_MB8_12VHSC_INPUT_1_PWR_W",
+ "pin_Name": "MEDUSA_MB8_HSC_12V_INPUT_1_PWR_W",
"pin_Scale": 500000,
- "temp1_Name": "MEDUSA_MB8_12VHSC_TEMP_C",
- "vin_Name": "MEDUSA_MB8_12VHSC_INPUT_VOLT_V",
- "vout1_Name": "MEDUSA_MB8_12VHSC_OUTPUT_VOLT_V"
+ "temp1_Name": "MEDUSA_MB8_HSC_12V_TEMP_C",
+ "vin_Name": "MEDUSA_MB8_HSC_12V_INPUT_VOLT_V",
+ "vout1_Name": "MEDUSA_MB8_HSC_12V_OUTPUT_VOLT_V"
},
{
"Address": "0x41",
@@ -1199,7 +1199,7 @@
"iout1",
"pin"
],
- "Name": "MEDUSA_12VEFFUSE",
+ "Name": "MEDUSA_EFFUSE_12V",
"Thresholds": [
{
"Direction": "greater than",
@@ -1336,11 +1336,11 @@
}
],
"Type": "MP5023",
- "iout1_Name": "MEDUSA_12VEFFUSE_CURR_A",
- "pin_Name": "MEDUSA_12VEFFUSE_INPUT_PWR_W",
- "temp1_Name": "MEDUSA_12VEFFUSE_TEMP_C",
- "vin_Name": "MEDUSA_12VEFFUSE_INPUT_VOLT_V",
- "vout1_Name": "MEDUSA_12VEFFUSE_OUTPUT_VOLT_V"
+ "iout1_Name": "MEDUSA_EFFUSE_12V_CURR_A",
+ "pin_Name": "MEDUSA_EFFUSE_12V_INPUT_PWR_W",
+ "temp1_Name": "MEDUSA_EFFUSE_12V_TEMP_C",
+ "vin_Name": "MEDUSA_EFFUSE_12V_INPUT_VOLT_V",
+ "vout1_Name": "MEDUSA_EFFUSE_12V_OUTPUT_VOLT_V"
},
{
"CheckHysteresisWithSetpoint": true,
@@ -1352,10 +1352,10 @@
"ILimitMax": 100,
"ILimitMin": -50,
"Inputs": [
- "MEDUSA_12VDELTA0_TEMP_C",
- "MEDUSA_12VDELTA1_TEMP_C",
- "MEDUSA_12VDELTA2_TEMP_C",
- "MEDUSA_12VDELTA3_TEMP_C"
+ "MEDUSA_DELTA0_12V_TEMP_C",
+ "MEDUSA_DELTA1_12V_TEMP_C",
+ "MEDUSA_DELTA2_12V_TEMP_C",
+ "MEDUSA_DELTA3_12V_TEMP_C"
],
"Name": "PID_MEDUSA_12VDELTA",
"NegativeHysteresis": 3.0,
@@ -1374,10 +1374,10 @@
{
"Class": "temp",
"Inputs": [
- "MEDUSA_48VHSC0_TEMP_C",
- "MEDUSA_48VHSC1_TEMP_C",
- "MEDUSA_0_TEMP_C",
- "MEDUSA_1_TEMP_C"
+ "MEDUSA_HSC0_48V_TEMP_C",
+ "MEDUSA_HSC1_48V_TEMP_C",
+ "MEDUSA0_TEMP_C",
+ "MEDUSA1_TEMP_C"
],
"Name": "Stepwise_MEDUSA_Non_Critical_Sensors",
"NegativeHysteresis": 0,
@@ -1397,14 +1397,14 @@
"Class": "temp",
"InputUnavailableAsFailed": false,
"Inputs": [
- "MEDUSA_MB1_12VHSC_TEMP_C",
- "MEDUSA_MB2_12VHSC_TEMP_C",
- "MEDUSA_MB3_12VHSC_TEMP_C",
- "MEDUSA_MB4_12VHSC_TEMP_C",
- "MEDUSA_MB5_12VHSC_TEMP_C",
- "MEDUSA_MB6_12VHSC_TEMP_C",
- "MEDUSA_MB7_12VHSC_TEMP_C",
- "MEDUSA_MB8_12VHSC_TEMP_C"
+ "MEDUSA_MB1_HSC_12V_TEMP_C",
+ "MEDUSA_MB2_HSC_12V_TEMP_C",
+ "MEDUSA_MB3_HSC_12V_TEMP_C",
+ "MEDUSA_MB4_HSC_12V_TEMP_C",
+ "MEDUSA_MB5_HSC_12V_TEMP_C",
+ "MEDUSA_MB6_HSC_12V_TEMP_C",
+ "MEDUSA_MB7_HSC_12V_TEMP_C",
+ "MEDUSA_MB8_HSC_12V_TEMP_C"
],
"Name": "Stepwise_MEDUSA_MB_12VHSC",
"NegativeHysteresis": 0,
@@ -1423,10 +1423,10 @@
{
"Class": "temp",
"Inputs": [
- "MEDUSA_12VDELTA0_TEMP_C",
- "MEDUSA_12VDELTA1_TEMP_C",
- "MEDUSA_12VDELTA2_TEMP_C",
- "MEDUSA_12VDELTA3_TEMP_C"
+ "MEDUSA_DELTA0_12V_TEMP_C",
+ "MEDUSA_DELTA1_12V_TEMP_C",
+ "MEDUSA_DELTA2_12V_TEMP_C",
+ "MEDUSA_DELTA3_12V_TEMP_C"
],
"Name": "Stepwise_MEDUSA_12VDELTA",
"NegativeHysteresis": 2,
@@ -1455,7 +1455,7 @@
{
"Address": "0x48",
"Bus": 11,
- "Name": "MEDUSA_0_TEMP_C",
+ "Name": "MEDUSA0_TEMP_C",
"Thresholds": [
{
"Direction": "greater than",
@@ -1469,7 +1469,7 @@
{
"Address": "0x49",
"Bus": 11,
- "Name": "MEDUSA_1_TEMP_C",
+ "Name": "MEDUSA1_TEMP_C",
"Thresholds": [
{
"Direction": "greater than",
@@ -1489,7 +1489,7 @@
"vout1",
"iout1"
],
- "Name": "MEDUSA_12VDELTA0",
+ "Name": "MEDUSA_DELTA0_12V",
"Thresholds": [
{
"Direction": "greater than",
@@ -1605,10 +1605,10 @@
}
],
"Type": "pmbus",
- "iout1_Name": "MEDUSA_12VDELTA0_CURR_A",
- "temp1_Name": "MEDUSA_12VDELTA0_TEMP_C",
- "vin_Name": "MEDUSA_12VDELTA0_INPUT_VOLT_V",
- "vout1_Name": "MEDUSA_12VDELTA0_OUTPUT_VOLT_V"
+ "iout1_Name": "MEDUSA_DELTA0_12V_CURR_A",
+ "temp1_Name": "MEDUSA_DELTA0_12V_TEMP_C",
+ "vin_Name": "MEDUSA_DELTA0_12V_INPUT_VOLT_V",
+ "vout1_Name": "MEDUSA_DELTA0_12V_OUTPUT_VOLT_V"
},
{
"Address": "0x64",
@@ -1619,7 +1619,7 @@
"vout1",
"iout1"
],
- "Name": "MEDUSA_12VDELTA1",
+ "Name": "MEDUSA_DELTA1_12V",
"Thresholds": [
{
"Direction": "greater than",
@@ -1735,10 +1735,10 @@
}
],
"Type": "pmbus",
- "iout1_Name": "MEDUSA_12VDELTA1_CURR_A",
- "temp1_Name": "MEDUSA_12VDELTA1_TEMP_C",
- "vin_Name": "MEDUSA_12VDELTA1_INPUT_VOLT_V",
- "vout1_Name": "MEDUSA_12VDELTA1_OUTPUT_VOLT_V"
+ "iout1_Name": "MEDUSA_DELTA1_12V_CURR_A",
+ "temp1_Name": "MEDUSA_DELTA1_12V_TEMP_C",
+ "vin_Name": "MEDUSA_DELTA1_12V_INPUT_VOLT_V",
+ "vout1_Name": "MEDUSA_DELTA1_12V_OUTPUT_VOLT_V"
},
{
"Address": "0x65",
@@ -1749,7 +1749,7 @@
"vout1",
"iout1"
],
- "Name": "MEDUSA_12VDELTA2",
+ "Name": "MEDUSA_DELTA2_12V",
"Thresholds": [
{
"Direction": "greater than",
@@ -1865,10 +1865,10 @@
}
],
"Type": "pmbus",
- "iout1_Name": "MEDUSA_12VDELTA2_CURR_A",
- "temp1_Name": "MEDUSA_12VDELTA2_TEMP_C",
- "vin_Name": "MEDUSA_12VDELTA2_INPUT_VOLT_V",
- "vout1_Name": "MEDUSA_12VDELTA2_OUTPUT_VOLT_V"
+ "iout1_Name": "MEDUSA_DELTA2_12V_CURR_A",
+ "temp1_Name": "MEDUSA_DELTA2_12V_TEMP_C",
+ "vin_Name": "MEDUSA_DELTA2_12V_INPUT_VOLT_V",
+ "vout1_Name": "MEDUSA_DELTA2_12V_OUTPUT_VOLT_V"
},
{
"Address": "0x68",
@@ -1879,7 +1879,7 @@
"vout1",
"iout1"
],
- "Name": "MEDUSA_12VDELTA3",
+ "Name": "MEDUSA_DELTA3_12V",
"Thresholds": [
{
"Direction": "greater than",
@@ -1995,10 +1995,10 @@
}
],
"Type": "pmbus",
- "iout1_Name": "MEDUSA_12VDELTA3_CURR_A",
- "temp1_Name": "MEDUSA_12VDELTA3_TEMP_C",
- "vin_Name": "MEDUSA_12VDELTA3_INPUT_VOLT_V",
- "vout1_Name": "MEDUSA_12VDELTA3_OUTPUT_VOLT_V"
+ "iout1_Name": "MEDUSA_DELTA3_12V_CURR_A",
+ "temp1_Name": "MEDUSA_DELTA3_12V_TEMP_C",
+ "vin_Name": "MEDUSA_DELTA3_12V_INPUT_VOLT_V",
+ "vout1_Name": "MEDUSA_DELTA3_12V_OUTPUT_VOLT_V"
}
],
"Name": "Yosemite 4 Medusa Board",