* [PATCH net-next v2] net: ethernet: ti: cpsw_new: populate netdev of_node
@ 2025-03-03 7:46 A. Sverdlin
2025-03-05 1:30 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: A. Sverdlin @ 2025-03-03 7:46 UTC (permalink / raw)
To: Roger Quadros, netdev
Cc: Alexander Sverdlin, Siddharth Vadapalli, Andrew Lunn,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
linux-omap, linux-kernel, Andrew Lunn
From: Alexander Sverdlin <alexander.sverdlin@siemens.com>
So that of_find_net_device_by_node() can find CPSW ports and other DSA
switches can be stacked downstream. Tested in conjunction with KSZ8873.
Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
---
Changelog:
v2: cpsw-nuss (am6x or K3 naming) -> CPSW (am33x naming) in commit message
drivers/net/ethernet/ti/cpsw_new.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/ti/cpsw_new.c b/drivers/net/ethernet/ti/cpsw_new.c
index cec0a90659d94..66713bc931741 100644
--- a/drivers/net/ethernet/ti/cpsw_new.c
+++ b/drivers/net/ethernet/ti/cpsw_new.c
@@ -1418,6 +1418,7 @@ static int cpsw_create_ports(struct cpsw_common *cpsw)
ndev->netdev_ops = &cpsw_netdev_ops;
ndev->ethtool_ops = &cpsw_ethtool_ops;
SET_NETDEV_DEV(ndev, dev);
+ ndev->dev.of_node = slave_data->slave_node;
if (!napi_ndev) {
/* CPSW Host port CPDMA interface is shared between
--
2.48.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next v2] net: ethernet: ti: cpsw_new: populate netdev of_node
2025-03-03 7:46 [PATCH net-next v2] net: ethernet: ti: cpsw_new: populate netdev of_node A. Sverdlin
@ 2025-03-05 1:30 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-03-05 1:30 UTC (permalink / raw)
To: A. Sverdlin
Cc: rogerq, netdev, s-vadapalli, andrew+netdev, davem, edumazet, kuba,
pabeni, linux-omap, linux-kernel, andrew
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 3 Mar 2025 08:46:57 +0100 you wrote:
> From: Alexander Sverdlin <alexander.sverdlin@siemens.com>
>
> So that of_find_net_device_by_node() can find CPSW ports and other DSA
> switches can be stacked downstream. Tested in conjunction with KSZ8873.
>
> Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>
> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
>
> [...]
Here is the summary with links:
- [net-next,v2] net: ethernet: ti: cpsw_new: populate netdev of_node
https://git.kernel.org/netdev/net-next/c/7ff1c88fc896
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-05 1:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-03 7:46 [PATCH net-next v2] net: ethernet: ti: cpsw_new: populate netdev of_node A. Sverdlin
2025-03-05 1:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox