Skip to content

J722S SGMII support

Nora Schiffer linux-arm-kernel linux-devicetree linux-phy lkml netdev 4 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 4 repliesApplied
  2. v35 patches 2 repliesSuperseded
  3. v27 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches4 repliesSuperseded

Changes in v4 from the cover letter

- remove redundant items: level from DT binding YAMLs

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/5dt-bindings: phy: ti: phy-j721e-wiz: Add ti,j722s-wiz-10g compatibleDocumentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml+12 -71 reply
2/5dt-bindings: phy: ti: phy-gmii-sel: Add ti,j722s-phy-gmii-sel compatibleDocumentation/devicetree/bindings/phy/ti,phy-gmii-sel.yaml+14 -91 reply
3/5phy: ti: phy-j721e-wiz: add support for J722S SoC familydrivers/phy/ti/phy-j721e-wiz.c+24 -00 replies
4/5phy: ti: gmii-sel: add support for J722S SoC familydrivers/phy/ti/phy-gmii-sel.c+13 -00 replies
5/5arm64: dts: ti: k3-j722s-main: use J722S compatibles for WIZ, gmii-sel and CPSW3Garch/arm64/boot/dts/ti/k3-j722s-main.dtsi+10 -20 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/5A-b
2/5A-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/5] J722S SGMII support

The J722S CPSW and SERDES are very similar to the variants found on the AM64, but they additionally support SGMII. Introduce new compatible strings for the J722S to add this support to the drivers.

This is a prerequisite for the Single-Pair Ethernet interface of the TQ-Systems MBa67xx baseboard for the TQMa67xx SoM, which will be submitted separately.

For SGMII to actually work on the J722S, the am65-cpsw needs to be extended as well, which has been submitted for net-next:
https://patchwork.kernel.org/project/netdevbpf/list/?series=1078111

Fallback compatible strings allow for the patches to be applied in any order and to go through different trees without breaking existing functionality.

v4:
- remove redundant items: level from DT binding YAMLs

v3:
- Drop am65-cpsw changes from this series, they need to go through net-next
- Fix missing PHY_GMII_SEL_RGMII_ID_MODE and PHY_GMII_SEL_FIXED_TX_DELAY in gmii-sel driver for RGMII delay mode configuration

v2:
- Keep support for the AM64 compatible strings as a fallback, adjust commit messages
- Drop reference to AM64_CPSW_QUIRK_CUT_THRU flag, which only exists in the TI vendor kernel

Nora Schiffer (5):
dt-bindings: phy: ti: phy-j721e-wiz: Add ti,j722s-wiz-10g compatible
dt-bindings: phy: ti: phy-gmii-sel: Add ti,j722s-phy-gmii-sel
compatible
phy: ti: phy-j721e-wiz: add support for J722S SoC family
phy: ti: gmii-sel: add support for J722S SoC family
arm64: dts: ti: k3-j722s-main: use J722S compatibles for WIZ, gmii-sel
and CPSW3G

 .../bindings/phy/ti,phy-gmii-sel.yaml         | 23 +++++++++++-------
 .../bindings/phy/ti,phy-j721e-wiz.yaml        | 19 +++++++++------
 arch/arm64/boot/dts/ti/k3-j722s-main.dtsi     | 12 ++++++++--
 drivers/phy/ti/phy-gmii-sel.c                 | 13 ++++++++++
 drivers/phy/ti/phy-j721e-wiz.c                | 24 +++++++++++++++++++
 5 files changed, 73 insertions(+), 18 deletions(-)
Signature · 4 lines
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
https://www.tq-group.com/