[PATCH linux dev-4.10 v2 0/3] Hardware work-arounds for max31785

Andrew Jeffery andrew at aj.id.au
Tue Aug 1 13:19:29 AEST 2017


Hello,

I've reworked the initial series[1] to invert the meaning of the devicetree
property, and as such the devicetree patches have gone away. We now have a
device-level `use-stored-presence` property instead, which marks the device
state as canonical. In the abscense of the property, the driver should set the
installed bit for all fans described in the devicetree and clear the installed
bit for any which are not.

I've also addressed Joel's comments on the work-around for back-to-back writes,
removing the double-underscores from the helper functions.

Please review.

Andrew

[1] https://lists.ozlabs.org/pipermail/openbmc/2017-July/008438.html

Andrew Jeffery (3):
  dt-bindings: max31785: Add use-stored-presence property
  max31785: Support use-stored-presence devicetree property
  pmbus: max31785: Work around back-to-back writes with FAN_CONFIG_1_2

 .../devicetree/bindings/hwmon/pmbus/max31785.txt   |   6 ++
 drivers/hwmon/pmbus/max31785.c                     | 114 +++++++++++++++++++--
 2 files changed, 109 insertions(+), 11 deletions(-)

-- 
2.11.0



More information about the openbmc mailing list