#
f5402197 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I7b90380845efee6bf6a1fe342a793d71aa9ff181 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
16275831 |
| 27-Jun-2024 |
Shawn McCarney <shawnmm@us.ibm.com> |
pseq: Check STATUS_VOUT first to find pgood fault
Enhance the support for finding the correct voltage rail when a pgood fault occurs.
First check the PMBus STATUS_VOUT register for all rails. Chec
pseq: Check STATUS_VOUT first to find pgood fault
Enhance the support for finding the correct voltage rail when a pgood fault occurs.
First check the PMBus STATUS_VOUT register for all rails. Check the rails in power-on-sequence order.
Checking STATUS_VOUT is usually the most accurate method. For example, if a pgood fault occurs, the power sequencer device may automatically shut off related rails. Ideally the device will only set fault bits in STATUS_VOUT for the rail with the pgood fault. However, all the related rails will likely appear to be faulted by the other methods.
If no fault is found by checking STATUS_VOUT, then check the GPIOs and output voltage for all rails. Check the rails in power-on-sequence order.
Tested: * Verified all automated test cases run successfully.
Change-Id: Ida8732db573013f1b72edac8ed54e3cfc38da146 Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
show more ...
|
#
fc3f31fb |
| 23-Apr-2024 |
Shawn McCarney <shawnmm@us.ibm.com> |
pseq: Add Services parameter to getGPIOValues()
Add a Services parameter to the PowerSequencerDevice::getGPIOValues() method in the phosphor-power-sequencer application.
The Services object impleme
pseq: Add Services parameter to getGPIOValues()
Add a Services parameter to the PowerSequencerDevice::getGPIOValues() method in the phosphor-power-sequencer application.
The Services object implements reading GPIO values in the standard way using the libgpiod interface.
Change-Id: Ia6d1f1a0919aa6f45405cbe8375f8cc37800b002 Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
show more ...
|
#
472101c5 |
| 17-Apr-2024 |
Shawn McCarney <shawnmm@us.ibm.com> |
pseq: Standard pgood fault detection algorithm
Create a StandardDevice class for the phosphor-power-sequencer application. This class implements the standard pgood (power good) fault detection algo
pseq: Standard pgood fault detection algorithm
Create a StandardDevice class for the phosphor-power-sequencer application. This class implements the standard pgood (power good) fault detection algorithm.
When adding support for a new power sequencer device type, a sub-class of StandardDevice should be created if possible. This will ensure that pgood fault detection works consistently across device types.
Tested: * Verified all new and existing gtests ran successfully
Change-Id: I80c0b36429f1d84fa1e317889803429927797fdc Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
show more ...
|