[PATCH 00/12] intel-m10-bmc: Split BMC to core and SPI parts & add PMCI+N6000 support

From: Ilpo Järvinen
Date: Tue Nov 08 2022 - 09:43:22 EST


Hi all,

Here are the patches for MAX 10 BMC core/SPI interface split and
addition of the PMCI interface. There are a few supporting rearrangement
patches prior to the actual split. This series also introduced regmap for
indirect register access generic to Intel FPGA IPs.

The current downside of the split is that there's not that much code
remaining in the core part when all the type specific definitions are
moved to the file with the relevant interface.

Ilpo Järvinen (12):
mfd: intel-m10-bmc: Move m10bmc_type to header
mfd: intel-m10-bmc: Create m10bmc_platform_info for type specific info
mfd: intel-m10-bmc: Rename the local variables
mfd: intel-m10-bmc: Split into core and spi specific parts
mfd: intel-m10-bmc: Support multiple CSR register layouts
fpga: intel-m10-bmc: Add flash ops for sec update
mfd: intel-m10-bmc: Downscope SPI related defines
regmap: indirect: Add indirect regmap support
intel-m10-bmc: Add regmap_indirect_cfg for Intel FPGA IPs
mfd: intel-m10-bmc: Add PMCI driver
fpga: m10bmc-sec: Add support for N6000
mfd: intel-m10-bmc: Change MODULE_LICENSE() to GPL

.../ABI/testing/sysfs-driver-intel-m10-bmc | 8 +-
MAINTAINERS | 2 +-
drivers/base/regmap/Kconfig | 3 +
drivers/base/regmap/Makefile | 1 +
drivers/base/regmap/regmap-indirect.c | 128 +++++++
drivers/fpga/Kconfig | 2 +-
drivers/fpga/intel-m10-bmc-sec-update.c | 149 ++++----
drivers/hwmon/Kconfig | 2 +-
drivers/mfd/Kconfig | 34 +-
drivers/mfd/Makefile | 6 +-
drivers/mfd/intel-m10-bmc-core.c | 133 +++++++
drivers/mfd/intel-m10-bmc-pmci.c | 339 ++++++++++++++++++
drivers/mfd/intel-m10-bmc-spi.c | 262 ++++++++++++++
drivers/mfd/intel-m10-bmc.c | 238 ------------
include/linux/mfd/intel-m10-bmc.h | 131 ++++---
include/linux/regmap.h | 55 +++
16 files changed, 1110 insertions(+), 383 deletions(-)
create mode 100644 drivers/base/regmap/regmap-indirect.c
create mode 100644 drivers/mfd/intel-m10-bmc-core.c
create mode 100644 drivers/mfd/intel-m10-bmc-pmci.c
create mode 100644 drivers/mfd/intel-m10-bmc-spi.c
delete mode 100644 drivers/mfd/intel-m10-bmc.c

--
2.30.2