]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Merge branch 'net-ethernet-ti-am65-cpsw-nuss-support-stacked-switches'
authorJakub Kicinski <kuba@kernel.org>
Thu, 30 May 2024 00:32:51 +0000 (17:32 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 May 2024 00:32:51 +0000 (17:32 -0700)
Alexander Sverdlin says:

====================
net: ethernet: ti: am65-cpsw-nuss: support stacked switches

Currently an external Ethernet switch connected to a am65-cpsw-nuss CPU
port will not be probed successfully because of_find_net_device_by_node()
will not be able to find the netdev of the CPU port.

It's necessary to populate of_node of the struct device for the
am65-cpsw-nuss ports. DT nodes of the ports are already stored in per-port
private data, but because of some legacy reasons the naming ("phy_node")
was misleading.
====================

Link: https://lore.kernel.org/r/20240528075954.3608118-1-alexander.sverdlin@siemens.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge