Skip to content

drivers: hwmon: Add OCC driver

Eddie James openbmc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drivers: hwmon: Add P9 OCC driverdrivers/hwmon/Kconfig drivers/hwmon/Makefile drivers/hwmon/occ/Kconfig +4 more+193 -00 replies
2/3drivers: hwmon: OCC: Add common functionality and SBE accessdrivers/hwmon/occ/common.c drivers/hwmon/occ/common.h drivers/hwmon/occ/p9_sbe.c+188 -10 replies
3/3drivers: hwmon: OCC: Add P9 sensors, hwmon attributes, and device setupdrivers/hwmon/occ/Makefile drivers/hwmon/occ/common.h drivers/hwmon/occ/p9.c +2 more+451 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH linux dev-4.10 0/3] drivers: hwmon: Add OCC driver

From: "Edward A. James" <[email protected]>

This series adds a hwmon driver for the POWER9 OCC (haven't tested for P8 yet). The driver obtains the OCC poll response and exports all the sensor data as hwmon attributes. This driver is intended to operate on a service processor.

For the POWER9 application, the driver communicates with the OCC from a service processor using the SBE engine. The low-level transfer protocol details, however, are contained in the OCC "fifo" driver, in order to arbitrate accesses from different users on the service processor.

Edward A. James (3):
drivers: hwmon: Add P9 OCC driver
drivers: hwmon: OCC: Add common functionality and SBE access
drivers: hwmon: OCC: Add P9 sensors, hwmon attributes, and device
setup

 drivers/hwmon/Kconfig      |   2 +
 drivers/hwmon/Makefile     |   1 +
 drivers/hwmon/occ/Kconfig  |  24 ++++
 drivers/hwmon/occ/Makefile |   7 +
 drivers/hwmon/occ/common.c | 110 ++++++++++++++
 drivers/hwmon/occ/common.h | 124 ++++++++++++++++
 drivers/hwmon/occ/p9.c     | 350 +++++++++++++++++++++++++++++++++++++++++++++
 drivers/hwmon/occ/p9.h     |  17 +++
 drivers/hwmon/occ/p9_sbe.c | 195 +++++++++++++++++++++++++
 9 files changed, 830 insertions(+)
 create mode 100644 drivers/hwmon/occ/Kconfig
 create mode 100644 drivers/hwmon/occ/Makefile
 create mode 100644 drivers/hwmon/occ/common.c
 create mode 100644 drivers/hwmon/occ/common.h
 create mode 100644 drivers/hwmon/occ/p9.c
 create mode 100644 drivers/hwmon/occ/p9.h
 create mode 100644 drivers/hwmon/occ/p9_sbe.c
Signature · 1 line
1.8.3.1