[PATCH linux dev-4.13 0/5] max31785: Add devicetree support and work-arounds for transfer failures

Andrew Jeffery andrew at aj.id.au
Wed Apr 4 00:26:50 AEST 2018


Hello,

This is a clean-up and forward port of some patches that didn't entirely make
it into dev-4.10, but did make it into some release trees.

The devicetree support is required to work around manufacturing deficiencies
which leave the controllers unconfigured out of the factory for some POWER
systems.

The communication issues with the MAX31785 on some POWER systems remains
unresolved and the outlook is that they won't ever be root-caused.

The reworked patches have been lightly tested on a Witherspoon system and
appear to be functional.

Please review! If there's no significant feedback in the next few days I'll
include them in the dev-4.13 tree.

Andrew Jeffery (5):
  dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation
  pmbus (max31785): Add support for devicetree configuration
  pmbus (core): One-shot retries for failure to set page
  pmbus (core): Use driver callbacks in pmbus_get_fan_rate()
  pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers

 .../devicetree/bindings/hwmon/pmbus/max31785.txt   | 158 +++++++
 drivers/hwmon/pmbus/max31785.c                     | 497 +++++++++++++++++++--
 drivers/hwmon/pmbus/pmbus_core.c                   |  20 +-
 3 files changed, 641 insertions(+), 34 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/max31785.txt

-- 
2.14.1



More information about the openbmc mailing list