[PATCH linux dev-4.10 0/2] drivers: hwmon: occ: Fix sensors and add P8
Eddie James
eajames at linux.vnet.ibm.com
Fri Jun 9 06:25:49 AEST 2017
From: "Edward A. James" <eajames at us.ibm.com>
This series refactors the OCC hwmon driver to use versioned sensors. This
allows both the P8 and P9 code paths to use common hwmon attributes and
functions. Only the OCC access code is different.
The series also adds non-hwmon sysfs attributes to represent the status of the
OCC. These are not real sensors and therefor do not belong as hwmon attributes.
The patchset also adds the P8 OCC access code over I2C bus.
Edward A. James (2):
drivers: hwmon: occ: Add new sensor versions and non-hwmon attributes
drivers: hwmon: occ: Add P8 OCC access
drivers/hwmon/Makefile | 2 +-
drivers/hwmon/occ/Kconfig | 19 +-
drivers/hwmon/occ/Makefile | 12 +-
drivers/hwmon/occ/common.c | 992 ++++++++++++++++++++++++++++++++++++++++++++-
drivers/hwmon/occ/common.h | 5 +
drivers/hwmon/occ/p8_i2c.c | 282 +++++++++++++
drivers/hwmon/occ/p9.c | 350 ----------------
drivers/hwmon/occ/p9.h | 17 -
drivers/hwmon/occ/p9_sbe.c | 18 +-
9 files changed, 1320 insertions(+), 377 deletions(-)
create mode 100644 drivers/hwmon/occ/p8_i2c.c
delete mode 100644 drivers/hwmon/occ/p9.c
delete mode 100644 drivers/hwmon/occ/p9.h
--
1.8.3.1
More information about the openbmc
mailing list