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