[PATCH 0/3] phy: lynx: add support for downstream retimer PHYs

Ioana Ciornei ioana.ciornei at nxp.com
Wed Nov 18 08:31:31 PST 2026


This patch set adds support in the Lynx SerDes PHY drivers for
retimer PHYs which can be found on the board downstream of the SerDes
lane towards any connector such as an SFP cage.

The first patch extends the Lynx 10G and Lynx 28G dt bindings so that we
allow the phys and phy-names properties at the SerDes lane level.

The second patch extends the core lane probing function with
lynx_lane_get_retimers() which walks the lane's phys array and gets a
reference to any downstream PHY found. The 3rd patch sets up the
forwarding of the phy_ops received by the SerDes lane towards the
retimer PHYs as well.

One thing to note here is that the forwarding code is kept rather
grouped in phy-fsl-lynx-core.c rather than in the individual Lynx10G and
Lynx28G drivers so that in the future, if necessary, it can be moved
internally into the Generic PHY framework. This leads to the consequence
that the actual phy_ops with which the PHY is created cannot be const
since the .owner field needs to be copied from the structure received
from the actual PHY driver.

Ioana Ciornei (3):
  dt-bindings: phy: lynx: allow downstream phys on the lane nodes
  phy: lynx: get the PHYs listed in the lane nodes
  phy: lynx: forward the phy_ops to the downstream PHYs of a lane

 .../devicetree/bindings/phy/fsl,lynx-10g.yaml |  27 ++
 .../devicetree/bindings/phy/fsl,lynx-28g.yaml |  27 ++
 drivers/phy/freescale/phy-fsl-lynx-core.c     | 266 +++++++++++++++++-
 drivers/phy/freescale/phy-fsl-lynx-core.h     |  14 +-
 4 files changed, 327 insertions(+), 7 deletions(-)

-- 
2.25.1




More information about the linux-phy mailing list