configurations: yosemite5: add MB VR sensors
Add MP2869,MP29612 sensor configurations for monitoring voltage,
current, temperature and power on the motherboard.
This patch depends on MP2869,MP29612 support introduced in patche [1].
[1]https://gerrit.openbmc.org/c/openbmc/dbus-sensors/+/83555
Tested on Yosemite5, the following D-Bus objects are present.
```
root@bmc:~# busctl tree xyz.openbmc_project.PSUSensor | grep MB_VR
│ ├─ /xyz/openbmc_project/sensors/current/MB_VR_CPU_CPU0_CURR_A
│ ├─ /xyz/openbmc_project/sensors/current/MB_VR_CPU_CPU1_CURR_A
│ ├─ /xyz/openbmc_project/sensors/current/MB_VR_CPU_MEM_S3_CURR_A
│ ├─ /xyz/openbmc_project/sensors/current/MB_VR_CPU_PVDDIO_CURR_A
│ ├─ /xyz/openbmc_project/sensors/current/MB_VR_CPU_SOC_CURR_A
```
Change-Id: I72af16192ac18d7f8a89f32d93d4e2ea0b54bc36
Signed-off-by: Leo Yang <Leo-Yang@quantatw.com>
diff --git a/configurations/meta/yv5/yosemite5_mb.json b/configurations/meta/yv5/yosemite5_mb.json
index 7ec2e22..34d83db 100644
--- a/configurations/meta/yv5/yosemite5_mb.json
+++ b/configurations/meta/yv5/yosemite5_mb.json
@@ -539,6 +539,279 @@
"Type": "LatticeLCMXO3D_9400Firmware"
},
{
+ "Address": "0x4f",
+ "Bus": 11,
+ "Labels": [
+ "vout1",
+ "iout1",
+ "pout1",
+ "temp1",
+ "vout2",
+ "iout2",
+ "pout2",
+ "temp2"
+ ],
+ "Name": "MB_VR_CPU_CPU0_MEM_S3",
+ "PowerState": "On",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.0054,
+ "Label": "vout1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.27
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.034,
+ "Label": "vout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.7
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 8.47,
+ "Label": "iout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 423.5
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 12.705,
+ "Label": "pout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 635.25
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 2.5,
+ "Label": "temp1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 125
+ },
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.0168,
+ "Label": "vout2",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.84
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.027,
+ "Label": "vout2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.35
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 5.5,
+ "Label": "iout2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 275
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 7.15,
+ "Label": "pout2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 357.5
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 2.5,
+ "Label": "temp2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 125
+ }
+ ],
+ "Type": "MP2869",
+ "iout1_Name": "MB_VR_CPU_CPU0_CURR_A",
+ "iout2_Name": "MB_VR_CPU_MEM_S3_CURR_A",
+ "pout1_Name": "MB_VR_CPU_CPU0_PWR_W",
+ "pout2_Name": "MB_VR_CPU_MEM_S3_PWR_W",
+ "temp1_Name": "MB_VR_CPU_CPU0_TEMP_C",
+ "temp2_Name": "MB_VR_CPU_MEM_S3_TEMP_C",
+ "vout1_Name": "MB_VR_CPU_CPU0_VOLT_V",
+ "vout2_Name": "MB_VR_CPU_MEM_S3_VOLT_V"
+ },
+ {
+ "Address": "0x4e",
+ "Bus": 11,
+ "Labels": [
+ "vout1",
+ "iout1",
+ "pout1",
+ "temp1"
+ ],
+ "Name": "MB_VR_CPU_CPU1",
+ "PowerState": "On",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.0054,
+ "Label": "vout1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.27
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.034,
+ "Label": "vout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.7
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 8.47,
+ "Label": "iout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 423.5
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 12.705,
+ "Label": "pout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 635.25
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 2.5,
+ "Label": "temp1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 125
+ }
+ ],
+ "Type": "MP29612",
+ "iout1_Name": "MB_VR_CPU_CPU1_CURR_A",
+ "pout1_Name": "MB_VR_CPU_CPU1_PWR_W",
+ "temp1_Name": "MB_VR_CPU_CPU1_TEMP_C",
+ "vout1_Name": "MB_VR_CPU_CPU1_VOLT_V"
+ },
+ {
+ "Address": "0x4d",
+ "Bus": 11,
+ "Labels": [
+ "vout1",
+ "iout1",
+ "pout1",
+ "temp1",
+ "vout2",
+ "iout2",
+ "pout2",
+ "temp2"
+ ],
+ "Name": "MB_VR_CPU_SOC_PVDDIO",
+ "PowerState": "On",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.0122,
+ "Label": "vout1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.61
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.0264,
+ "Label": "vout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.32
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 6.82,
+ "Label": "iout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 341
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 8.184,
+ "Label": "pout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 409.2
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 2.5,
+ "Label": "temp1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 125
+ },
+ {
+ "Direction": "less than",
+ "Hysteresis": 0.0173,
+ "Label": "vout2",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.865
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 0.0255,
+ "Label": "vout2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.275
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 1.01,
+ "Label": "iout2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 50.5
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 1.3424,
+ "Label": "pout2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 67.12
+ },
+ {
+ "Direction": "greater than",
+ "Hysteresis": 2.5,
+ "Label": "temp2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 125
+ }
+ ],
+ "Type": "MP29612",
+ "iout1_Name": "MB_VR_CPU_SOC_CURR_A",
+ "iout2_Name": "MB_VR_CPU_PVDDIO_CURR_A",
+ "pout1_Name": "MB_VR_CPU_SOC_PWR_W",
+ "pout2_Name": "MB_VR_CPU_PVDDIO_PWR_W",
+ "temp1_Name": "MB_VR_CPU_SOC_TEMP_C",
+ "temp2_Name": "MB_VR_CPU_PVDDIO_TEMP_C",
+ "vout1_Name": "MB_VR_CPU_SOC_VOLT_V",
+ "vout2_Name": "MB_VR_CPU_PVDDIO_VOLT_V"
+ },
+ {
"Address": "0x4d",
"Bus": 11,
"FirmwareInfo": {
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 48bcf63..fef69e1 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -935,11 +935,13 @@
"MAX34451",
"MP2856",
"MP2857",
+ "MP2869",
"MP2971",
"MP2973",
"MP2975",
"MP5023",
"MP5990",
+ "MP29612",
"MPQ8785",
"NCP4200",
"PLI1209BC",