| commit | eb0b84de9fd39a74a4a67990de6054b9d9f49833 | [log] [tgz] |
|---|---|---|
| author | Zev Weiss <zev@bewilderbeest.net> | Thu Apr 22 15:03:38 2021 -0500 |
| committer | Zev Weiss <zweiss@equinix.com> | Thu Apr 22 20:36:44 2021 +0000 |
| tree | 60a9f1d5d9b37730059814bdc9a35003e4011814 | |
| parent | 12e3d67e3ba76bc832e2e1e1fc38933b055afd79 [diff] |
psusensor: add LM25066 support
This is a pmbus-attached power management IC supported by the Linux
hwmon subsystem and employed in various boards from vendors such as
ASRock Rack and Delta Power.
LM25066 sensors can be instantiated with an entity-manager config
fragment along the lines of:
{
"Address": "...",
"Bus": ...,
"Labels": [
"iin",
"vin",
"vmon",
"vout1",
"pin",
"temp1"
],
"Name": "...",
"Type": "pmbus"
},
Tested: in combination with a matching entity-manager config, LM25066
voltage, current, power, and temperature sensors appear and produce
readings on dbus and via webui-vue.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: If5cf41dcd3cde45d411d3c5a426855bc88339e24
dbus-sensors is a collection of sensor applications that provide the xyz.openbmc_project.Sensor collection of interfaces. They read sensor values from hwmon, d-bus, or direct driver access to provide readings. Some advance non-sensor features such as fan presence, pwm control, and automatic cpu detection (x86) are also supported.
runtime re-configurable from d-bus (entity-manager or the like)
isolated: each sensor type is isolated into its own daemon, so a bug in one sensor is unlikely to affect another, and single sensor modifications are possible
async single-threaded: uses sdbusplus/asio bindings
multiple data inputs: hwmon, d-bus, direct driver access