dsa: add DSA switch driver for Microchip KSZ9477
authorWoojung Huh <Woojung.Huh@microchip.com>
Wed, 31 May 2017 20:19:19 +0000 (20:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Jun 2017 00:56:31 +0000 (20:56 -0400)
commitb987e98e50ab90e5291581204ef7a1c649313a70
tree21b8941f7aa8dbb249dfe254e4a62f7c6df5743c
parentfc3973a1fa090d5f5437621a9ae1f2232a04ee5b
dsa: add DSA switch driver for Microchip KSZ9477

The KSZ9477 is a fully integrated layer 2, managed, 7 ports GigE switch
with numerous advanced features. 5 ports incorporate 10/100/1000 Mbps PHYs.
The other 2 ports have interfaces that can be configured as SGMII, RGMII, MII
or RMII. Either of these may connect directly to a host processor or
to an external PHY. The SGMII port may interface to a fiber optic transceiver.

This driver currently supports vlan, fdb, mdb & mirror dsa switch operations.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Woojung Huh <Woojung.Huh@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/Kconfig
drivers/net/dsa/Makefile
drivers/net/dsa/microchip/Kconfig [new file with mode: 0644]
drivers/net/dsa/microchip/Makefile [new file with mode: 0644]
drivers/net/dsa/microchip/ksz_9477_reg.h [new file with mode: 0644]
drivers/net/dsa/microchip/ksz_common.c [new file with mode: 0644]
drivers/net/dsa/microchip/ksz_priv.h [new file with mode: 0644]
drivers/net/dsa/microchip/ksz_spi.c [new file with mode: 0644]
include/linux/platform_data/microchip-ksz.h [new file with mode: 0644]