mbox series

[net-next,0/4] net: dsa: microchip: add SGMII port support to KSZ9477 switch

Message ID 20240809233840.59953-1-Tristram.Ha@microchip.com (mailing list archive)
Headers show
Series net: dsa: microchip: add SGMII port support to KSZ9477 switch | expand

Message

Tristram.Ha@microchip.com Aug. 9, 2024, 11:38 p.m. UTC
From: Tristram Ha <tristram.ha@microchip.com>

This series of patches is to add SGMII port support to KSZ9477 switch.

As the SGMII module has its own interrupt for link indication the common
code needs to be prepared to allow KSZ9477 to handle other interrupts
that are not passed to other drivers such as PHY.

The SGMII port is simulated as having a regular PHY as there is not much
to do with that port except reporting link on/off and connecting speed.

Tristram Ha (4):
  dt-bindings: net: dsa: microchip: add SGMII port support to KSZ9477
    switch
  net: dsa: microchip: support global switch interrupt in KSZ DSA driver
  net: dsa: microchip: handle most interrupts in KSZ9477/KSZ9893 switch
    families
  net: dsa: microchip: add SGMII port support to KSZ9477 switch

 .../bindings/net/dsa/microchip,ksz.yaml       |  12 +
 drivers/net/dsa/microchip/ksz9477.c           | 404 +++++++++++++++++-
 drivers/net/dsa/microchip/ksz9477.h           |   6 +-
 drivers/net/dsa/microchip/ksz9477_reg.h       |  10 +-
 drivers/net/dsa/microchip/ksz_common.c        |  45 +-
 drivers/net/dsa/microchip/ksz_common.h        |  11 +-
 6 files changed, 477 insertions(+), 11 deletions(-)