mbox series

[v1,net-next,0/3] net: dsa: microchip: add KSZ9893 switch support

Message ID 1551412644-17319-1-git-send-email-Tristram.Ha@microchip.com
Headers show
Series net: dsa: microchip: add KSZ9893 switch support | expand

Message

Tristram.Ha@microchip.com March 1, 2019, 3:57 a.m. UTC
From: Tristram Ha <Tristram.Ha@microchip.com>

This series of patches is to modify the KSZ9477 DSA driver to support
running KSZ9893 switch.

The KSZ9893 switch is similar to KSZ9477 except the ingress tail tag has
1 byte instead of 2 bytes.  The XMII register that governs the MAC
communication also has different register definitions.

v1
- Put KSZ9893 tagging in separate patch
- Remove other switch support

Tristram Ha (3):
  dt-bindings: net: dsa: document additional Microchip KSZ9477 family
    switches
  net: dsa: add KSZ9893 switch tagging support
  net: dsa: microchip: add KSZ9893 switch support

 Documentation/devicetree/bindings/net/dsa/ksz.txt |  43 ++++
 drivers/net/dsa/microchip/ksz9477.c               | 242 ++++++++++++++++++++--
 drivers/net/dsa/microchip/ksz9477_spi.c           |   4 +-
 drivers/net/dsa/microchip/ksz_common.c            |   4 +-
 include/net/dsa.h                                 |   1 +
 net/dsa/dsa.c                                     |   2 +
 net/dsa/dsa_priv.h                                |   1 +
 net/dsa/tag_ksz.c                                 |  34 +++
 8 files changed, 316 insertions(+), 15 deletions(-)

Comments

David Miller March 3, 2019, 9:49 p.m. UTC | #1
From: <Tristram.Ha@microchip.com>
Date: Thu, 28 Feb 2019 19:57:21 -0800

> From: Tristram Ha <Tristram.Ha@microchip.com>
> 
> This series of patches is to modify the KSZ9477 DSA driver to support
> running KSZ9893 switch.
> 
> The KSZ9893 switch is similar to KSZ9477 except the ingress tail tag has
> 1 byte instead of 2 bytes.  The XMII register that governs the MAC
> communication also has different register definitions.
> 
> v1
> - Put KSZ9893 tagging in separate patch
> - Remove other switch support

Series applied, please follow up with Florian about that register
write question on patch #3.

Thanks.