[ Upstream commit a5436af598779219b375c1977555c82def1c35d0 ]
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.
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Link: https://lore.kernel.org/r/20220317232123.2103592-1-bjwyman@gmail.com
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| adm1266.c | ||
| adm1275.c | ||
| bel-pfe.c | ||
| ibm-cffps.c | ||
| inspur-ipsps.c | ||
| ir35221.c | ||
| ir38064.c | ||
| irps5401.c | ||
| isl68137.c | ||
| lm25066.c | ||
| ltc2978.c | ||
| ltc3815.c | ||
| max8688.c | ||
| max16064.c | ||
| max16601.c | ||
| max20730.c | ||
| max20751.c | ||
| max31785.c | ||
| max34440.c | ||
| mp2975.c | ||
| pmbus.c | ||
| pmbus.h | ||
| pmbus_core.c | ||
| pxe1610.c | ||
| tps40422.c | ||
| tps53679.c | ||
| ucd9000.c | ||
| ucd9200.c | ||
| xdpe12284.c | ||
| zl6100.c | ||