History log of /openbmc/phosphor-power/phosphor-regulators/test/pmbus_utils_tests.cpp (Results 1 – 5 of 5)
Revision Date Author Comments
# 2f9e14f6 29-Apr-2021 Shawn McCarney <shawnmm@us.ibm.com>

regulators: Convert to new SensorType enumeration

There are several types of voltage regulator sensors, such as vout,
iout, and temperature.

The sensor types were previously def

regulators: Convert to new SensorType enumeration

There are several types of voltage regulator sensors, such as vout,
iout, and temperature.

The sensor types were previously defined by the enumeration
pmbus_utils::SensorValueType. This enumeration should not have been
placed in the pmbus_utils namespace because it is not specific to PMBus.

A new enumeration with the simpler name SensorType was created in
sensors.hpp in a previous commit.

Remove the old enumeration from pmbus_utils. Convert affected files to
use the new enumeration.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I4136b392b104edd3eee41ec29c779ad084c7c4de

show more ...


# 8d0b3ce2 12-May-2020 Bob King <Bob_King@wistron.com>

regulators: Add convertFromVoutLinear for sensor monitoring

Add convertFromVoutLinear function.
The function is for converting from linear_16 format to a normal
decimal number.

regulators: Add convertFromVoutLinear for sensor monitoring

Add convertFromVoutLinear function.
The function is for converting from linear_16 format to a normal
decimal number.

Signed-off-by: Bob King <Bob_King@wistron.com>
Change-Id: If6e2a0227502a5674f72f93623108dc155e0c99c

show more ...


# 19523dd6 08-May-2020 Bob King <Bob_King@wistron.com>

regulators: Add convertFromLinear for sensor monitoring

Add convertFromLinear function.
The function is for converting from linear_11 format to a normal
decimal number.

Sign

regulators: Add convertFromLinear for sensor monitoring

Add convertFromLinear function.
The function is for converting from linear_11 format to a normal
decimal number.

Signed-off-by: Bob King <Bob_King@wistron.com>
Change-Id: I6bdeaf8e9d9a26ae144c9db3494f758fd9eb48ee

show more ...


# d6820bb8 28-Apr-2020 Bob King <Bob_King@wistron.com>

regulators: Create regulators PMBusReadSensorAction class

Create the PMBusReadSensorAction class that implements the
"pmbus_read_sensor" action in the JSON config file.

Only cre

regulators: Create regulators PMBusReadSensorAction class

Create the PMBusReadSensorAction class that implements the
"pmbus_read_sensor" action in the JSON config file.

Only create the .hpp file for PMBusReadSensorAction class first.

Signed-off-by: Bob King <Bob_King@wistron.com>
Change-Id: I689ad9dbefe601d8962c694e7e1b8b7275ba6880

show more ...


# 6663abf3 29-Feb-2020 Shawn McCarney <shawnmm@us.ibm.com>

regulators: Add PMBus utilities

Create namespace pmbus_utils. This namespace contains utilities for
sending PMBus commands over an I2C interface.

These utilities are needed to

regulators: Add PMBus utilities

Create namespace pmbus_utils. This namespace contains utilities for
sending PMBus commands over an I2C interface.

These utilities are needed to implement the pmbus_write_vout_command and
pmbus_read_sensor actions from the JSON config file.

See pmbus_write_vout_command.md and pmbus_read_sensor.md for more
information on these actions.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I2fabca3ac8b9cd8b1f2b462c80feef6b6d7d60e8

show more ...