From: Beiyan Yun <root@infi.wang>
To: u-boot@lists.denx.de
Cc: Yao Zi <ziyao@disroot.org>,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Tom Rini <trini@konsulko.com>, Beiyan Yun <root@infi.wang>,
Jerome Forissier <jerome.forissier@linaro.org>,
Joe Hershberger <joe.hershberger@ni.com>,
Ramon Fried <rfried.dev@gmail.com>,
Siddharth Vadapalli <s-vadapalli@ti.com>
Subject: [PATCH v4 3/5] net: phy: aquantia: replace the "mdi-reversal" node with "marvell, mdi-cfg-order"
Date: Fri, 31 Oct 2025 23:21:05 +0800 [thread overview]
Message-ID: <20251031152348.60571-4-root@infi.wang> (raw)
In-Reply-To: <20251031152348.60571-1-root@infi.wang>
As part of the effort of making U-Boot work with the same device tree as
Linux, align with upstream node name.
Signed-off-by: Beiyan Yun <root@infi.wang>
---
(no changes since v2)
Changes in v2:
- New
arch/arm/dts/fsl-sch-30841.dtsi | 8 ++++----
arch/arm/dts/fsl-sch-30842.dtsi | 2 +-
drivers/net/phy/aquantia.c | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/arm/dts/fsl-sch-30841.dtsi b/arch/arm/dts/fsl-sch-30841.dtsi
index 28b1bec18a5..a92d9811fd3 100644
--- a/arch/arm/dts/fsl-sch-30841.dtsi
+++ b/arch/arm/dts/fsl-sch-30841.dtsi
@@ -15,24 +15,24 @@
*/
phy@00 {
reg = <0x00>;
- mdi-reversal = <1>;
+ marvell,mdi-cfg-order = <1>;
smb-addr = <0x25>;
};
phy@01 {
reg = <0x01>;
- mdi-reversal = <1>;
+ marvell,mdi-cfg-order = <1>;
smb-addr = <0x26>;
};
phy@02 {
reg = <0x02>;
- mdi-reversal = <1>;
+ marvell,mdi-cfg-order = <1>;
smb-addr = <0x27>;
};
phy@03 {
reg = <0x03>;
- mdi-reversal = <1>;
+ marvell,mdi-cfg-order = <1>;
smb-addr = <0x28>;
};
diff --git a/arch/arm/dts/fsl-sch-30842.dtsi b/arch/arm/dts/fsl-sch-30842.dtsi
index bff9e76570b..fca38d14975 100644
--- a/arch/arm/dts/fsl-sch-30842.dtsi
+++ b/arch/arm/dts/fsl-sch-30842.dtsi
@@ -13,6 +13,6 @@
*/
phy@02 {
reg = <0x02>;
- mdi-reversal = <1>;
+ marvell,mdi-cfg-order = <1>;
smb-addr = <0x25>;
};
diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c
index 439c4c48bdc..11e450cdb0b 100644
--- a/drivers/net/phy/aquantia.c
+++ b/drivers/net/phy/aquantia.c
@@ -351,8 +351,8 @@ static int aquantia_dts_config(struct phy_device *phydev)
if (!ofnode_valid(node))
return 0;
- if (!ofnode_read_u32(node, "mdi-reversal", &prop)) {
- debug("mdi-reversal = %d\n", (int)prop);
+ if (!ofnode_read_u32(node, "marvell,mdi-cfg-order", &prop)) {
+ debug("marvell,mdi-cfg-order = %d\n", (int)prop);
reg = phy_read(phydev, MDIO_MMD_PMAPMD,
AQUANTIA_PMA_RX_VENDOR_P1);
reg &= ~AQUANTIA_PMA_RX_VENDOR_P1_MDI_MSK;
--
2.47.3
next prev parent reply other threads:[~2025-10-31 15:24 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Beiyan Yun [this message]
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
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=20251031152348.60571-4-root@infi.wang \
--to=root@infi.wang \
--cc=jerome.forissier@linaro.org \
--cc=joe.hershberger@ni.com \
--cc=marek.vasut+renesas@mailbox.org \
--cc=rfried.dev@gmail.com \
--cc=s-vadapalli@ti.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=ziyao@disroot.org \
/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.