Find hwmon instances from OF device paths

Provide a method that scans the hwmon subtree for a matching
open firmware device path.

Change-Id: Ic71dea90113c6894d9d2b61e03bd02f6b550e1e6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
3 files changed
tree: 15f88eaef657aaf4d68f036a4c867dda5d60586d
  1. test/
  2. xyz/
  3. .gitignore
  4. argument.cpp
  5. argument.hpp
  6. bootstrap.sh
  7. configure.ac
  8. directory.cpp
  9. directory.hpp
  10. hwmon.hpp
  11. interface.hpp
  12. LICENSE
  13. mainloop.cpp
  14. mainloop.hpp
  15. Makefile.am
  16. readd.cpp
  17. README.md
  18. sensorset.cpp
  19. sensorset.hpp
  20. sysfs.cpp
  21. sysfs.hpp
  22. util.hpp
  23. xyz.openbmc_project.Sensor.Value.cpp
README.md

Exposes generic hwmon entries as DBus objects.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.