+45
−26
Loading
With the phy_port representation introduced, we can use .attach_port to populate the port information based on either the straps or the ti,fiber-mode property. This allows simplifying the probe function and allow users to override the strapping configuration. Reviewed-by:Christophe Leroy <christophe.leroy@csgroup.eu> Reviewed-by:
Andrew Lunn <andrew@lunn.ch> Tested-by:
Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by:
Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/20260108080041.553250-5-maxime.chevallier@bootlin.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org>