netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/3] microchip: add support for ksz8863 driver family
@ 2019-05-08 21:13 Michael Grzeschik
  2019-05-08 21:13 ` [RFC 1/3] mdio-bitbang: add SMI0 mode support Michael Grzeschik
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Michael Grzeschik @ 2019-05-08 21:13 UTC (permalink / raw)
  To: Tristram.Ha; +Cc: kernel, UNGLinuxDriver, netdev

This series adds support for the ksz8863 driver family to the
dsa based ksz drivers. For now the ksz8863 nad ksz8873 are compatible.

The driver is based on the ksz8895 RFC patch from Tristam Ha:

https://patchwork.ozlabs.org/patch/822712/

And the latest version of the ksz8863.h from Microchip:

https://raw.githubusercontent.com/Microchip-Ethernet/UNG8071_old_1.10/master/KSZ/linux-drivers/ksz8863/linux-3.14/drivers/net/ethernet/micrel/ksz8863.h

The driver works as expected on the machine including the switch. The
clients on the other hand behind the switch see some bandwidth issues
after the stack was bootet and configured appropriate via:

ip link add name br0 type bridge

ip link set dev eth1 master br0
ip link set dev eth2 master br0

@Tristam: Could you have a look if something obious was misconfigured?

Michael Grzeschik (3):
  mdio-bitbang: add SMI0 mode support
  ksz: Add Microchip KSZ8873 SMI-DSA driver
  dt-bindings: net: dsa: document additional Microchip KSZ8863 family
    switches

 .../devicetree/bindings/net/dsa/ksz.txt       |   44 +
 drivers/net/dsa/microchip/Kconfig             |   16 +
 drivers/net/dsa/microchip/Makefile            |    2 +
 drivers/net/dsa/microchip/ksz8863.c           | 1026 +++++++++++++++++
 drivers/net/dsa/microchip/ksz8863_reg.h       |  605 ++++++++++
 drivers/net/dsa/microchip/ksz8863_smi.c       |  105 ++
 drivers/net/dsa/microchip/ksz_priv.h          |    3 +
 drivers/net/phy/mdio-bitbang.c                |   10 +
 include/linux/phy.h                           |   12 +
 include/net/dsa.h                             |    2 +
 net/dsa/Kconfig                               |    7 +
 net/dsa/tag_ksz.c                             |   45 +
 12 files changed, 1877 insertions(+)
 create mode 100644 drivers/net/dsa/microchip/ksz8863.c
 create mode 100644 drivers/net/dsa/microchip/ksz8863_reg.h
 create mode 100644 drivers/net/dsa/microchip/ksz8863_smi.c

-- 
2.20.1


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

end of thread, other threads:[~2019-06-13 20:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-08 21:13 [RFC 0/3] microchip: add support for ksz8863 driver family Michael Grzeschik
2019-05-08 21:13 ` [RFC 1/3] mdio-bitbang: add SMI0 mode support Michael Grzeschik
2019-05-09 14:29   ` Andrew Lunn
2019-05-10  7:32     ` Michael Grzeschik
2019-05-10 12:36       ` Andrew Lunn
2019-05-08 21:13 ` [RFC 2/3] ksz: Add Microchip KSZ8873 SMI-DSA driver Michael Grzeschik
2019-05-09 14:48   ` Andrew Lunn
2019-05-10  7:37     ` Michael Grzeschik
2019-05-08 21:13 ` [RFC 3/3] dt-bindings: net: dsa: document additional Microchip KSZ8863 family switches Michael Grzeschik
2019-06-13 20:09   ` Rob Herring

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).