configurations: yosemite5: add Paddle 2nd source HSC
1.Add MP5998 sensor configurations for monitoring voltage,
current, temperature and power on the motherboard.
This patch depends on MP5998 support introduced in patch [1][2].
[1] https://gerrit.openbmc.org/c/openbmc/dbus-sensors/+/83868
[2] https://gerrit.openbmc.org/c/openbmc/entity-manager/+/84734
Tested on Yosemite5, the following D-Bus objects are present.
```
root@bmc:~# busctl tree xyz.openbmc_project.PSUSensor | grep Paddle_HSC
│ └─ /xyz/openbmc_project/sensors/current/Paddle_HSC_CURR_A
│ └─ /xyz/openbmc_project/sensors/power/Paddle_HSC_PWR_W
│ └─ /xyz/openbmc_project/sensors/temperature/Paddle_HSC_TEMP_C
├─ /xyz/openbmc_project/sensors/voltage/Paddle_HSC_VIN_VOLT_V
└─ /xyz/openbmc_project/sensors/voltage/Paddle_HSC_VOUT_VOLT_V
```
Change-Id: I7b0578c9e35934959457c014b35b92122522798a
Signed-off-by: Leo Yang <Leo-Yang@quantatw.com>
diff --git a/configurations/meta/yv5/yosemite5_1kw_paddle_board.json b/configurations/meta/yv5/yosemite5_1kw_paddle_board.json
index c0f086b..1add76f 100644
--- a/configurations/meta/yv5/yosemite5_1kw_paddle_board.json
+++ b/configurations/meta/yv5/yosemite5_1kw_paddle_board.json
@@ -9,6 +9,146 @@
{
"Address": "0x46",
"Bus": 8,
+ "Labels": [
+ "vin",
+ "vout1",
+ "iin",
+ "pin",
+ "temp1"
+ ],
+ "Name": "Paddle_P12V_HSC_2",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.2156,
+ "Label": "vin",
+ "Name": "lower non recoverable",
+ "Severity": 4,
+ "Value": 10.78
+ },
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.2204,
+ "Label": "vin",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 11.02
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.2698,
+ "Label": "vin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 13.49
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.2748,
+ "Label": "vin",
+ "Name": "upper non recoverable",
+ "Severity": 4,
+ "Value": 13.74
+ },
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.2156,
+ "Label": "vout1",
+ "Name": "lower non recoverable",
+ "Severity": 4,
+ "Value": 10.78
+ },
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.232,
+ "Label": "vout1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 11.6
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.256,
+ "Label": "vout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 12.8
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.2748,
+ "Label": "vout1",
+ "Name": "upper non recoverable",
+ "Severity": 4,
+ "Value": 13.74
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 1.8,
+ "Label": "iin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 90
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 2.5582,
+ "Label": "iin",
+ "Name": "upper non recoverable",
+ "Severity": 4,
+ "Value": 127.91
+ },
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.1,
+ "Label": "temp1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 5
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 2,
+ "Label": "temp1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 100
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 2.5,
+ "Label": "temp1",
+ "Name": "upper non recoverable",
+ "Severity": 4,
+ "Value": 125
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 20.16,
+ "Label": "pin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1008
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 23.04,
+ "Label": "pin",
+ "Name": "upper non recoverable",
+ "Severity": 4,
+ "Value": 1152
+ }
+ ],
+ "Type": "MP5998",
+ "iin_Name": "Paddle_HSC_CURR_A",
+ "pin_Name": "Paddle_HSC_PWR_W",
+ "temp1_Name": "Paddle_HSC_TEMP_C",
+ "vin_Name": "Paddle_HSC_VIN_VOLT_V",
+ "vout1_Name": "Paddle_HSC_VOUT_VOLT_V"
+ },
+ {
+ "Address": "0x46",
+ "Bus": 8,
"FirmwareInfo": {
"CompatibleHardware": "com.meta.Hardware.Yosemite5.HSC.MP5998_p12v_aux",
"VendorIANA": 40981
@@ -17,7 +157,7 @@
"Type": "MP5998Firmware"
},
{
- "Address": "0x50",
+ "Address": "0x47",
"Bus": 8,
"Labels": [
"vin",
@@ -30,19 +170,123 @@
"Thresholds": [
{
"Direction": "less than",
+ "Hysteresis": 0.2156,
+ "Label": "vin",
+ "Name": "lower non recoverable",
+ "Severity": 4,
+ "Value": 10.78
+ },
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.2204,
+ "Label": "vin",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 11.02
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.2698,
+ "Label": "vin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 13.49
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.2748,
+ "Label": "vin",
+ "Name": "upper non recoverable",
+ "Severity": 4,
+ "Value": 13.74
+ },
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.2156,
+ "Label": "vout1",
+ "Name": "lower non recoverable",
+ "Severity": 4,
+ "Value": 10.78
+ },
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.232,
+ "Label": "vout1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 11.6
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.256,
+ "Label": "vout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 12.8
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.2748,
+ "Label": "vout1",
+ "Name": "upper non recoverable",
+ "Severity": 4,
+ "Value": 13.74
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 1.8,
+ "Label": "iin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 90
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 2.5582,
+ "Label": "iin",
+ "Name": "upper non recoverable",
+ "Severity": 4,
+ "Value": 127.91
+ },
+ {
+ "Direction": "less than",
"Hysteresis": 0.1,
"Label": "temp1",
"Name": "lower critical",
"Severity": 1,
- "Value": 5.0
+ "Value": 5
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 2,
+ "Label": "temp1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 100
},
{
"Direction": "greater than",
"Hysteresis": 2.5,
"Label": "temp1",
+ "Name": "upper non recoverable",
+ "Severity": 4,
+ "Value": 125
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 20.16,
+ "Label": "pin",
"Name": "upper critical",
"Severity": 1,
- "Value": 125.0
+ "Value": 1008
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 23.04,
+ "Label": "pin",
+ "Name": "upper non recoverable",
+ "Severity": 4,
+ "Value": 1152
}
],
"Type": "TPS25990",