| commit | 7b7a5632c594d60f4620ca14379a766a56faf846 | [log] [tgz] |
|---|---|---|
| author | Shawn McCarney <shawnmm@us.ibm.com> | Wed Nov 19 13:08:58 2025 -0600 |
| committer | Shawn McCarney <shawnmm@us.ibm.com> | Thu Nov 20 15:05:04 2025 -0600 |
| tree | d32e913cd64c5c77b63b68ca48893357d1d5fe55 | |
| parent | e6d7f4cb088171139a2ca33e71137806d887da8d [diff] |
pseq: Support "GPIOs only" power sequencer device Add support for a "GPIOs only" power sequencer device to the phosphor-power-sequencer application. If this device type is specified in the JSON configuration file, then the application will only use the named GPIOs to power the device on/off and read the power good signal. No attempt will be made to communicate with the device otherwise. No pgood fault isolation will be performed. This device type is useful for simple systems that do not require pgood fault isolation. It is also useful as a temporary solution when performing early bring-up work on a new system. Tested: * Ran automated tests Change-Id: Ib5ba9a9c136dd5f5e853372f881f9e227f01a6bd Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
This repository contains applications for configuring and monitoring devices that deliver power to the system.
Actively-maintained applications:
Legacy applications:
To build all applications in this repository:
meson setup build ninja -C build
To clean the repository and remove all build output:
rm -rf build
You can specify meson options to customize the build process. For example, you can specify:
Several applications in this repository require a PSU JSON config to run. The JSON config file provides information for:
There is an example psu.json to describe the necessary configurations.
inventoryPMBusAccessType defines the pmbus access type, which tells the service which sysfs type to use to read the attributes. The possible values are:
/sys/bus/i2c/devices/3-0069//sys/bus/i2c/devices/3-0069/hwmon/hwmonX//sys/kernel/debug/pmbus/hwmonX//sys/kernel/debug/<driver>.<instance>//sys/kernel/debug/pmbus/hwmonX/cffps1/fruConfigs defines the mapping between the attribute file and the FRU inventory interface and property. The configuration example below indicates that the service will read part_number attribute file from a directory specified by the above pmbus access type, and assign to PartNumber property in xyz.openbmc_project.Inventory.Decorator.Asset interface.
"fruConfigs": [ { "propertyName": "PartNumber", "fileName": "part_number", "interface": "xyz.openbmc_project.Inventory.Decorator.Asset" } ]
psuDevices defines the kernel device dir for each PSU in inventory. The configuration example below indicates that powersupply0's device is located in /sys/bus/i2c/devices/3-0069.
"psuDevices": { "/xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0" : "/sys/bus/i2c/devices/3-0069", }