Subject: AW: [PATCH net-next] net: phy: realtek: support MDI swapping for RTL8226-CG

From: <[email-masked]>
Date: Sat, 28 Mar 2026 21:02:05 +0100

> Von: Jan Hoffmann <[email-masked]> 
> Betreff: [PATCH net-next] net: phy: realtek: support MDI swapping for
RTL8226-CG
>
> Add support for configuring swapping of MDI pairs (ABCD->DCBA) when the
> property "enet-phy-pair-order" is specified.
> ...
>	ret = phy_modify_mmd(phydev, MDIO_MMD_VEND2, 0xd068, 0x7, 0x1);

No real knowledge here. But from other register combinations around 
the Realtek ecosystem this could make sense:

#define RTL822X_MDI_CAL_CTRL    0xd068   /* MDI pair cal index/control */
#define RTL822X_MDI_CAL_DATA    0xd06a   /* MDI pair cal data */

Markus