linux-fpga.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/4] mfd: add PMCI driver support
@ 2022-06-07  3:28 Tianfei Zhang
  2022-06-07  3:28 ` [PATCH v1 1/4] mfd: intel-m10-bmc: rename the local variables Tianfei Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Tianfei Zhang @ 2022-06-07  3:28 UTC (permalink / raw)
  To: yilun.xu, lee.jones
  Cc: hao.wu, trix, linux-kernel, linux-fpga, russell.h.weight,
	matthew.gerlach, Tianfei Zhang

PMCI(Platform Management Control Interface) is a software-visible
interface, conneted to card BMC which provided telemetry and mailbox
functionalities for Intel PAC FPGA card.

Currently, intel-m10-bmc driver support Intel MAX10 BMC functions via
SPI interface. To support multiple bus interfaces, splits the common
code from intel-m10-bmc driver into intel-m10-bmc-core.

This patchset adding a driver for the PMCI-base interface of Intel MAX10
BMC controller.

patch 1: use ddata for local variables which directly interacts with
dev_get_drvdata()/dev_set_drvdata().
patch 2: split the common code from intel-m10-bmc driver into
intel-m10-bmc-core.
patch 3: add a driver for PMCI.
patch 4: introduce a new data structure m10bmc_csr for the different
register definition of MAX10 CSRs.

Tianfei Zhang (4):
  mfd: intel-m10-bmc: rename the local variables
  mfd: intel-m10-bmc: split into core and spi
  mfd: intel-m10-bmc: add PMCI driver
  mfd: intel-m10-bmc: support multiple register layouts

 .../ABI/testing/sysfs-driver-intel-m10-bmc    |   8 +-
 drivers/mfd/Kconfig                           |  34 +++-
 drivers/mfd/Makefile                          |   6 +-
 .../{intel-m10-bmc.c => intel-m10-bmc-core.c} | 152 ++++++++----------
 drivers/mfd/intel-m10-bmc-pmci.c              |  88 ++++++++++
 drivers/mfd/intel-m10-bmc-spi.c               |  83 ++++++++++
 include/linux/mfd/intel-m10-bmc.h             |  43 ++++-
 7 files changed, 315 insertions(+), 99 deletions(-)
 rename drivers/mfd/{intel-m10-bmc.c => intel-m10-bmc-core.c} (56%)
 create mode 100644 drivers/mfd/intel-m10-bmc-pmci.c
 create mode 100644 drivers/mfd/intel-m10-bmc-spi.c

-- 
2.26.2


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

end of thread, other threads:[~2022-06-08 20:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-07  3:28 [PATCH v1 0/4] mfd: add PMCI driver support Tianfei Zhang
2022-06-07  3:28 ` [PATCH v1 1/4] mfd: intel-m10-bmc: rename the local variables Tianfei Zhang
2022-06-07  3:28 ` [PATCH v1 2/4] mfd: intel-m10-bmc: split into core and spi Tianfei Zhang
2022-06-07  3:28 ` [PATCH v1 3/4] mfd: intel-m10-bmc: add PMCI driver Tianfei Zhang
2022-06-07  9:42   ` kernel test robot
2022-06-07 18:33   ` kernel test robot
2022-06-08 20:47   ` kernel test robot
2022-06-07  3:28 ` [PATCH v1 4/4] mfd: intel-m10-bmc: support multiple register layouts Tianfei Zhang

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).