Re: [PATCH net-next v3 12/47] net: phy: aquantia: Add support for AQR115

From: Andrew Lunn
Date: Sat Jul 16 2022 - 14:18:08 EST


On Fri, Jul 15, 2022 at 05:59:19PM -0400, Sean Anderson wrote:
> This adds support for the AQR115 (which I have on my LS1046A RDB). I had a
> quick look over the registers, and it seems to be compatible with the
> AQR107. I couldn't find this oui anywhere, but that's what I have on my
> board. It's possible that NXP used a substitute here; I can't confirm
> the part number since there is a heatsink on top of the phy.

If i remember correctly, the OUI can be part of the provisioning for
Aquantia PHYs. And i think there is often per board provisioning,
specially for the SERDEs configuration. So aQuantia/Marvell probably
set this OUI, but maybe at NXP request.

Did you get the part number from the schematic? That should be enough
to confirm it is a AQR115.

> To avoid breaking <10G ethernet on the LS1046ARDB, we must add this
> vendor id as an exception to dpaa_phy_init. This will be removed once
> the DPAA driver is converted to phylink.

I suggest you split this into two. The PHY changes can be merged right
away, and is independent of the DPAA. Given the size of this patchset,
the more you can split it up into parallel submissions the better. So
please submit the PHY patches independent of the rest.

> Signed-off-by: Sean Anderson <sean.anderson@xxxxxxxx>

For the aquantia_main.c change only:

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew