netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/12] RollBall / Hilink / Turris 10G copper SFP support
@ 2022-09-30 14:20 Marek Behún
  2022-09-30 14:20 ` [PATCH net-next 01/12] net: phylink: add ability to validate a set of interface modes Marek Behún
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Marek Behún @ 2022-09-30 14:20 UTC (permalink / raw)
  To: netdev, David S. Miller, Jakub Kicinski
  Cc: Russell King, Andrew Lunn, Vladimir Oltean, Marek Behún

Hello,

I am resurrecting my attempt to add support for RollBall / Hilink /
Turris 10G copper SFPs modules.

The modules contain Marvell 88X3310 PHY, which can communicate with
the system via sgmii, 2500base-x, 5gbase-r, 10gbase-r or usxgmii mode.

Some of the patches I've taken from Russell King's net-queue [1]
(with some rebasing).

The important change from my previous attempts are:
- I am including the changes needed to phylink and marvell10g driver,
  so that the 88X3310 PHY is configured to use PHY modes supported by
  the host (the PHY defaults to use 10gbase-r only on host's side)
- I have changed the patch that informs phylib about the interfaces
  supported by the host (patch 5 of this series): it now fills in the
  phydev->host_interfaces member only when connecting a PHY that is
  inside a SFP module. This may change in the future.

Marek

[1] http://git.armlinux.org.uk/cgit/linux-arm.git/?h=net-queue

Marek Behún (7):
  net: phylink: pass supported host PHY interface modes to phylib for
    SFP's PHYs
  net: phy: marvell10g: Use tabs instead of spaces for indentation
  net: phylink: allow attaching phy for SFP modules on 802.3z mode
  net: sfp: Add and use macros for SFP quirks definitions
  net: sfp: create/destroy I2C mdiobus before PHY probe/after PHY
    release
  net: phy: mdio-i2c: support I2C MDIO protocol for RollBall SFP modules
  net: sfp: add support for multigig RollBall transceivers

Russell King (3):
  net: sfp: augment SFP parsing with phy_interface_t bitmap
  net: phylink: use phy_interface_t bitmaps for optical modules
  net: phy: marvell10g: select host interface configuration

Russell King (Oracle) (2):
  net: phylink: add ability to validate a set of interface modes
  net: phylink: rename phylink_sfp_config()

 drivers/net/mdio/mdio-i2c.c       | 310 +++++++++++++++++++++++++++++-
 drivers/net/phy/at803x.c          |   3 +-
 drivers/net/phy/marvell-88x2222.c |   3 +-
 drivers/net/phy/marvell.c         |   3 +-
 drivers/net/phy/marvell10g.c      | 133 ++++++++++++-
 drivers/net/phy/phylink.c         | 210 +++++++++++++++-----
 drivers/net/phy/sfp-bus.c         |  75 ++++++--
 drivers/net/phy/sfp.c             | 179 +++++++++++------
 drivers/net/phy/sfp.h             |   3 +-
 include/linux/mdio/mdio-i2c.h     |  10 +-
 include/linux/phy.h               |   4 +
 include/linux/sfp.h               |   5 +-
 12 files changed, 797 insertions(+), 141 deletions(-)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-10-03 10:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-30 14:20 [PATCH net-next 00/12] RollBall / Hilink / Turris 10G copper SFP support Marek Behún
2022-09-30 14:20 ` [PATCH net-next 01/12] net: phylink: add ability to validate a set of interface modes Marek Behún
2022-09-30 14:21 ` [PATCH net-next 02/12] net: sfp: augment SFP parsing with phy_interface_t bitmap Marek Behún
2022-09-30 14:21 ` [PATCH net-next 03/12] net: phylink: use phy_interface_t bitmaps for optical modules Marek Behún
2022-09-30 14:21 ` [PATCH net-next 04/12] net: phylink: rename phylink_sfp_config() Marek Behún
2022-09-30 14:21 ` [PATCH net-next 05/12] net: phylink: pass supported host PHY interface modes to phylib for SFP's PHYs Marek Behún
2022-09-30 14:21 ` [PATCH net-next 06/12] net: phy: marvell10g: Use tabs instead of spaces for indentation Marek Behún
2022-09-30 14:21 ` [PATCH net-next 07/12] net: phy: marvell10g: select host interface configuration Marek Behún
2022-09-30 14:21 ` [PATCH net-next 08/12] net: phylink: allow attaching phy for SFP modules on 802.3z mode Marek Behún
2022-09-30 14:21 ` [PATCH net-next 09/12] net: sfp: Add and use macros for SFP quirks definitions Marek Behún
2022-09-30 14:21 ` [PATCH net-next 10/12] net: sfp: create/destroy I2C mdiobus before PHY probe/after PHY release Marek Behún
2022-09-30 14:21 ` [PATCH net-next 11/12] net: phy: mdio-i2c: support I2C MDIO protocol for RollBall SFP modules Marek Behún
2022-09-30 14:21 ` [PATCH net-next 12/12] net: sfp: add support for multigig RollBall transceivers Marek Behún
2022-10-03 10:20 ` [PATCH net-next 00/12] RollBall / Hilink / Turris 10G copper SFP support patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).