From: "Frank.sae" <frank.sae@motor-comm.com>
To: andrew@lunn.ch
Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, kuba@kernel.org,
pabeni@redhat.com, edumazet@kernel.org, davem@davemloft.net,
netdev@vger.kernel.org, lingyu.zou@motor-comm.com,
xiaoyong.li@motor-comm.com, jie.han@motor-comm.com
Subject: [PATCH net-next v6 0/1] net: phy: motorcomm: add YT8831 2.5G PHY basic support
Date: Mon, 30 Nov 2026 08:32:52 +0000 [thread overview]
Message-ID: <20261130083253.3367566-1-frank.sae@motor-comm.com> (raw)
In-Reply-To: <7a511164-b5f4-4aa4-83b6-075d83098ac3@lunn.ch>
Hi Andrew,
Thanks for your review.
YT8831 uses C22 for auto-negotiation itself.
The C45 MMD space is only used to configure 2.5G capability bits, not for Clause45 autoneg.
Calling genphy_c45_config_aneg() was wrong and caused AN restart twice.
This v6 fixes that issue, we keep __genphy_config_aneg() for C22 AN, and use explicit
phy_write_mmd() to set 2.5G advertisement capability which is following `rtl822x_config_aneg`
This is v6 adding Motorcomm YT8831 2.5G PHY basic support.
Changes since v5:
- Fix yt8831_config_aneg(): remove incorrect genphy_c45_config_aneg() call.
YT8831 uses C22 for autoneg; C45 MMD is only used to program 2.5G capability,
not for C45 autoneg. This avoids double autoneg restart.
Patch 1: net: phy: motorcomm: add YT8831 2.5G PHY basic support
Frank.sae (1):
net: phy: motorcomm: add YT8831 2.5G PHY basic support
drivers/net/phy/motorcomm.c | 385 +++++++++++++++++++++++++++++++++++-
1 file changed, 383 insertions(+), 2 deletions(-)
--
2.43.0
next prev parent reply other threads:[~2026-11-30 8:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 3:35 [PATCH net-next v3] net: phy: motorcomm: add YT8831 2.5G PHY support Frank.sae
2026-11-18 14:14 ` Andrew Lunn
2026-11-18 14:17 ` Andrew Lunn
2026-11-19 5:56 ` Frank.sae
2026-11-19 13:14 ` Andrew Lunn
2026-11-23 6:47 ` Frank.sae
2026-11-26 6:46 ` [PATCH net-next v5 0/1] net: phy: motorcomm: add YT8831 2.5G PHY basic support Frank.sae
2026-11-26 6:46 ` [PATCH net-next v5 1/1] " Frank.sae
2026-11-29 16:45 ` Andrew Lunn
2026-11-30 8:32 ` Frank.sae [this message]
2026-11-30 8:32 ` [PATCH net-next v6 " Frank.sae
2026-11-30 13:09 ` Andrew Lunn
2026-12-04 5:00 ` [PATCH net-next v6 0/1] " patchwork-bot+netdevbpf
2026-11-19 6:42 ` [PATCH net-next v3] net: phy: motorcomm: add YT8831 2.5G PHY support kernel test robot
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=20261130083253.3367566-1-frank.sae@motor-comm.com \
--to=frank.sae@motor-comm.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=hkallweit1@gmail.com \
--cc=jie.han@motor-comm.com \
--cc=kuba@kernel.org \
--cc=lingyu.zou@motor-comm.com \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=xiaoyong.li@motor-comm.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