]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: phy: realtek: add RTL8127-internal PHY
authorChunHao Lin <hau@realtek.com>
Fri, 16 May 2025 05:56:22 +0000 (13:56 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 May 2025 01:09:34 +0000 (18:09 -0700)
RTL8127-internal PHY is RTL8261C which is a integrated 10Gbps PHY with ID
0x001cc890. It follows the code path of RTL8125/RTL8126 internal NBase-T
PHY.

Signed-off-by: ChunHao Lin <hau@realtek.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250516055622.3772-1-hau@realtek.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/realtek/realtek_main.c

index 301fbe141b9becf68e0026a8a56ee6c7da07bb2a..b5e00cdf0123b79f684a3955271b41a755227ea4 100644 (file)
 #define RTL_8221B_VB_CG                                0x001cc849
 #define RTL_8221B_VN_CG                                0x001cc84a
 #define RTL_8251B                              0x001cc862
+#define RTL_8261C                              0x001cc890
 
 /* RTL8211E and RTL8211F support up to three LEDs */
 #define RTL8211x_LED_COUNT                     3
@@ -1370,6 +1371,7 @@ static int rtl_internal_nbaset_match_phy_device(struct phy_device *phydev)
        case RTL_GENERIC_PHYID:
        case RTL_8221B:
        case RTL_8251B:
+       case RTL_8261C:
        case 0x001cc841:
                break;
        default: