public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v4 0/5] net: phy: aquantia: Switch to generic firmware loader
@ 2025-10-31 15:21 Beiyan Yun
  2025-10-31 15:21 ` [PATCH v4 1/5] net: phy: aquantia: refresh format Beiyan Yun
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Beiyan Yun @ 2025-10-31 15:21 UTC (permalink / raw)
  To: u-boot
  Cc: Yao Zi, Marek Vasut, Tom Rini, Beiyan Yun, Jerome Forissier,
	Joe Hershberger, Lucien.Jheng, Ramon Fried, Romain Gantois,
	Siddharth Vadapalli, Weijie Gao

Hi,

This patch series refactors the Aquantia PHY firmware loader to use
the generic fsloader framework.

The existing loader is limited to loading firmware from an MMC device,
which restricts its use on many devices (e.g., routers) that may use
other storage like USB or have a UBIFS root filesystem. Migrating to the
generic firmware loader allows firmware to be sourced from any backend
supported by the fwloader and fsloader framework.

The series is structured as follows:
- The first patch is formatting.
- The second patch aligns binding document with upstream and prepares
  for the migration.
- The third patch aligns binding for MDI with upstream.
- The fourth patch prepares current loading code for fsloader.
- The final and main patch replaces the custom loader with generic one.

Kept smb-addr intact as NXP is the only consumer.

This change has been tested on a Buffalo WXR18000BE10P router, loading
firmware from a UBIFS volume for Marvell CUX3410.

Changes in v4:
- net: phy: aquantia: refresh format
- net: phy: aquantia: refactor firmware upload helpers
- Split firmware upload helpers change
- Reorder `aquantia_read_fw`
- Make `aquantia_read_fw` weak to allow overide
- Rename exit label in `aquantia_read_fw`
- Kconfig polish

Changes in v3:
- Select FW_LOADER with PHY_AQUANTIA_UPLOAD_FW

Changes in v2:
- doc: bindings: use upstream bindings for aquantia phy
- net: phy: aquantia: replace the "mdi-reversal" node with "marvell,mdi-cfg-order"
- Add support for script based loader

Beiyan Yun (5):
  net: phy: aquantia: refresh format
  doc: bindings: use upstream bindings for aquantia phy
  net: phy: aquantia: replace the "mdi-reversal" node with
    "marvell,mdi-cfg-order"
  net: phy: aquantia: refactor firmware upload helpers
  net: phy: aquantia: use generic firmware loader

 arch/arm/dts/fsl-sch-30841.dtsi               |   8 +-
 arch/arm/dts/fsl-sch-30842.dtsi               |   2 +-
 doc/device-tree-bindings/net/aquantia-phy.txt |  15 +-
 drivers/net/phy/Kconfig                       |  28 +-
 drivers/net/phy/aquantia.c                    | 299 ++++++++++--------
 5 files changed, 188 insertions(+), 164 deletions(-)

-- 
2.47.3

base-commit: 08bf42e1faa4411cd347c2e370da790a0116e318
branch: aquantia-fsloader-v4

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

end of thread, other threads:[~2025-11-02 14:25 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-31 15:21 [PATCH v4 0/5] net: phy: aquantia: Switch to generic firmware loader Beiyan Yun
2025-10-31 15:21 ` [PATCH v4 1/5] net: phy: aquantia: refresh format Beiyan Yun
2025-10-31 15:51   ` Marek Vasut
2025-10-31 17:21     ` Beiyan Yun
2025-10-31 18:33       ` Marek Vasut
2025-10-31 19:00         ` Tom Rini
2025-10-31 15:21 ` [PATCH v4 2/5] doc: bindings: use upstream bindings for aquantia phy Beiyan Yun
2025-10-31 15:53   ` Marek Vasut
2025-10-31 17:02     ` Beiyan Yun
2025-10-31 17:12       ` Marek Vasut
2025-10-31 15:21 ` [PATCH v4 3/5] net: phy: aquantia: replace the "mdi-reversal" node with "marvell, mdi-cfg-order" Beiyan Yun
2025-10-31 15:21 ` [PATCH v4 4/5] net: phy: aquantia: refactor firmware upload helpers Beiyan Yun
2025-10-31 15:21 ` [PATCH v4 5/5] net: phy: aquantia: use generic firmware loader Beiyan Yun
2025-10-31 15:41   ` Daniel Golle
2025-10-31 16:09     ` Beiyan Yun
2025-10-31 15:57   ` Marek Vasut
2025-10-31 16:34     ` Beiyan Yun
2025-10-31 16:51       ` Marek Vasut
2025-11-01  7:45         ` Beiyan Yun
2025-11-01 11:54           ` Marek Vasut
2025-11-02  4:57             ` Beiyan Yun
2025-11-02 14:25               ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox