[PATCH v2 0/5] drivers/fsi: Add SBEFIFO and OCC drivers

From: Eddie James
Date: Wed Jul 05 2017 - 17:37:12 EST

From: "Edward A. James" <eajames@xxxxxxxxxx>

This series adds two FSI-based device drivers. The OCC driver is dependent on
the SBEFIFO driver, as a user of it's in-kernel API. The in-kernel API provided
by the OCC driver will be used by a hwmon driver (on the lkml as "Add On-Chip
Controller (OCC) hwmon driver").

Changes since v1:
* Split bindings into separate patch and added SBEFIFO device binding
* Fixed #includes
* Fix SBEFIFO race condition between write() and poll_timer().
* Followed Rob's suggestion to just create one platform device for hwmon
driver, instead of using the device tree.
* Also check for "command in progress" response from OCC and try a while

Edward A. James (5):
drivers/fsi: Add SBEFIFO FSI client device driver
drivers/fsi/sbefifo: Add in-kernel API
drivers/fsi: Add On-Chip Controller (OCC) driver
drivers/fsi/occ: Add in-kernel API
Documentation/devicetree/bindings: Add FSI device documentation

.../devicetree/bindings/fsi/ibm,p9-occ.txt | 15 +
.../devicetree/bindings/fsi/ibm,p9-sbefifo.txt | 20 +
drivers/fsi/Kconfig | 17 +
drivers/fsi/Makefile | 2 +
drivers/fsi/fsi-sbefifo.c | 932 +++++++++++++++++++++
drivers/fsi/occ.c | 803 ++++++++++++++++++
include/linux/fsi-sbefifo.h | 30 +
include/linux/occ.h | 41 +
8 files changed, 1860 insertions(+)
create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt
create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.txt
create mode 100644 drivers/fsi/fsi-sbefifo.c
create mode 100644 drivers/fsi/occ.c
create mode 100644 include/linux/fsi-sbefifo.h
create mode 100644 include/linux/occ.h