]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: phy: realtek: add RTL8125D-internal PHY
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 17 Oct 2024 16:01:13 +0000 (18:01 +0200)
committerAndrew Lunn <andrew@lunn.ch>
Sun, 20 Oct 2024 16:06:47 +0000 (11:06 -0500)
The first boards show up with Realtek's RTL8125D. This MAC/PHY chip
comes with an integrated 2.5Gbps PHY with ID 0x001cc841. It's not
clear yet whether there's an external version of this PHY and how
Realtek calls it, therefore use the numeric id for now.

Link: https://lore.kernel.org/netdev/2ada65e1-5dfa-456c-9334-2bc51272e9da@gmail.com/T/
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Message-ID: <7d2924de-053b-44d2-a479-870dc3878170@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
drivers/net/phy/realtek.c

index 666462120531736a03e5411d7ed5fe252fe0f981..f65d7f1f348e730b9086c9d50153de621e00f448 100644 (file)
@@ -1151,6 +1151,7 @@ static int rtl_internal_nbaset_match_phy_device(struct phy_device *phydev)
        case RTL_GENERIC_PHYID:
        case RTL_8221B:
        case RTL_8251B:
+       case 0x001cc841:
                break;
        default:
                return false;