configuration: minerva_cmm: Add sensor threshold
Add sensor threshold on the Minerva CMM board.
Change-Id: I0669e0305408d2a81e2574d5a93744f2948033ba
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
diff --git a/configurations/minerva_cmm.json b/configurations/minerva_cmm.json
index 2868fe7..dde6d3c 100644
--- a/configurations/minerva_cmm.json
+++ b/configurations/minerva_cmm.json
@@ -12,6 +12,20 @@
"Name": "CMM_P3V_BAT_VOLT_V",
"PollRate": 86400,
"ScaleFactor": 0.333333,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 3.4
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 2.6
+ }
+ ],
"Type": "ADC"
},
{
@@ -23,6 +37,50 @@
"power1"
],
"Name": "CMM_PMON_P24V",
+ "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,
+ "Value": 25.2
+ },
+ {
+ "Direction": "less than",
+ "Label": "in1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 22.8
+ },
+ {
+ "Direction": "greater than",
+ "Label": "power1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 199.92
+ },
+ {
+ "Direction": "less than",
+ "Label": "power1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0
+ }
+ ],
"Type": "INA230",
"curr1_Name": "CMM_PMON_P24V_CURR_A",
"in1_Name": "CMM_PMON_P24V_VOLT_V",
@@ -37,6 +95,50 @@
"power1"
],
"Name": "CMM_PMON_P12V",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "curr1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 5.24
+ },
+ {
+ "Direction": "less than",
+ "Label": "curr1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": -0.05
+ },
+ {
+ "Direction": "greater than",
+ "Label": "in1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 13
+ },
+ {
+ "Direction": "less than",
+ "Label": "in1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 11
+ },
+ {
+ "Direction": "greater than",
+ "Label": "power1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 62.88
+ },
+ {
+ "Direction": "less than",
+ "Label": "power1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0
+ }
+ ],
"Type": "INA230",
"curr1_Name": "CMM_PMON_P12V_CURR_A",
"in1_Name": "CMM_PMON_P12V_VOLT_V",
@@ -52,6 +154,64 @@
"pin"
],
"Name": "CMM_HSC",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "vin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 56
+ },
+ {
+ "Direction": "less than",
+ "Label": "vin",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 46
+ },
+ {
+ "Direction": "greater than",
+ "Label": "vout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 56
+ },
+ {
+ "Direction": "less than",
+ "Label": "vout1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 46
+ },
+ {
+ "Direction": "greater than",
+ "Label": "iout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 6.08
+ },
+ {
+ "Direction": "less than",
+ "Label": "iout1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": -0.05
+ },
+ {
+ "Direction": "greater than",
+ "Label": "pin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 334.4
+ },
+ {
+ "Direction": "less than",
+ "Label": "pin",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0
+ }
+ ],
"Type": "LTC4287",
"iout1_Name": "CMM_HSC_CURR_A",
"pin_Name": "CMM_HSC_PWR_W",