net: tn40xx: create swnode for mdio and aqr105 phy and add to mdiobus
authorHans-Frieder Vogt <hfdevel@gmx.net>
Sat, 22 Mar 2025 10:45:56 +0000 (11:45 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Mar 2025 20:53:21 +0000 (13:53 -0700)
commit25b6a6d29d4082f6ac231c056ac321a996eb55c9
tree377aa9b6dffac020493d047049a46c615181b73e
parente31e67f58cf2acc6ef25462b1479a2a8d8f82e57
net: tn40xx: create swnode for mdio and aqr105 phy and add to mdiobus

In case of an AQR105-based device, create a software node for the mdio
function, with a child node for the Aquantia AQR105 PHY, providing a
firmware-name (and a bit more, which may be used for future checks) to
allow the PHY to load a MAC specific firmware from the file system.

The name of the PHY software node follows the naming convention suggested
in the patch for the mdiobus_scan function (in the same patch series).

Signed-off-by: Hans-Frieder Vogt <hfdevel@gmx.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250322-tn9510-v3a-v7-5-672a9a3d8628@gmx.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/tehuti/tn40.c
drivers/net/ethernet/tehuti/tn40.h
drivers/net/ethernet/tehuti/tn40_mdio.c