]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
net: phy: aquantia: add support for AQR115
authorCamelia Groza <camelia.groza@nxp.com>
Thu, 21 Aug 2025 15:20:22 +0000 (18:20 +0300)
committerJakub Kicinski <kuba@kernel.org>
Mon, 25 Aug 2025 17:54:16 +0000 (10:54 -0700)
AQR115 is similar to the already supported AQR115C, having speeds up to
2.5Gbps. In fact, the two differ only in the FCBGA package size (7x11mm
vs 7x7mm for the Compact variant). So it makes sense that the feature
set is identical for the 2 drivers.

This PHY is present on the newest PCB revision E (v4.0) of the NXP
LS1046A-RDB, having replaced the RTL8211FS SGMII PHY going to fm1-mac5.

Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://patch.msgid.link/20250821152022.1065237-16-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/aquantia/aquantia_main.c

index dd83205a8869c55ea1101af88166e9b3bcc9be98..8516690e34db651eb2fb22bc226b0f84b03de5ce 100644 (file)
@@ -31,6 +31,7 @@
 #define PHY_ID_AQR113  0x31c31c40
 #define PHY_ID_AQR113C 0x31c31c12
 #define PHY_ID_AQR114C 0x31c31c22
+#define PHY_ID_AQR115  0x31c31c63
 #define PHY_ID_AQR115C 0x31c31c33
 #define PHY_ID_AQR813  0x31c31cb2
 
@@ -1344,6 +1345,31 @@ static struct phy_driver aqr_driver[] = {
        .led_hw_control_get = aqr_phy_led_hw_control_get,
        .led_polarity_set = aqr_phy_led_polarity_set,
 },
+{
+       PHY_ID_MATCH_MODEL(PHY_ID_AQR115),
+       .name           = "Aquantia AQR115",
+       .probe          = aqr107_probe,
+       .get_rate_matching = aqr_gen2_get_rate_matching,
+       .config_init    = aqr_gen4_config_init,
+       .config_aneg    = aqr_config_aneg,
+       .config_intr    = aqr_config_intr,
+       .handle_interrupt = aqr_handle_interrupt,
+       .read_status    = aqr_gen2_read_status,
+       .get_tunable    = aqr107_get_tunable,
+       .set_tunable    = aqr107_set_tunable,
+       .suspend        = aqr_gen1_suspend,
+       .resume         = aqr_gen1_resume,
+       .get_sset_count = aqr107_get_sset_count,
+       .get_strings    = aqr107_get_strings,
+       .get_stats      = aqr107_get_stats,
+       .get_features   = aqr115c_get_features,
+       .link_change_notify = aqr107_link_change_notify,
+       .led_brightness_set = aqr_phy_led_brightness_set,
+       .led_hw_is_supported = aqr_phy_led_hw_is_supported,
+       .led_hw_control_set = aqr_phy_led_hw_control_set,
+       .led_hw_control_get = aqr_phy_led_hw_control_get,
+       .led_polarity_set = aqr_phy_led_polarity_set,
+},
 {
        PHY_ID_MATCH_MODEL(PHY_ID_AQR115C),
        .name           = "Aquantia AQR115C",
@@ -1413,6 +1439,7 @@ static const struct mdio_device_id __maybe_unused aqr_tbl[] = {
        { PHY_ID_MATCH_MODEL(PHY_ID_AQR113) },
        { PHY_ID_MATCH_MODEL(PHY_ID_AQR113C) },
        { PHY_ID_MATCH_MODEL(PHY_ID_AQR114C) },
+       { PHY_ID_MATCH_MODEL(PHY_ID_AQR115) },
        { PHY_ID_MATCH_MODEL(PHY_ID_AQR115C) },
        { PHY_ID_MATCH_MODEL(PHY_ID_AQR813) },
        { }