[PATCH v3 0/6] net: dsa: lantiq_gswip: prepare for supporting MaxLinear GSW1xx

Daniel Golle posted 6 patches 1 month ago
There is a newer version of this series
MAINTAINERS                                 |  3 +-
drivers/net/dsa/Kconfig                     |  8 +--
drivers/net/dsa/Makefile                    |  2 +-
drivers/net/dsa/lantiq/Kconfig              |  7 +++
drivers/net/dsa/lantiq/Makefile             |  1 +
drivers/net/dsa/{ => lantiq}/lantiq_gswip.c | 54 ++++++++++++++++-----
drivers/net/dsa/{ => lantiq}/lantiq_gswip.h |  4 ++
drivers/net/dsa/{ => lantiq}/lantiq_pce.h   |  0
8 files changed, 57 insertions(+), 22 deletions(-)
create mode 100644 drivers/net/dsa/lantiq/Kconfig
create mode 100644 drivers/net/dsa/lantiq/Makefile
rename drivers/net/dsa/{ => lantiq}/lantiq_gswip.c (98%)
rename drivers/net/dsa/{ => lantiq}/lantiq_gswip.h (98%)
rename drivers/net/dsa/{ => lantiq}/lantiq_pce.h (100%)
[PATCH v3 0/6] net: dsa: lantiq_gswip: prepare for supporting MaxLinear GSW1xx
Posted by Daniel Golle 1 month ago
Continue to prepare for supporting the newer standalone MaxLinear GSW1xx
switch family by extending the existing lantiq_gswip driver to allow it
to support MII interfaces and MDIO bus of the GSW1xx.

This series has been preceded by an RFC series which covers everything
needed to support the MaxLinear GSW1xx family of switches. Andrew Lunn
had suggested to split it into a couple of smaller series and start
with the changes which don't yet make actual functional changes or
support new features.

Everything has been compile and runtime tested on AVM Fritz!Box 7490
(GSWIP version 2.1, VR9 v1.2)

Link: https://lore.kernel.org/netdev/aKDhFCNwjDDwRKsI@pidgin.makrotopia.org/

v3: explicitly initialize mii_port_reg_offset to 0
v2: move lantiq_gswip driver to its own folder

Daniel Golle (6):
  net: dsa: lantiq_gswip: move to dedicated folder
  net: dsa: lantiq_gswip: support model-specific mac_select_pcs()
  net: dsa: lantiq_gswip: ignore SerDes modes in phylink_mac_config()
  net: dsa: lantiq_gswip: support offset of MII registers
  net: dsa: lantiq_gswip: support standard MDIO node name
  net: dsa: lantiq_gswip: move MDIO bus registration to .setup()

 MAINTAINERS                                 |  3 +-
 drivers/net/dsa/Kconfig                     |  8 +--
 drivers/net/dsa/Makefile                    |  2 +-
 drivers/net/dsa/lantiq/Kconfig              |  7 +++
 drivers/net/dsa/lantiq/Makefile             |  1 +
 drivers/net/dsa/{ => lantiq}/lantiq_gswip.c | 54 ++++++++++++++++-----
 drivers/net/dsa/{ => lantiq}/lantiq_gswip.h |  4 ++
 drivers/net/dsa/{ => lantiq}/lantiq_pce.h   |  0
 8 files changed, 57 insertions(+), 22 deletions(-)
 create mode 100644 drivers/net/dsa/lantiq/Kconfig
 create mode 100644 drivers/net/dsa/lantiq/Makefile
 rename drivers/net/dsa/{ => lantiq}/lantiq_gswip.c (98%)
 rename drivers/net/dsa/{ => lantiq}/lantiq_gswip.h (98%)
 rename drivers/net/dsa/{ => lantiq}/lantiq_pce.h (100%)

-- 
2.51.0
Re: [PATCH v3 0/6] net: dsa: lantiq_gswip: prepare for supporting MaxLinear GSW1xx
Posted by Daniel Golle 1 month ago
On Fri, Aug 29, 2025 at 02:01:36PM +0100, Daniel Golle wrote:
> Continue to prepare for supporting the newer standalone MaxLinear GSW1xx
> switch family by extending the existing lantiq_gswip driver to allow it
> to support MII interfaces and MDIO bus of the GSW1xx.
> 
> This series has been preceded by an RFC series which covers everything
> needed to support the MaxLinear GSW1xx family of switches. Andrew Lunn
> had suggested to split it into a couple of smaller series and start
> with the changes which don't yet make actual functional changes or
> support new features.
> 
> Everything has been compile and runtime tested on AVM Fritz!Box 7490
> (GSWIP version 2.1, VR9 v1.2)
> 
> Link: https://lore.kernel.org/netdev/aKDhFCNwjDDwRKsI@pidgin.makrotopia.org/
> 
> v3: explicitly initialize mii_port_reg_offset to 0
> v2: move lantiq_gswip driver to its own folder
> 
> Daniel Golle (6):
>   net: dsa: lantiq_gswip: move to dedicated folder
>   net: dsa: lantiq_gswip: support model-specific mac_select_pcs()
>   net: dsa: lantiq_gswip: ignore SerDes modes in phylink_mac_config()
>   net: dsa: lantiq_gswip: support offset of MII registers
>   net: dsa: lantiq_gswip: support standard MDIO node name
>   net: dsa: lantiq_gswip: move MDIO bus registration to .setup()

The whole series is intended for net-next, I messed up putting that into
the subject line. Let me know if I should resend another time for that or
if it is fine to go into net-next like that.
Re: [PATCH v3 0/6] net: dsa: lantiq_gswip: prepare for supporting MaxLinear GSW1xx
Posted by Jakub Kicinski 1 month ago
On Fri, 29 Aug 2025 14:03:44 +0100 Daniel Golle wrote:
> The whole series is intended for net-next, I messed up putting that into
> the subject line. Let me know if I should resend another time for that or
> if it is fine to go into net-next like that.

It's alright, FWIW. If all the changes are under drivers/net/ the CI
will default to net-next.