configurations: harma: add PDB P48V monitoring support
Add INA238 sensor to monitor the P48V rail on the PDB board.
Change-Id: I15398e287ac260ce8f8ae31dfeab63e16228bfd2
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
diff --git a/configurations/meta/minerva_pdb.json b/configurations/meta/minerva_pdb.json
index b9a02b8..6b6454d 100644
--- a/configurations/meta/minerva_pdb.json
+++ b/configurations/meta/minerva_pdb.json
@@ -1,6 +1,38 @@
{
"Exposes": [
{
+ "Address": "0x45",
+ "Bus": 4,
+ "Labels": [
+ "in1",
+ "curr1",
+ "power1"
+ ],
+ "Name": "PDB_P48V",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.92,
+ "Label": "in1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 46.0
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 1.1,
+ "Label": "in1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 55.0
+ }
+ ],
+ "Type": "INA238",
+ "curr1_Name": "PDB_P48V_CURR_A",
+ "in1_Name": "PDB_P48V_VOLT_V",
+ "power1_Name": "PDB_P48V_PWR_W"
+ },
+ {
"Address": "0x44",
"Bus": 4,
"Labels": [
diff --git a/configurations/meta/minerva_pdb_hsc_xdp.json b/configurations/meta/minerva_pdb_hsc_xdp.json
index ac9e8fa..dac37a6 100644
--- a/configurations/meta/minerva_pdb_hsc_xdp.json
+++ b/configurations/meta/minerva_pdb_hsc_xdp.json
@@ -1,6 +1,38 @@
{
"Exposes": [
{
+ "Address": "0x45",
+ "Bus": 4,
+ "Labels": [
+ "in1",
+ "curr1",
+ "power1"
+ ],
+ "Name": "PDB_P48V",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.92,
+ "Label": "in1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 46.0
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 1.1,
+ "Label": "in1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 55.0
+ }
+ ],
+ "Type": "INA238",
+ "curr1_Name": "PDB_P48V_CURR_A",
+ "in1_Name": "PDB_P48V_VOLT_V",
+ "power1_Name": "PDB_P48V_PWR_W"
+ },
+ {
"Address": "0x49",
"Bus": 4,
"Name": "PDB_TEMP_C",