Skip to content

net: stmmac: dwmac-sophgo: Add phy interface filter

Inochi Amaoto linux-arm-kernel linux-devicetree lkml netdev sophgo 8 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest3 patches 4 repliesApplied 3/3
  2. v73 patches 2 repliesSuperseded
  3. v63 patches 1 replySuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v53 patches2 repliesSuperseded
v43 patches7 repliesSuperseded
v33 patches1 replySuperseded
v23 patches5 repliesSuperseded
v11 patch8 repliesSuperseded

Changes in v8 from the cover letter

- https://lore.kernel.org/all/[email protected]
1. patch 1: fix a mistake that using rgmii-txid instead of rgmii-rxid

Patches in v8 All 3 applied

#Subject and filesSizeRepliesApplied
1/3dt-bindings: net: sophgo,sg2044-dwmac: add phy mode restrictionDocumentation/devicetree/bindings/net/sophgo,sg2044-dwmac.yaml+19 -02 repliesApplied
2/3net: phy: Add helper for fixing RGMII PHY mode based on internal mac delaydrivers/net/phy/phy-core.c include/linux/phy.h+46 -01 replyApplied
3/3net: stmmac: dwmac-sophgo: Add phy interface filterdrivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c+19 -11 replyApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchConor DooleyMaxime ChevallierHan GaoAndrew LunnSimon Horman
1/3A-b
2/3R-b R-b
3/3T-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v8 thread

Cover letter [PATCH v8 0/3] net: stmmac: dwmac-sophgo: Add phy interface filter

As the SG2042 has an internal rx delay, the delay should be remove when init the mac, otherwise the phy will be misconfigurated.

Since this delay fix is common for other MACs, add a common helper for it. And use it to fix SG2042.

Change from v7:
- https://lore.kernel.org/all/[email protected]
1. patch 1: fix a mistake that using rgmii-txid instead of rgmii-rxid

            for SG2042

Change from v6:
- https://lore.kernel.org/all/[email protected]
1. patch 2: fixed kdoc warning

Change from v5:
- https://lore.kernel.org/all/[email protected]
1. patch 1: remove duplicate empty line

Change from v4:
- https://lore.kernel.org/all/[email protected]
1. patch 3: add const qualifier to struct sg2042_dwmac_data

Change from v3:
- https://lore.kernel.org/all/[email protected]
1. patch 1: fix binding check error

Change from v2:
- https://lore.kernel.org/all/[email protected]
1. patch 3: fix comment typo
2. patch 3: add check for PHY_INTERFACE_MODE_NA.

Change from v1:
- https://lore.kernel.org/all/[email protected]
1. Add phy-mode property to dt-bindings of sophgo,sg2044-dwmac
2. Add common helper for fixing RGMII phy mode
3. Use struct to hold the compatiable data.

Inochi Amaoto (3):
dt-bindings: net: sophgo,sg2044-dwmac: add phy mode restriction
net: phy: Add helper for fixing RGMII PHY mode based on internal mac
delay
net: stmmac: dwmac-sophgo: Add phy interface filter

 .../bindings/net/sophgo,sg2044-dwmac.yaml     | 19 ++++++++
 .../ethernet/stmicro/stmmac/dwmac-sophgo.c    | 20 ++++++++-
 drivers/net/phy/phy-core.c                    | 43 +++++++++++++++++++
 include/linux/phy.h                           |  3 ++
 4 files changed, 84 insertions(+), 1 deletion(-)

--
2.51.2