meta-facebook: ventura: Modify RMC sensor scale and threshold setting
Modify RMC sensor setting for PWR and CURR accuracy.
Change-Id: I0b43a0a11245bafa788a5d340d43d0bc0e0d411c
Signed-off-by: Jason Hsu <jason-hsu@quantatw.com>
diff --git a/configurations/meta/ventura_rmc.json b/configurations/meta/ventura_rmc.json
index 3856dde..4152836 100644
--- a/configurations/meta/ventura_rmc.json
+++ b/configurations/meta/ventura_rmc.json
@@ -12,20 +12,6 @@
"Thresholds": [
{
"Direction": "greater than",
- "Label": "curr1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 8.33
- },
- {
- "Direction": "less than",
- "Label": "curr1",
- "Name": "lower critical",
- "Severity": 1,
- "Value": -0.05
- },
- {
- "Direction": "greater than",
"Label": "in1",
"Name": "upper critical",
"Severity": 1,
@@ -43,18 +29,12 @@
"Label": "power1",
"Name": "upper critical",
"Severity": 1,
- "Value": 199.92
- },
- {
- "Direction": "less than",
- "Label": "power1",
- "Name": "lower critical",
- "Severity": 1,
- "Value": 0
+ "Value": 144
}
],
"Type": "INA230",
"curr1_Name": "RMC_M12_P24V_CURR_A",
+ "in1_Max": 36,
"in1_Name": "RMC_M12_P24V_VOLT_V",
"power1_Name": "RMC_M12_P24V_PWR_W"
},
@@ -70,20 +50,6 @@
"Thresholds": [
{
"Direction": "greater than",
- "Label": "curr1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 8.33
- },
- {
- "Direction": "less than",
- "Label": "curr1",
- "Name": "lower critical",
- "Severity": 1,
- "Value": -0.05
- },
- {
- "Direction": "greater than",
"Label": "in1",
"Name": "upper critical",
"Severity": 1,
@@ -101,18 +67,12 @@
"Label": "power1",
"Name": "upper critical",
"Severity": 1,
- "Value": 199.92
- },
- {
- "Direction": "less than",
- "Label": "power1",
- "Name": "lower critical",
- "Severity": 1,
- "Value": 0
+ "Value": 105.6
}
],
"Type": "INA230",
"curr1_Name": "RMC_RJ14_P24V_CURR_A",
+ "in1_Max": 36,
"in1_Name": "RMC_RJ14_P24V_VOLT_V",
"power1_Name": "RMC_RJ14_P24V_PWR_W"
},
@@ -125,18 +85,11 @@
"Name": "RMC_MEDUSA_RETURN",
"Thresholds": [
{
- "Direction": "less than",
- "Label": "in0",
- "Name": "lower critical",
- "Severity": 1,
- "Value": 10.8
- },
- {
"Direction": "greater than",
"Label": "in0",
"Name": "upper critical",
"Severity": 1,
- "Value": 13.2
+ "Value": 200
}
],
"Type": "INA238",
@@ -151,18 +104,11 @@
"Name": "RMC_MEDUSA_POSITIVE",
"Thresholds": [
{
- "Direction": "less than",
- "Label": "in0",
- "Name": "lower critical",
- "Severity": 1,
- "Value": 10.8
- },
- {
"Direction": "greater than",
"Label": "in0",
"Name": "upper critical",
"Severity": 1,
- "Value": 13.2
+ "Value": 200
}
],
"Type": "INA238",
@@ -220,14 +166,20 @@
"Label": "pin",
"Name": "upper critical",
"Severity": 1,
- "Value": 334.4
+ "Value": 580
}
],
"Type": "LTC4287",
"iout1_Name": "RMC_HSC_CURR_A",
+ "iout1_Offset": -0.16125,
+ "iout1_Scale": 3327.366,
"pin_Name": "RMC_HSC_PWR_W",
+ "pin_Offset": -0.16125,
+ "pin_Scale": 3327366.257,
"temp1_Name": "RMC_HSC_TEMP_C",
+ "vin_Max": 76,
"vin_Name": "RMC_HSC_VIN_VOLT_V",
+ "vout1_Max": 18,
"vout1_Name": "RMC_HSC_VOUT_VOLT_V"
},
{
@@ -300,7 +252,9 @@
"Type": "pmbus",
"iout1_Name": "RMC_BRICK_CURR_A",
"temp1_Name": "RMC_BRICK_TEMP_C",
+ "vin_Max": 76,
"vin_Name": "RMC_BRICK_INPUT_VOLT_V",
+ "vout1_Max": 18,
"vout1_Name": "RMC_BRICK_OUTPUT_VOLT_V"
}
],