diff options
author | Brandon Wyman <bjwyman@gmail.com> | 2022-03-18 02:21:23 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2022-03-21 05:54:33 +0300 |
commit | e7265ec49718d7f22c7555c809763771db5db323 (patch) | |
tree | 469844f9a9f18f8554b0a67f5b7b5622b23ddac0 /arch/arm64/tools/cpucaps | |
parent | 6f7b3b6368f95822756e280ce0d01ef4bbf49294 (diff) | |
download | linux-e7265ec49718d7f22c7555c809763771db5db323.tar.xz |
hwmon: (pmbus) Add Vin unit off handling
If there is an input undervoltage fault, reported in STATUS_INPUT
command response, there is quite likely a "Unit Off For Insufficient
Input Voltage" condition as well.
Add a constant for bit 3 of STATUS_INPUT. Update the Vin limit
attributes to include both bits in the mask for clearing faults.
If an input undervoltage fault occurs, causing a unit off for
insufficient input voltage, but the unit is off bit is not cleared, the
STATUS_WORD will not be updated to clear the input fault condition.
Including the unit is off bit (bit 3) allows for the input fault
condition to completely clear.
OpenBMC-Staging-Count: 1
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Link: https://lore.kernel.org/r/20220317232123.2103592-1-bjwyman@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm64/tools/cpucaps')
0 files changed, 0 insertions, 0 deletions