Add an example JSON file based on power-supply

phosphor-power will be extended to support multiple PSUs that use
different directories to retrieve PSU information. Add an example JSON
file to show how it is configured.

inventoryPMBusAccessType specifies which directory to read the files.
Base < base device directory. eg: /sys/bus/i2c/devices/3-0069/ >
Hwmon < hwmon directory. eg: /sys/bus/i2c/devices/3-0069/hwmon/hwmonX/ >
DeviceDebug < device debug directory >
Debug < pmbus debug directory. eg: /sys/kernel/debug/pmbus/hwmonX/ >
HwmonDeviceDebug < hwmon device debug directory.
                   eg: /sys/kernel/debug/pmbus/hwmonX/cffps1/ >

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I6ced4b240282286895b7a04a52486433c674e8b7
1 file changed
tree: 0bc1e5b3e77ab72fa65e40f5e28bc2035aa77341
  1. org/
  2. power-sequencer/
  3. power-supply/
  4. test/
  5. .clang-format
  6. .gitignore
  7. argument.hpp
  8. device.hpp
  9. device_monitor.hpp
  10. elog-errors.hpp
  11. file.hpp
  12. gpio.cpp
  13. gpio.hpp
  14. LICENSE
  15. MAINTAINERS
  16. meson.build
  17. meson_options.txt
  18. names_values.hpp
  19. pmbus.cpp
  20. pmbus.hpp
  21. README.md
  22. utility.cpp
  23. utility.hpp
README.md

Code for detecting and analyzing power faults on Witherspoon.

To Build

To build this package, do the following steps:

    1. meson build
    2. ninja -C build

To clean the repository again run `rm -rf build`.