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
1 file changed
tree: 60a9f1d5d9b37730059814bdc9a35003e4011814
  1. include/
  2. service_files/
  3. src/
  4. tests/
  5. .clang-format
  6. .clang-ignore
  7. .clang-tidy
  8. .gitignore
  9. Jenkinsfile
  10. LICENSE
  11. MAINTAINERS
  12. meson.build
  13. meson_options.txt
  14. README.md
README.md

dbus-sensors

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.

key features

  • 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

sensor documentation