diff options
author | Lakshmi Yadlapati <lakshmiy@us.ibm.com> | 2023-04-12 21:52:04 +0300 |
---|---|---|
committer | Lakshmi Yadlapati <lakshmiy@us.ibm.com> | 2023-04-17 20:06:53 +0300 |
commit | 40e54e9954b159f75c60d7762bbe406d509ae631 (patch) | |
tree | 061d480d7416890039d75c10ad338be4a70a979c /meta-ibm/recipes-phosphor/sensors | |
parent | 49c5d94aafb5e737e214add3654b43a1270fa6b9 (diff) | |
download | openbmc-40e54e9954b159f75c60d7762bbe406d509ae631.tar.xz |
meta-ibm:sensors:p10bmc:Add power-supply hwmon configs
Add the power-supply configuration files for the acbel-fsg032 power
supplies used in the Bonnell systems in order to get telemetry data
added to D-Bus via phosphor-hwmon.
Bonnell power supplies on bus 3 at 0x5a and 0x5b
Change-Id: I97a1e1ba57ee1b2da6462b6921f121683498fe87
Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
Diffstat (limited to 'meta-ibm/recipes-phosphor/sensors')
3 files changed, 28 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5a.conf b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5a.conf new file mode 100644 index 0000000000..1c5ccddef0 --- /dev/null +++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5a.conf @@ -0,0 +1,13 @@ +LABEL_in1="ps0_input_voltage" + +LABEL_in3="ps0_output_voltage" + +LABEL_curr1="ps0_output_current" + +LABEL_power1="ps0_input_power" + +LABEL_temp1="ps0_temp0" +LABEL_temp2="ps0_temp1" +LABEL_temp3="ps0_temp2" + +ACCURACY_power1="5" diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5b.conf b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5b.conf new file mode 100644 index 0000000000..254c7980dd --- /dev/null +++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5b.conf @@ -0,0 +1,13 @@ +LABEL_in1="ps1_input_voltage" + +LABEL_in3="ps1_output_voltage" + +LABEL_curr1="ps1_output_current" + +LABEL_power1="ps1_input_power" + +LABEL_temp1="ps1_temp0" +LABEL_temp2="ps1_temp1" +LABEL_temp3="ps1_temp2" + +ACCURACY_power1="5" diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend index 006bab1994..9d89e72245 100644 --- a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend +++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend @@ -52,6 +52,8 @@ CHIPS:p10bmc = " \ bus@1e78a000/i2c-bus@200/power-supply@6a \ bus@1e78a000/i2c-bus@200/power-supply@6d \ bus@1e78a000/i2c-bus@200/power-supply@6b \ + bus@1e78a000/i2c-bus@200/power-supply@5a \ + bus@1e78a000/i2c-bus@200/power-supply@5b \ bus@1e78a000/i2c-bus@400/max31785@52 \ bus@1e78a000/i2c-bus@400/max31785b@52 \ bus@1e78a000/i2c-bus@780/i2c-switch@70/i2c@3/max31785@52 \ |