mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jay Buddhabhatti <jay.buddhabhatti@amd.com>
To: Michal Simek <michal.simek@amd.com>
Cc: Jay Buddhabhatti <jay.buddhabhatti@amd.com>,
	Ronak Jain <ronak.jain@amd.com>,
	Aravind Thokala <Aravind.Thokala@amd.com>,
	Harsh Jain <h.jain@amd.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>, <git@amd.com>
Subject: [PATCH 0/5] drivers: firmware: xilinx: Split ZynqMP firmware driver into modular components
Date: Fri, 27 Nov 2026 17:18:34 +0530	[thread overview]
Message-ID: <20261127114839.1428778-1-jay.buddhabhatti@amd.com> (raw)

Split the ZynqMP firmware driver into focused modules to improve
maintainability and clarify ownership of each firmware interface. The
driver mixes platform core infrastructure, PM EEMI APIs, PDI loading,
FPGA management, and NVM access in one large file.

This series applies on top of "firmware: xilinx: cleanups and debugfs
fixes":
https://lore.kernel.org/all/cover.1795094242.git.michal.simek@amd.com/

Split the driver incrementally and keep each patch reviewable:

  - Move PDI library APIs into zynqmp-pdi.c with a dedicated header.
  - Move FPGA library APIs into zynqmp-fpga.c with a dedicated header.
  - Move NVM library APIs into zynqmp-nvm.c with a dedicated header.
  - Localize the firmware version caches.
  - Split core platform/SMC infrastructure (zynqmp-core.c) from PM EEMI
    APIs (zynqmp-pm.c).

Jay Buddhabhatti (1):
  drivers: firmware: xilinx: Localize firmware version caches

Ronak Jain (4):
  drivers: firmware: xilinx: Relocate PDI library APIs to new file
  drivers: firmware: xilinx: Relocate FPGA library APIs to new file
  drivers: firmware: xilinx: Relocate NVM library APIs to new file
  drivers: firmware: xilinx: Split PM EEMI and core APIs in firmware

 MAINTAINERS                                   |  28 +
 drivers/firmware/xilinx/Makefile              |   4 +-
 drivers/firmware/xilinx/zynqmp-core.c         | 797 +++++++++++++++
 drivers/firmware/xilinx/zynqmp-debug.h        |  20 +
 drivers/firmware/xilinx/zynqmp-fpga.c         |  89 ++
 drivers/firmware/xilinx/zynqmp-nvm.c          |  35 +
 drivers/firmware/xilinx/zynqmp-pdi.c          |  27 +
 .../firmware/xilinx/{zynqmp.c => zynqmp-pm.c} | 937 +-----------------
 include/linux/firmware/xlnx-zynqmp-fpga.h     |  55 +
 include/linux/firmware/xlnx-zynqmp-nvm.h      |  28 +
 include/linux/firmware/xlnx-zynqmp-pdi.h      |  34 +
 include/linux/firmware/xlnx-zynqmp.h          |  52 +-
 12 files changed, 1134 insertions(+), 972 deletions(-)
 create mode 100644 drivers/firmware/xilinx/zynqmp-core.c
 create mode 100644 drivers/firmware/xilinx/zynqmp-fpga.c
 create mode 100644 drivers/firmware/xilinx/zynqmp-nvm.c
 create mode 100644 drivers/firmware/xilinx/zynqmp-pdi.c
 rename drivers/firmware/xilinx/{zynqmp.c => zynqmp-pm.c} (63%)
 create mode 100644 include/linux/firmware/xlnx-zynqmp-fpga.h
 create mode 100644 include/linux/firmware/xlnx-zynqmp-nvm.h
 create mode 100644 include/linux/firmware/xlnx-zynqmp-pdi.h

-- 
2.43.0


             reply	other threads:[~2026-11-27 11:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 11:48 Jay Buddhabhatti [this message]
2026-11-27 11:48 ` [PATCH 1/5] drivers: firmware: xilinx: Relocate PDI library APIs to new file Jay Buddhabhatti
2026-11-27 11:48 ` [PATCH 2/5] drivers: firmware: xilinx: Relocate FPGA " Jay Buddhabhatti
2026-11-27 11:48 ` [PATCH 3/5] drivers: firmware: xilinx: Relocate NVM " Jay Buddhabhatti
2026-11-27 11:48 ` [PATCH 4/5] drivers: firmware: xilinx: Localize firmware version caches Jay Buddhabhatti
2026-11-27 11:48 ` [PATCH 5/5] drivers: firmware: xilinx: Split PM EEMI and core APIs in firmware Jay Buddhabhatti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261127114839.1428778-1-jay.buddhabhatti@amd.com \
    --to=jay.buddhabhatti@amd.com \
    --cc=Aravind.Thokala@amd.com \
    --cc=git@amd.com \
    --cc=h.jain@amd.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.simek@amd.com \
    --cc=ronak.jain@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®