Thread (21 messages) flat view 21 messages, 3 authors, 2025-10-28

Re: [PATCH net-next v3 01/12] net: dsa: lantiq_gswip: split into common and MMIO parts

From: "Sverdlin, Alexander" <alexander.sverdlin@siemens.com>
Date: 2025-10-27 11:37:45
Also in: linux-devicetree, lkml

Hi Daniel,

On Sun, 2025-10-26 at 23:43 +0000, Daniel Golle wrote:
Move all parts specific for the MMIO/SoC driver into a module of its own
to prepare for supporting MDIO-connected switch ICs.
Modify gswip_probe() functions by splitting it into a common function
gswip_probe_common() which covers allocating, initializing and registering
the DSA switch, while keeping transport-specific regmap initialization as
well as PHY firmware loading in the new MMIO/SoC-specific gswip_probe()
function.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
thanks for the patch!

Tested-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>

(with GSW145)
---
 drivers/net/dsa/lantiq/Kconfig               |    6 +-
 drivers/net/dsa/lantiq/Makefile              |    1 +
 drivers/net/dsa/lantiq/lantiq_gswip.c        | 1617 +----------------
 drivers/net/dsa/lantiq/lantiq_gswip.h        |    4 +
 drivers/net/dsa/lantiq/lantiq_gswip_common.c | 1622 ++++++++++++++++++
 5 files changed, 1658 insertions(+), 1592 deletions(-)
 create mode 100644 drivers/net/dsa/lantiq/lantiq_gswip_common.c
-- 
Alexander Sverdlin
Siemens AG
www.siemens.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help