[RFC PATCH linux dev-4.10 0/7] Add fast rotor reads to MAX31785
Andrew Jeffery
andrew at aj.id.au
Fri Jun 2 16:22:00 AEST 2017
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
More information about the openbmc
mailing list