devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/6] drivers: fsi: Add SBEFIFO and OCC drivers
@ 2017-09-22 21:05 Eddie James
  2017-09-22 21:05 ` [PATCH v3 1/6] dt-bindings: fsi: Add SBEFIFO documentation Eddie James
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Eddie James @ 2017-09-22 21:05 UTC (permalink / raw)
  To: linux-kernel
  Cc: gregkh, devicetree, robh+dt, mark.rutland, bradleyb, jk, cbostic,
	joel, andrew, eajames, Edward A. James

From: "Edward A. James" <eajames@us.ibm.com>

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 v2:
 * Rename occ.c and occ.h to fsi-occ.c and fsi-occ.h
 * Improved remove() ordering in both drivers.
 * Added cancel functionality to OCC driver to make sure no xfrs started during
   remove().
 * Fix spin_unlock with spin_unlock_irq in OCC driver.
 * Fix list_first_entry with list_first_entry_or_null in OCC worker function.
 * Add OCC response definitions to OCC include file.
 * Handle probe() failures better.

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 (6):
  dt-bindings: fsi: Add SBEFIFO documentation
  drivers: fsi: Add SBEFIFO FSI client device driver
  drivers: fsi: sbefifo: Add in-kernel API
  dt-bindings: fsi: Add OCC documentation
  drivers: fsi: Add On-Chip Controller (OCC) driver
  drivers: fsi: occ: Add in-kernel API

 .../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-occ.c                              | 851 ++++++++++++++++++
 drivers/fsi/fsi-sbefifo.c                          | 956 +++++++++++++++++++++
 include/linux/fsi-occ.h                            |  41 +
 include/linux/fsi-sbefifo.h                        |  30 +
 8 files changed, 1932 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-occ.c
 create mode 100644 drivers/fsi/fsi-sbefifo.c
 create mode 100644 include/linux/fsi-occ.h
 create mode 100644 include/linux/fsi-sbefifo.h

-- 
1.8.3.1

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

end of thread, other threads:[~2017-10-04 20:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-22 21:05 [PATCH v3 0/6] drivers: fsi: Add SBEFIFO and OCC drivers Eddie James
2017-09-22 21:05 ` [PATCH v3 1/6] dt-bindings: fsi: Add SBEFIFO documentation Eddie James
     [not found]   ` <1506114362-492-2-git-send-email-eajames-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-10-04 20:58     ` Rob Herring
2017-09-22 21:05 ` [PATCH v3 2/6] drivers: fsi: Add SBEFIFO FSI client device driver Eddie James
     [not found]   ` <1506114362-492-3-git-send-email-eajames-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-09-29 20:37     ` Andrew Jeffery
2017-09-22 21:05 ` [PATCH v3 3/6] drivers: fsi: sbefifo: Add in-kernel API Eddie James
2017-09-22 21:06 ` [PATCH v3 4/6] dt-bindings: fsi: Add OCC documentation Eddie James
     [not found]   ` <1506114362-492-5-git-send-email-eajames-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-10-04 20:59     ` Rob Herring
2017-09-22 21:06 ` [PATCH v3 5/6] drivers: fsi: Add On-Chip Controller (OCC) driver Eddie James
2017-09-22 21:06 ` [PATCH v3 6/6] drivers: fsi: occ: Add in-kernel API Eddie James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).