riscv: sophgo: Add ethernet support for SG2044
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
- v7 Latest4 patches 3 repliesApplied 4/4
- v64 patches 4 repliesSuperseded
- v53 patches 13 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 3 patches | 3 replies | Superseded | |
| v3 | 3 patches | 1 reply | Superseded | |
| v2 | 4 patches | 13 replies | Superseded | |
| v1 | 4 patches | 22 replies | Superseded |
Changes in v7 from the cover letter
- https://lore.kernel.org/netdev/[email protected]/
1. rebase against latest net-next/main
Patches in v7 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | dt-bindings: net: Add support for Sophgo SG2044 dwmacDocumentation/ Documentation/ | +130 | 0 replies | Applied |
| 2/4 | net: stmmac: platform: Group GMAC4 compatible checkdrivers/ | +11 | 1 reply | Applied |
| 3/4 | net: stmmac: platform: Add snps,dwmac-5.30a IP compatible stringdrivers/ | +1 | 1 reply | Applied |
| 4/4 | net: stmmac: Add glue layer for Sophgo SG2044 SoCdrivers/ drivers/ drivers/ | +87 | 1 reply | Applied |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski | Romain Gantois | Andrew Lunn | Russell King (Oracle) |
|---|---|---|---|---|
| 1/4 | R-b | |||
| 2/4 | R-b | R-b | R-b | |
| 3/4 | R-b | R-b | R-b | |
| 4/4 | 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 4 reviewers.
Cover letter [PATCH net-next v7 0/4] riscv: sophgo: Add ethernet support for SG2044
The ethernet controller of SG2044 is Synopsys DesignWare IP with custom clock. Add glue layer for it.
Changed from v6:
- https://lore.kernel.org/netdev/[email protected]/
1. rebase against latest net-next/main
Changed from v5:
- https://lore.kernel.org/netdev/[email protected]/
1. apply Andrew's tag for patch 2,3
3. patch 1: add dma-noncoherent property.
2. patch 2,3: separate original patch into 2 part
4. patch 4: adopt new stmmac_set_clk_tx_rate helper function
Changed from v4:
- https://lore.kernel.org/netdev/[email protected]/
1. apply Romain's tag
2. patch 3: use device variable to replace &pdev->dev.
3. patch 3: remove unused include.
4. patch 3: make error message more useful.
Changed from v3:
- https://lore.kernel.org/netdev/[email protected]/
1. rebase for 6.14.rc1
2. remove the dependency requirement as it was already merged into master.
Changed from RFC:
- https://lore.kernel.org/netdev/[email protected]/
1. patch 1: apply Krzysztof' tag
Changed from v2:
- https://lore.kernel.org/netdev/[email protected]/
1. patch 1: merge the first and the second bindings patch to show the all compatible change.
2. patch 2: use of_device_compatible_match helper function to perform check.
2. patch 3: remove unused include and sort the left.
3. patch 3: fix wrong variable usage in sophgo_dwmac_fix_mac_speed
4. patch 3: drop unused variable in the patch.
Changed from v1:
- https://lore.kernel.org/netdev/[email protected]/
1. patch 2: remove sophgo,syscon as this mac delay is resolved.
2. patch 2: apply all the properties unconditionally.
3. patch 4: remove sophgo,syscon code as this mac delay is resolved.
4. patch 4: use the helper function to compute rgmii clock.
5. patch 4: use remove instead of remove_new for the platform driver.
Inochi Amaoto (4):
dt-bindings: net: Add support for Sophgo SG2044 dwmac
net: stmmac: platform: Group GMAC4 compatible check
net: stmmac: platform: Add snps,dwmac-5.30a IP compatible string
net: stmmac: Add glue layer for Sophgo SG2044 SoC
.../devicetree/bindings/net/snps,dwmac.yaml | 4 + .../bindings/net/sophgo,sg2044-dwmac.yaml | 126 ++++++++++++++++++ drivers/net/ethernet/stmicro/stmmac/Kconfig | 11 ++ drivers/net/ethernet/stmicro/stmmac/Makefile | 1 + .../ethernet/stmicro/stmmac/dwmac-sophgo.c | 75 +++++++++++ .../ethernet/stmicro/stmmac/stmmac_platform.c | 17 ++- 6 files changed, 229 insertions(+), 5 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/sophgo,sg2044-dwmac.yaml create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c
--
2.48.1