#
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 defined by the enumerat
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 ...
|
#
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 create the .hpp file fo
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 implement the pmbus_
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 ...
|