Linux-PHY Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] phy: lynx: add support for downstream retimer PHYs
@ 2026-11-18 16:31 Ioana Ciornei
  2026-11-18 16:31 ` [PATCH 1/3] dt-bindings: phy: lynx: allow downstream phys on the lane nodes Ioana Ciornei
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Ioana Ciornei @ 2026-11-18 16:31 UTC (permalink / raw)
  To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-phy
  Cc: devicetree, netdev, Vladimir Oltean

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


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

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

end of thread, other threads:[~2026-11-19 16:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18 16:31 [PATCH 0/3] phy: lynx: add support for downstream retimer PHYs Ioana Ciornei
2026-11-18 16:31 ` [PATCH 1/3] dt-bindings: phy: lynx: allow downstream phys on the lane nodes Ioana Ciornei
2026-11-18 16:31 ` [PATCH 2/3] phy: lynx: get the PHYs listed in " Ioana Ciornei
2026-11-18 16:31 ` [PATCH 3/3] phy: lynx: forward the phy_ops to the downstream PHYs of a lane Ioana Ciornei
2026-11-19  9:25 ` [PATCH 0/3] phy: lynx: add support for downstream retimer PHYs Vladimir Oltean
2026-11-19 16:15   ` Ioana Ciornei
2026-11-19 15:57 ` Vincent Jardin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox