Re: [PATCH net-next v2 4/7] net: phy: adin1100: Add separate driver entries for ADIN1110/ADIN2111

From: Alvin Šipraga

Date: Tue Nov 10 2026 - 04:58:48 EST


On Mon, Nov 09, 2026 at 10:59:49AM +0200, Iustin Stolniceanu wrote:
> The ADIN1100, ADIN1110 and ADIN2111 report different model numbers in
> bits [9:4] of PHY_ID2 (0x8, 0x9 and 0xa), with the silicon revision in
> bits [3:0]. A single phy_driver entry with the 0xffffffcf mask currently
> binds all three by ignoring bits [5:4] of the model number.
>
> Use one phy_driver entry per device, matched with PHY_ID_MATCH_MODEL(),
> as is already done in the mdio_device_id table. This allows device
> specific callbacks to be set in a following patch. The callbacks are
> unchanged, so this is not a functional change apart from the reported
> driver name.
>
> Signed-off-by: Iustin Stolniceanu <iustin.stolniceanu@xxxxxxxxxx>

Reviewed-by: Alvin Šipraga <alvin.sipraga@xxxxxxxxxx>

> ---
> drivers/net/phy/adin1100.c | 35 +++++++++++++++++++++++++++++++++--
> 1 file changed, 33 insertions(+), 2 deletions(-)
>