[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221014220540.55570-1-eajames@linux.ibm.com>
Date: Fri, 14 Oct 2022 17:05:35 -0500
From: Eddie James <eajames@...ux.ibm.com>
To: joel@....id.au
Cc: broonie@...nel.org, jk@...abs.org, alistair@...ple.id.au,
linux-kernel@...r.kernel.org, linux-fsi@...ts.ozlabs.org,
eajames@...ux.ibm.com
Subject: [PATCH 0/5] fsi: Add regmap and refactor sbefifo
The SBEFIFO hardware can now be attached over a new I2C endpoint
interface called the I2C Responder (I2CR). In order to use the
existing SBEFIFO driver, add regmap drivers for both FSI busses
and the I2CR. Then, refactor the SBEFIFO and OCC drivers to clean
up and use the new regmap drivers.
Eddie James (5):
regmap: Add FSI bus support
regmap: Add IBM I2CR support
drivers: fsi: Rename sbefifo and occ sources
drivers: fsi: separate char device code for occ and sbefifo
drivers: fsi: occ and sbefifo refactor
drivers/base/regmap/Kconfig | 10 +-
drivers/base/regmap/Makefile | 2 +
drivers/base/regmap/regmap-fsi.c | 231 +++++
drivers/base/regmap/regmap-ibm-i2cr.c | 159 ++++
drivers/fsi/Kconfig | 23 +-
drivers/fsi/Makefile | 8 +-
drivers/fsi/fsi-occ.c | 766 -----------------
drivers/fsi/fsi-sbefifo.c | 1144 -------------------------
drivers/fsi/occ-cdev.c | 157 ++++
drivers/fsi/occ.c | 534 ++++++++++++
drivers/fsi/occ.h | 75 ++
drivers/fsi/sbefifo-cdev.c | 218 +++++
drivers/fsi/sbefifo-fsi.c | 68 ++
drivers/fsi/sbefifo-i2c.c | 72 ++
drivers/fsi/sbefifo.c | 797 +++++++++++++++++
drivers/fsi/sbefifo.h | 50 ++
include/linux/regmap.h | 72 ++
17 files changed, 2468 insertions(+), 1918 deletions(-)
create mode 100644 drivers/base/regmap/regmap-fsi.c
create mode 100644 drivers/base/regmap/regmap-ibm-i2cr.c
delete mode 100644 drivers/fsi/fsi-occ.c
delete mode 100644 drivers/fsi/fsi-sbefifo.c
create mode 100644 drivers/fsi/occ-cdev.c
create mode 100644 drivers/fsi/occ.c
create mode 100644 drivers/fsi/occ.h
create mode 100644 drivers/fsi/sbefifo-cdev.c
create mode 100644 drivers/fsi/sbefifo-fsi.c
create mode 100644 drivers/fsi/sbefifo-i2c.c
create mode 100644 drivers/fsi/sbefifo.c
create mode 100644 drivers/fsi/sbefifo.h
--
2.31.1
Powered by blists - more mailing lists