[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210524131421.1030789-1-olteanv@gmail.com>
Date: Mon, 24 May 2021 16:14:12 +0300
From: Vladimir Oltean <olteanv@...il.com>
To: Jakub Kicinski <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Cc: Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Vladimir Oltean <vladimir.oltean@....com>
Subject: [PATCH net-next 0/9] SJA1105 DSA driver preparation for new switch introduction (SJA1110)
From: Vladimir Oltean <vladimir.oltean@....com>
This series contains refactoring patches which are necessary before the
support for the new NXP SJA1110 switch can be introduced in this driver.
As far as this series is concerned, here is the list of major changes
introduced with the SJA1110:
- 11 ports vs 5
- port 0 goes to the internal microcontroller, so it is unused as far as
DSA is concerned
- the Clock Generation Unit does not need any configuration for
setting up the PLLs for MII/RMII/RGMII
- the L2 Policing Table contains multicast policers too, not just
broadcast and per-traffic class. These must be minimally initialized.
- more frame buffers
Vladimir Oltean (9):
net: dsa: sja1105: parameterize the number of ports
net: dsa: sja1105: avoid some work for unused ports
net: dsa: sja1105: dimension the data structures for a larger port
count
net: dsa: sja1105: don't assign the host port using
dsa_upstream_port()
net: dsa: sja1105: skip CGU configuration if it's unnecessary
net: dsa: sja1105: dynamically choose the number of static config
table entries
net: dsa: sja1105: use sja1105_xfer_u32 for the reset procedure
net: dsa: sja1105: configure the multicast policers, if present
net: dsa: sja1105: allow the frame buffer size to be customized
drivers/net/dsa/sja1105/sja1105.h | 35 ++--
drivers/net/dsa/sja1105/sja1105_clocking.c | 36 +++-
drivers/net/dsa/sja1105/sja1105_flower.c | 13 +-
drivers/net/dsa/sja1105/sja1105_main.c | 156 +++++++++++-------
drivers/net/dsa/sja1105/sja1105_spi.c | 41 ++---
.../net/dsa/sja1105/sja1105_static_config.c | 13 +-
.../net/dsa/sja1105/sja1105_static_config.h | 7 +-
drivers/net/dsa/sja1105/sja1105_tas.c | 14 +-
drivers/net/dsa/sja1105/sja1105_tas.h | 2 +-
drivers/net/dsa/sja1105/sja1105_vl.c | 2 +-
10 files changed, 201 insertions(+), 118 deletions(-)
--
2.25.1
Powered by blists - more mailing lists