drivers: fsi: sbefifo: Add in-kernel API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drivers: fsi: sbefifo: Add in-kernel APIdrivers/ include/ | +185 | 0 replies | |
| 2/3 | drivers: fsi: sbefifo: Add OCC driverdrivers/ drivers/ drivers/ | +660 | 0 replies | |
| 3/3 | ARM: dts: aspeed: witherspoon: Add example sbefifo and occfifo devicesarch/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH linux dev-4.7 0/3] drivers: fsi: sbefifo: Add in-kernel API
From: "Edward A. James" <[email protected]>
This patchset provides an in-kernel API for the SBEFIFO driver and the first user, a driver to access the P9 OCC hardware. There are also some potential devicetree bindings for the SBEFIFO and OCC devices.
The OCC provides a read/write interface, but only performs a single, atomic, OCC "command and response" operation per write operation. The driver cannot perform multiple writes in a row without first reading back to the user the response generated for each command. I can't see a use case for doing multiple commands without fetching the response.
Any feedback, particularly on how to improve the dt bindings or how to inform the OCC client that the SBEFIFO device has gone away (via unbinding FSI, or other means), would be helpful.
Edward A. James (3):
drivers: fsi: sbefifo: Add in-kernel API
drivers: fsi: sbefifo: Add OCC driver
ARM: dts: aspeed: witherspoon: Add example sbefifo and occfifo devices
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 16 + drivers/fsi/Kconfig | 10 + drivers/fsi/Makefile | 1 + drivers/fsi/fsi-sbefifo.c | 173 +++++- drivers/fsi/occfifo.c | 649 +++++++++++++++++++++++ include/linux/fsi-sbefifo.h | 41 ++ 6 files changed, 861 insertions(+), 29 deletions(-) create mode 100644 drivers/fsi/occfifo.c create mode 100644 include/linux/fsi-sbefifo.h
Signature · 1 line
1.8.3.1