All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH linux dev-4.10 0/7] Add fast rotor reads to MAX31785
@ 2017-06-02  6:22 Andrew Jeffery
  2017-06-02  6:22 ` [RFC PATCH linux dev-4.10 1/7] hwmon: Add support for MAX31785 intelligent fan controller Andrew Jeffery
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Andrew Jeffery @ 2017-06-02  6:22 UTC (permalink / raw)
  To: joel; +Cc: tpearson, Andrew Jeffery, openbmc, cbostic, msbarth

Hello,

I've dodgied up this series with a patch to the i2c core to make the fast rotor
read documented in [1] work. Thus, it's an RFC series. Further, the fast rotor
values are zero on the machine I was testing against. Maybe I need to broaden
my horizons and test against more machines, but I figured I'd send the patches
to get some "internal" feedback.

Timothy's original patch is reworked against the new hwmon kernel APIs. The
rework made it easier to support both the 0x3030 and 0x3040 firmwares for the
approach I took, though maybe there is a better way with using the hwmon
attribute visibility modes. Further, it's still not a pmbus driver, so it's
probably not yet acceptible upstream despite the fact that upstream still
doesn't support fan control in the pmbus core.

Please review.

Cheers,

Andrew

[1] https://github.com/openbmc/openbmc/issues/652

Andrew Jeffery (5):
  arm: aspeed: Add MAX31785 to aspeed_g5_defconfig
  hwmon: max31785: Document implementation oddities
  hwmon: max31785: Adapt to new hwmon APIs
  i2c: Add bogus I2C_SMBUS_DWORD_DATA bus protocol/transaction type
  hwmon: max31785: Enable fast rotor measurement feature

Christopher Bostic (1):
  hwmon: max31785: Provide config of fault pin behavior

Timothy Pearson (1):
  hwmon: Add support for MAX31785 intelligent fan controller

 Documentation/hwmon/max31785         |  44 ++
 arch/arm/configs/aspeed_g5_defconfig |   1 +
 drivers/hwmon/Kconfig                |  10 +
 drivers/hwmon/Makefile               |   1 +
 drivers/hwmon/max31785.c             | 852 +++++++++++++++++++++++++++++++++++
 drivers/i2c/i2c-core.c               |  30 ++
 include/linux/i2c.h                  |   2 +
 include/uapi/linux/i2c.h             |   2 +
 8 files changed, 942 insertions(+)
 create mode 100644 Documentation/hwmon/max31785
 create mode 100644 drivers/hwmon/max31785.c

-- 
2.11.0

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-06-05  6:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-02  6:22 [RFC PATCH linux dev-4.10 0/7] Add fast rotor reads to MAX31785 Andrew Jeffery
2017-06-02  6:22 ` [RFC PATCH linux dev-4.10 1/7] hwmon: Add support for MAX31785 intelligent fan controller Andrew Jeffery
2017-06-02  6:22 ` [RFC PATCH linux dev-4.10 2/7] arm: aspeed: Add MAX31785 to aspeed_g5_defconfig Andrew Jeffery
2017-06-02  6:22 ` [RFC PATCH linux dev-4.10 3/7] hwmon: max31785: Document implementation oddities Andrew Jeffery
2017-06-02  6:22 ` [RFC PATCH linux dev-4.10 4/7] hwmon: max31785: Adapt to new hwmon APIs Andrew Jeffery
2017-06-02  6:22 ` [RFC PATCH linux dev-4.10 5/7] i2c: Add bogus I2C_SMBUS_DWORD_DATA bus protocol/transaction type Andrew Jeffery
2017-06-02  6:22 ` [RFC PATCH linux dev-4.10 6/7] hwmon: max31785: Enable fast rotor measurement feature Andrew Jeffery
2017-06-02  6:22 ` [RFC PATCH linux dev-4.10 7/7] hwmon: max31785: Provide config of fault pin behavior Andrew Jeffery
2017-06-05  6:01 ` [RFC PATCH linux dev-4.10 0/7] Add fast rotor reads to MAX31785 Joel Stanley
2017-06-05  6:05   ` Andrew Jeffery

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.