drivers: net: phy: Use Aquantia driver for AQR113C
authorMadalin Bucur <madalin.bucur@oss.nxp.com>
Thu, 10 Sep 2020 10:23:39 +0000 (13:23 +0300)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 24 Sep 2020 15:27:32 +0000 (20:57 +0530)
Add support for AQR113C PHY

Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/phy/aquantia.c

index 68cd3d0..9061afa 100644 (file)
@@ -680,6 +680,20 @@ struct phy_driver aqr112_driver = {
        .data = AQUANTIA_GEN3,
 };
 
+struct phy_driver aqr113c_driver = {
+       .name = "Aquantia AQR113C",
+       .uid = 0x31c31c12,
+       .mask = 0xfffffff0,
+       .features = PHY_10G_FEATURES,
+       .mmds = (MDIO_MMD_PMAPMD | MDIO_MMD_PCS |
+                MDIO_MMD_PHYXS | MDIO_MMD_AN |
+                MDIO_MMD_VEND1),
+       .config = &aquantia_config,
+       .startup = &aquantia_startup,
+       .shutdown = &gen10g_shutdown,
+       .data = AQUANTIA_GEN3,
+};
+
 struct phy_driver aqr405_driver = {
        .name = "Aquantia AQR405",
        .uid = 0x3a1b4b2,
@@ -716,6 +730,7 @@ int phy_aquantia_init(void)
        phy_register(&aqr106_driver);
        phy_register(&aqr107_driver);
        phy_register(&aqr112_driver);
+       phy_register(&aqr113c_driver);
        phy_register(&aqr405_driver);
        phy_register(&aqr412_driver);