All of lore.kernel.org
 help / color / mirror / Atom feed
From: Beiyan Yun <root@infi.wang>
To: u-boot@lists.denx.de
Cc: Beiyan Yun <root@infi.wang>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Jerome Forissier <jerome.forissier@linaro.org>,
	Joe Hershberger <joe.hershberger@ni.com>,
	"Lucien.Jheng" <lucienzx159@gmail.com>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	Ramon Fried <rfried.dev@gmail.com>,
	Romain Gantois <romain.gantois@bootlin.com>,
	Siddharth Vadapalli <s-vadapalli@ti.com>,
	Tom Rini <trini@konsulko.com>,
	weijie.gao@mediatek.com
Subject: [PATCH RESEND 0/4] net: phy: aquantia: Switch to generic firmware loader
Date: Tue, 23 Sep 2025 15:12:57 +0800	[thread overview]
Message-ID: <20250923071315.276114-1-root@infi.wang> (raw)


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 fsloader framework.

The series is structured as follows:
- The first patch is a minor cleanup, switching to the phy_get_ofnode()
  helper.
- The second patch fixes a small typo in the binding document.
- The third and main patch replaces the custom loader with generic one.
- The final patch updates the device tree binding documentation to
  introduce the firmware-name property and provide usage examples.

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


Beiyan Yun (4):
  net: phy: aquantia: switch to use phy_get_ofnode()
  doc: bindings: fix aquantia-phy.txt typo
  net: phy: aquantia: use generic firmware loader
  doc: bindings: add Aquantia PHY node's "firmware-name" binding

 doc/device-tree-bindings/net/aquantia-phy.txt |  32 ++++-
 drivers/net/phy/Kconfig                       |  19 ++-
 drivers/net/phy/aquantia.c                    | 124 +++++++++---------
 3 files changed, 103 insertions(+), 72 deletions(-)

-- 
2.47.3

base-commit: d33b21b7e261691e8d6613a24cc9b0ececba3b01
branch: aquantia-fsloader

             reply	other threads:[~2025-09-23  7:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-23  7:12 Beiyan Yun [this message]
2025-09-23  7:12 ` [PATCH RESEND 1/4] net: phy: aquantia: switch to use phy_get_ofnode() Beiyan Yun
2025-09-23  7:12 ` [PATCH RESEND 2/4] doc: bindings: fix aquantia-phy.txt typo Beiyan Yun
2025-09-23  7:13 ` [PATCH RESEND 3/4] net: phy: aquantia: use generic firmware loader Beiyan Yun
2025-09-23  7:13 ` [PATCH RESEND 4/4] doc: bindings: add Aquantia PHY node's "firmware-name" binding Beiyan Yun
2025-09-23 12:44   ` Yao Zi
2025-09-26  8:22     ` Beiyan Yun
2025-09-26  9:30       ` Beiyan Yun
2025-09-28 13:04         ` Yao Zi
2025-09-29 20:55           ` Tom Rini

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=20250923071315.276114-1-root@infi.wang \
    --to=root@infi.wang \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jerome.forissier@linaro.org \
    --cc=joe.hershberger@ni.com \
    --cc=lucienzx159@gmail.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=rfried.dev@gmail.com \
    --cc=romain.gantois@bootlin.com \
    --cc=s-vadapalli@ti.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=weijie.gao@mediatek.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.