On Tue, Feb 06, 2024 at 06:31:05PM +0100, Christian Marangi wrote: > Add support for scanning PHY in PHY package nodes. PHY packages nodes > are just container for actual PHY on the MDIO bus. > > Their PHY address defined in the PHY package node are absolute and > reflect the address on the MDIO bus. > > mdio_bus.c and of_mdio.c is updated to now support and parse also > PHY package subnode by checking if the node name match > "ethernet-phy-package". > > As PHY package reg is mandatory and each PHY in the PHY package must > have a reg, every invalid PHY Package node is ignored and will be > skipped by the autoscan fallback. > > Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx> Reviewed-by: Andrew Lunn <andrew@xxxxxxx> Andrew