[PATCH v2 0/2] hwmon: (pmbus) Add the PMBUS_NO_CAPABILITY flag

From: Eddie James
Date: Tue Dec 22 2020 - 10:27:58 EST


Some PMBus chips, like some power supplies supported by the cffps driver,
don't respond with valid data when reading the CAPABILITY register. Add a
platform data flag that device drivers can set to tell the PMBus core
driver that it shouldn't use the CAPABILITY register. The second patch
sets this flag for the cffps driver.

Changes since v1:
- Rename the flag to PMBUS_NO_CAPABILITY and adjust the associated
comment accordingly.

Eddie James (2):
hwmon: (pmbus) Add a PMBUS_NO_CAPABILITY platform data flag
hwmon: (pmbus/ibm-cffps) Set the PMBUS_NO_CAPABILITY flag

drivers/hwmon/pmbus/ibm-cffps.c | 2 +-
drivers/hwmon/pmbus/pmbus_core.c | 8 +++++---
include/linux/pmbus.h | 9 +++++++++
3 files changed, 15 insertions(+), 4 deletions(-)

--
2.27.0