configurations: santabarbara: 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 Santabarbara, 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_PVDDCR_CPU0_CURR_A
│ ├─ /xyz/openbmc_project/sensors/current/MB_VR_CPU_PVDDCR_CPU1_CURR_A
│ ├─ /xyz/openbmc_project/sensors/current/MB_VR_CPU_PVDDCR_SOC_CURR_A
│ ├─ /xyz/openbmc_project/sensors/current/MB_VR_CPU_PVDDIO_CURR_A
│ ├─ /xyz/openbmc_project/sensors/current/MB_VR_CPU_PVDDIO_MEM_S3_CURR_A
│ ├─ /xyz/openbmc_project/sensors/power/MB_VR_CPU_PVDDCR_CPU0_PWR_W
│ ├─ /xyz/openbmc_project/sensors/power/MB_VR_CPU_PVDDCR_CPU1_PWR_W
│ ├─ /xyz/openbmc_project/sensors/power/MB_VR_CPU_PVDDCR_SOC_PWR_W
│ ├─ /xyz/openbmc_project/sensors/power/MB_VR_CPU_PVDDIO_MEM_S3_PWR_W
│ ├─ /xyz/openbmc_project/sensors/power/MB_VR_CPU_PVDDIO_PWR_W
├─ /xyz/openbmc_project/sensors/voltage/MB_VR_CPU_PVDDCR_CPU0_VOLT_V
├─ /xyz/openbmc_project/sensors/voltage/MB_VR_CPU_PVDDCR_CPU1_VOLT_V
├─ /xyz/openbmc_project/sensors/voltage/MB_VR_CPU_PVDDCR_SOC_VOLT_V
├─ /xyz/openbmc_project/sensors/voltage/MB_VR_CPU_PVDDIO_MEM_S3_VOLT_V
├─ /xyz/openbmc_project/sensors/voltage/MB_VR_CPU_PVDDIO_VOLT_V
root@bmc:~# busctl tree xyz.openbmc_project.PSUSensor | grep PVDD18
├─ /xyz/openbmc_project/sensors/voltage/MB_PVDD18_S5_VOLT_V
```
Change-Id: Iab0cab81a84ba63936c3dbf9309a5882ad7f6dfb
Signed-off-by: Henry Wu <Henry_Wu@quantatw.com>
diff --git a/configurations/meta/santabarbara/santabarbara_mb.json b/configurations/meta/santabarbara/santabarbara_mb.json
index 2f611a6..87d8200 100644
--- a/configurations/meta/santabarbara/santabarbara_mb.json
+++ b/configurations/meta/santabarbara/santabarbara_mb.json
@@ -736,6 +736,229 @@
"power1_Scale": 1144164.759725
},
{
+ "Address": "0x4f",
+ "Bus": 18,
+ "Labels": [
+ "vout1",
+ "vout2",
+ "iout1",
+ "iout2",
+ "pout1",
+ "pout2"
+ ],
+ "Name": "PVDDCR_CPU0_P0",
+ "Name1": "PVDDIO_MEM_S3_P0",
+ "PowerState": "On",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "vout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.7
+ },
+ {
+ "Direction": "less than",
+ "Label": "vout1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.27
+ },
+ {
+ "Direction": "greater than",
+ "Label": "iout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 404
+ },
+ {
+ "Direction": "greater than",
+ "Label": "pout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 690
+ },
+ {
+ "Direction": "greater than",
+ "Label": "vout2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.35
+ },
+ {
+ "Direction": "less than",
+ "Label": "vout2",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.84
+ },
+ {
+ "Direction": "greater than",
+ "Label": "iout2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 262
+ },
+ {
+ "Direction": "greater than",
+ "Label": "pout2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 355.5
+ }
+ ],
+ "Type": "MP2869",
+ "iout1_Name": "MB_VR_CPU_PVDDCR_CPU0_CURR_A",
+ "iout2_Name": "MB_VR_CPU_PVDDIO_MEM_S3_CURR_A",
+ "pout1_Name": "MB_VR_CPU_PVDDCR_CPU0_PWR_W",
+ "pout2_Name": "MB_VR_CPU_PVDDIO_MEM_S3_PWR_W",
+ "vout1_Name": "MB_VR_CPU_PVDDCR_CPU0_VOLT_V",
+ "vout2_Name": "MB_VR_CPU_PVDDIO_MEM_S3_VOLT_V"
+ },
+ {
+ "Address": "0x4d",
+ "Bus": 18,
+ "Labels": [
+ "vout1",
+ "vout2",
+ "iout1",
+ "iout2",
+ "iout3",
+ "pout1",
+ "pout2"
+ ],
+ "Name": "PVDDCR_SOC_P0",
+ "Name1": "PVDDIO_P0",
+ "PowerState": "On",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "vout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.32
+ },
+ {
+ "Direction": "less than",
+ "Label": "vout1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.61
+ },
+ {
+ "Direction": "greater than",
+ "Label": "iout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 325
+ },
+ {
+ "Direction": "greater than",
+ "Label": "pout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 431
+ },
+ {
+ "Direction": "greater than",
+ "Label": "vout2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.325
+ },
+ {
+ "Direction": "less than",
+ "Label": "vout2",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.865
+ },
+ {
+ "Direction": "greater than",
+ "Label": "iout2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 50.5
+ },
+ {
+ "Direction": "greater than",
+ "Label": "pout2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 67.12
+ }
+ ],
+ "Type": "MP29612",
+ "iout1_Name": "MB_VR_CPU_PVDDCR_SOC_CURR_A",
+ "iout2_Name": "MB_VR_CPU_PVDDIO_CURR_A",
+ "pout1_Name": "MB_VR_CPU_PVDDCR_SOC_PWR_W",
+ "pout2_Name": "MB_VR_CPU_PVDDIO_PWR_W",
+ "vout1_Name": "MB_VR_CPU_PVDDCR_SOC_VOLT_V",
+ "vout2_Name": "MB_VR_CPU_PVDDIO_VOLT_V"
+ },
+ {
+ "Address": "0x4e",
+ "Bus": 18,
+ "Labels": [
+ "vout1",
+ "vout2",
+ "iout1",
+ "pout1"
+ ],
+ "Name": "PVDDCR_CPU1_P0",
+ "Name1": "PVDD18_S5_P0",
+ "PowerState": "On",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "vout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.7
+ },
+ {
+ "Direction": "less than",
+ "Label": "vout1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.27
+ },
+ {
+ "Direction": "greater than",
+ "Label": "iout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 404
+ },
+ {
+ "Direction": "greater than",
+ "Label": "pout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 690
+ },
+ {
+ "Direction": "greater than",
+ "Label": "vout2",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.83
+ },
+ {
+ "Direction": "less than",
+ "Label": "vout2",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1.76
+ }
+ ],
+ "Type": "MP29612",
+ "iout1_Name": "MB_VR_CPU_PVDDCR_CPU1_CURR_A",
+ "pout1_Name": "MB_VR_CPU_PVDDCR_CPU1_PWR_W",
+ "vout1_Name": "MB_VR_CPU_PVDDCR_CPU1_VOLT_V",
+ "vout2_Name": "MB_PVDD18_S5_VOLT_V"
+ },
+ {
"Address": "0x6a",
"Bus": 20,
"Name": "MB_E1S0_TEMP_C",