mbox series

[net-next,v4,0/5] Add a driver for the Marvell 88Q2110 PHY

Message ID 20230719064258.9746-1-eichest@gmail.com (mailing list archive)
Headers show
Series Add a driver for the Marvell 88Q2110 PHY | expand

Message

Stefan Eichenberger July 19, 2023, 6:42 a.m. UTC
Add support for 1000BASE-T1 to the phy-c45 helper and add a first
1000BASE-T1 driver for the Marvell 88Q2110 PHY.

v4:
  - Move PHY id to include/linux/marvell_phy.h (Marek)
  - Use PHY id ending with 0, gets masked (Andrew)

v3:
  - Read the BASE-T1 capabilities from the ability register (Andrew)
  - Fix several missing return values (Francesco)
  - Poll the reset bit to be sure the soft reset was done (Andrew)
  - Fix reading the latched link status wrongly (Andrew/Russell)
  - Remove probe function (Francesco)
  - Add defines for Marvell specific registers (Andrew)
  - Move the BASE-T1 ability reading to a separate function (Andrew)

v2:
 - Use the same pattern in Kconfig as for 88X2222 (Andrew)
 - Sort Kconfig and Makefile entries (Andrew)
 - Add generic registers to mdio.h (Andrew)
 - Move generic functionality to phy-c45.c (Andrew)
 - Document where proprietary registers are used (Andrew)
 - Remove unnecessary c45 check (Andrew)
 - Remove cable tests which were not implemented (Andrew)
 - Remove comma for terminator entry (Francesco)
 - Sort include files (Francesco)
 - Return phy_write_mmd value in soft_reset (Francesco)

Stefan Eichenberger (5):
  net: phy: add registers to support 1000BASE-T1
  net: phy: c45: add support for 1000BASE-T1 forced setup
  net: phy: c45: add a separate function to read BASE-T1 abilities
  net: phy: c45: detect the BASE-T1 speed from the ability register
  net: phy: marvell-88q2xxx: add driver for the Marvell 88Q2110 PHY

 drivers/net/phy/Kconfig           |   6 +
 drivers/net/phy/Makefile          |   1 +
 drivers/net/phy/marvell-88q2xxx.c | 263 ++++++++++++++++++++++++++++++
 drivers/net/phy/phy-c45.c         |  63 +++++--
 include/linux/marvell_phy.h       |   1 +
 include/linux/phy.h               |   1 +
 include/uapi/linux/mdio.h         |  18 +-
 7 files changed, 338 insertions(+), 15 deletions(-)
 create mode 100644 drivers/net/phy/marvell-88q2xxx.c

Comments

patchwork-bot+netdevbpf@kernel.org July 20, 2023, 10:50 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Wed, 19 Jul 2023 08:42:53 +0200 you wrote:
> Add support for 1000BASE-T1 to the phy-c45 helper and add a first
> 1000BASE-T1 driver for the Marvell 88Q2110 PHY.
> 
> v4:
>   - Move PHY id to include/linux/marvell_phy.h (Marek)
>   - Use PHY id ending with 0, gets masked (Andrew)
> 
> [...]

Here is the summary with links:
  - [net-next,v4,1/5] net: phy: add registers to support 1000BASE-T1
    https://git.kernel.org/netdev/net-next/c/6f1c646d88c5
  - [net-next,v4,2/5] net: phy: c45: add support for 1000BASE-T1 forced setup
    https://git.kernel.org/netdev/net-next/c/25108a834e14
  - [net-next,v4,3/5] net: phy: c45: add a separate function to read BASE-T1 abilities
    https://git.kernel.org/netdev/net-next/c/eba2e4c2faef
  - [net-next,v4,4/5] net: phy: c45: detect the BASE-T1 speed from the ability register
    https://git.kernel.org/netdev/net-next/c/a60eb72066af
  - [net-next,v4,5/5] net: phy: marvell-88q2xxx: add driver for the Marvell 88Q2110 PHY
    https://git.kernel.org/netdev/net-next/c/00f11ac71708

You are awesome, thank you!