devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/7] Add support for Lantiq / Intel vrx200 network
@ 2018-09-01 11:45 Hauke Mehrtens
  2018-09-01 11:45 ` [PATCH v2 net-next 1/7] MIPS: lantiq: dma: add dev pointer Hauke Mehrtens
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Hauke Mehrtens @ 2018-09-01 11:45 UTC (permalink / raw)
  To: davem
  Cc: netdev, andrew, vivien.didelot, f.fainelli, john, linux-mips, dev,
	hauke.mehrtens, devicetree, Hauke Mehrtens

This adds basic support for the GSWIP (Gigabit Switch) found in the
VRX200 SoC.
There are different versions of this IP core used in different SoCs, but
this driver was currently only tested on the VRX200 SoC line, for other
SoCs this driver probably need some adoptions to work.

I also plan to add Layer 2 offloading to the DSA driver and later also
layer 3 offloading which is supported by the PPE HW block.

All these patches should go through the net-next tree.

"MIPS: lantiq: dma: add dev pointer" fixes a problem introduces with
4.19-rc1 and this should also go into 4.19, but it changes the API and I
need this API change in this new driver added in these patches.

Changes since:
v1:
 * Add "MIPS: lantiq: dma: add dev pointer"
 * checkpatch fixes a all patches
 * Added binding documentation
 * use readx_poll_timeout function and ETIMEOUT error code
 * integrate GPHY firmware loading into DSA driver
 * renamed to NET_DSA_LANTIQ_GSWIP
 * removed some needed casts
 * added of_device_id.data information about the detected switch
 * fixed John's email address

Hauke Mehrtens (7):
  MIPS: lantiq: dma: add dev pointer
  MIPS: lantiq: Do not enable IRQs in dma open
  net: dsa: Add Lantiq / Intel GSWIP tag support
  dt-bindings: net: Add lantiq,xrx200-net DT bindings
  net: lantiq: Add Lantiq / Intel VRX200 Ethernet driver
  dt-bindings: net: dsa: Add lantiq,xrx200-gswip DT bindings
  net: dsa: Add Lantiq / Intel DSA driver for vrx200

 .../devicetree/bindings/net/dsa/lantiq-gswip.txt   |  141 +++
 .../devicetree/bindings/net/lantiq,xrx200-net.txt  |   21 +
 MAINTAINERS                                        |    9 +
 arch/mips/include/asm/mach-lantiq/xway/xway_dma.h  |    1 +
 arch/mips/lantiq/xway/dma.c                        |    5 +-
 arch/mips/lantiq/xway/sysctrl.c                    |   14 +-
 drivers/net/dsa/Kconfig                            |    8 +
 drivers/net/dsa/Makefile                           |    1 +
 drivers/net/dsa/lantiq_gswip.c                     | 1018 ++++++++++++++++++++
 drivers/net/dsa/lantiq_pce.h                       |  153 +++
 drivers/net/ethernet/Kconfig                       |    7 +
 drivers/net/ethernet/Makefile                      |    1 +
 drivers/net/ethernet/lantiq_etop.c                 |    2 +
 drivers/net/ethernet/lantiq_xrx200.c               |  591 ++++++++++++
 include/net/dsa.h                                  |    1 +
 net/dsa/Kconfig                                    |    3 +
 net/dsa/Makefile                                   |    1 +
 net/dsa/dsa.c                                      |    3 +
 net/dsa/dsa_priv.h                                 |    3 +
 net/dsa/tag_gswip.c                                |  107 ++
 20 files changed, 2080 insertions(+), 10 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/dsa/lantiq-gswip.txt
 create mode 100644 Documentation/devicetree/bindings/net/lantiq,xrx200-net.txt
 create mode 100644 drivers/net/dsa/lantiq_gswip.c
 create mode 100644 drivers/net/dsa/lantiq_pce.h
 create mode 100644 drivers/net/ethernet/lantiq_xrx200.c
 create mode 100644 net/dsa/tag_gswip.c

-- 
2.11.0

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2018-09-06 21:36 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-01 11:45 [PATCH v2 net-next 0/7] Add support for Lantiq / Intel vrx200 network Hauke Mehrtens
2018-09-01 11:45 ` [PATCH v2 net-next 1/7] MIPS: lantiq: dma: add dev pointer Hauke Mehrtens
2018-09-01 14:57   ` Andrew Lunn
2018-09-01 21:39     ` Hauke Mehrtens
2018-09-02  1:26       ` Andrew Lunn
2018-09-01 11:45 ` [PATCH v2 net-next 2/7] MIPS: lantiq: Do not enable IRQs in dma open Hauke Mehrtens
2018-09-01 12:03 ` [PATCH v2 net-next 3/7] net: dsa: Add Lantiq / Intel GSWIP tag support Hauke Mehrtens
2018-09-01 18:01   ` Andrew Lunn
2018-09-03 18:52   ` Florian Fainelli
2018-09-01 12:04 ` [PATCH v2 net-next 4/7] dt-bindings: net: Add lantiq,xrx200-net DT bindings Hauke Mehrtens
2018-09-03 19:46   ` Florian Fainelli
2018-09-04 21:54     ` Hauke Mehrtens
2018-09-01 12:04 ` [PATCH v2 net-next 5/7] net: lantiq: Add Lantiq / Intel VRX200 Ethernet driver Hauke Mehrtens
2018-09-01 18:12   ` Andrew Lunn
2018-09-03 19:24   ` Florian Fainelli
2018-09-04 21:37     ` Hauke Mehrtens
2018-09-01 12:04 ` [PATCH v2 net-next 6/7] dt-bindings: net: dsa: Add lantiq,xrx200-gswip DT bindings Hauke Mehrtens
2018-09-01 12:05 ` [PATCH v2 net-next 7/7] net: dsa: Add Lantiq / Intel DSA driver for vrx200 Hauke Mehrtens
2018-09-01 21:44   ` Hauke Mehrtens
2018-09-03 19:54   ` Florian Fainelli
2018-09-06 21:11     ` Hauke Mehrtens
2018-09-06 21:36       ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).