Thread (11 messages) flat view 11 messages, 4 authors, 2026-01-08

Re: [PATCH net-next v2 4/5] net: phy: realtek: use paged access for MDIO_MMD_VEND2 in C22 mode

From: Maxime Chevallier <maxime.chevallier@bootlin.com>
Date: 2026-01-06 09:04:07
Also in: lkml

Hi Daniel,

On 05/01/2026 17:38, Daniel Golle wrote:
RTL822x cannot access MDIO_MMD_VEND2 via MII_MMD_CTRL/MII_MMD_DATA. A
mapping to use paged access needs to be used instead. All other MMD
devices can be accessed as usual.

Implement phy_read_mmd and phy_write_mmd using paged access for
MDIO_MMD_VEND2 in Clause-22 mode instead of relying on
MII_MMD_CTRL/MII_MMD_DATA. This allows eg. rtl822x_config_aneg to work
as expected in case the MDIO bus doesn't support Clause-45 access.

Suggested-by: Bevan Weiss <redacted>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This looks good to me

Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>

Maxime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help