|
|
Log in / Subscribe / Register

Adding the Sparx5 Serdes driver

From:  Steen Hegelund <steen.hegelund-AT-microchip.com>
To:  Kishon Vijay Abraham I <kishon-AT-ti.com>, Vinod Koul <vkoul-AT-kernel.org>
Subject:  [PATCH v1 0/4] Adding the Sparx5 Serdes driver
Date:  Thu, 05 Nov 2020 15:44:25 +0100
Message-ID:  <20201105144429.2438358-1-steen.hegelund@microchip.com>
Cc:  Steen Hegelund <steen.hegelund-AT-microchip.com>, Alexandre Belloni <alexandre.belloni-AT-bootlin.com>, Lars Povlsen <lars.povlsen-AT-microchip.com>, Bjarni Jonasson <bjarni.jonasson-AT-microchip.com>, Microsemi List <microsemi-AT-lists.bootlin.com>, Microchip UNG Driver List <UNGLinuxDriver-AT-microchip.com>, linux-kernel-AT-vger.kernel.org
Archive-link:  Article

Adding the Sparx5 Serdes driver

This series of patches provides the serdes driver for the Microchip Sparx5
ethernet switch.

The serdes driver supports the 10G and 25G serdes instances available in the
Sparx5.

The Sparx5 serdes support several interface modes with several speeds and also
allows the client to change the mode and the speed according to changing in the
environment such as changing cables from DAC to fiber.

The serdes driver is to be used by the Sparx5 switchdev driver that
will follow in subsequent series.

Lars Povlsen (2):
  dt-bindings: phy: Add sparx5-serdes bindings
  arm64: dts: sparx5: Add Sparx5 serdes driver node

Steen Hegelund (2):
  phy: Add ethernet serdes configuration option
  phy: Add Sparx5 ethernet serdes PHY driver

 .../bindings/phy/microchip,sparx5-serdes.yaml |  283 ++
 arch/arm64/boot/dts/microchip/sparx5.dtsi     |  195 ++
 drivers/phy/Kconfig                           |    1 +
 drivers/phy/Makefile                          |    1 +
 drivers/phy/microchip/Kconfig                 |   12 +
 drivers/phy/microchip/Makefile                |    6 +
 drivers/phy/microchip/sparx5_serdes.c         | 2468 +++++++++++++++
 drivers/phy/microchip/sparx5_serdes_regs.h    | 2773 +++++++++++++++++
 include/linux/phy/phy-ethernet-serdes.h       |   49 +
 include/linux/phy/phy.h                       |    4 +
 10 files changed, 5792 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/microchip,sparx5-serdes.yaml
 create mode 100644 drivers/phy/microchip/Kconfig
 create mode 100644 drivers/phy/microchip/Makefile
 create mode 100644 drivers/phy/microchip/sparx5_serdes.c
 create mode 100644 drivers/phy/microchip/sparx5_serdes_regs.h
 create mode 100644 include/linux/phy/phy-ethernet-serdes.h

--
2.29.2



Copyright © 2020, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds