Skip to content

net: stmmac: Add support for Allwinner A523 GMAC200

Chen-Yu Tsai linux-arm-kernel linux-devicetree linux-sunxi lkml netdev 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest2 patches 8 repliesIn review
  2. v76 patches 3 repliesSuperseded
  3. v66 patches 7 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v56 patches3 repliesSuperseded
v410 patches7 repliesSuperseded
v310 patches3 repliesSuperseded
v210 patches13 repliesSuperseded
v110 patches9 repliesSuperseded

Changes in v8 from the cover letter

- Rebased onto next-20250925
- Split out only the patches for net-next
- Link to v7
https://lore.kernel.org/all/[email protected]/

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: net: sun8i-emac: Add A523 GMAC200 compatibleDocumentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml+93 -20 replies
2/2net: stmmac: Add support for Allwinner A523 GMAC200drivers/net/ethernet/stmicro/stmmac/Kconfig drivers/net/ethernet/stmicro/stmmac/Makefile drivers/net/ethernet/stmicro/stmmac/dwmac-sun55i.c+172 -08 replies

Reviews trailers per patch

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

PatchRob Herring (Arm)Conor DooleyJernej SkrabecRussell King (Oracle)
1/2R-b A-b
2/2R-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 4 reviewers.

Read the v8 thread

Cover letter [PATCH net-next v8 0/2] net: stmmac: Add support for Allwinner A523 GMAC200

From: Chen-Yu Tsai <[email protected]>

Hi everyone,

This is v8 of my Allwinner A523 GMAC200 support series. This is based on next-20250925.

This version only contains the DT binding and driver patches. The device tree patches are basically the same as the previous version.

Changes since v7:
- Rebased onto next-20250925
- Split out only the patches for net-next
- Link to v7
https://lore.kernel.org/all/[email protected]/

Changes since v6:
- Collected acks for DT binding patch
- Rebased onto next-20250922
- Link to v6
https://lore.kernel.org/all/[email protected]/

Changes since v5:
- Use plat->phy_interface instead of plat->mac_interface (Russell)
- Link to v5
https://lore.kernel.org/all/[email protected]/

Changes since v4:
- Moved clock-names list to main schema in DT binding (Rob)
- Dropped 4 patches that are already merged
- Link to v4
https://lore.kernel.org/all/[email protected]/

Changes since v3:
- driver
- Fixed printf format specifier warning
- Link to v3
https://lore.kernel.org/all/[email protected]/

Changes since v2:
- DT binding
- Added "select" to avoid matching against all dwmac entries
- driver
- Include "ps" unit in "... must be multiple of ..." error message
- Use FIELD_FIT to check if delay value is in range and FIELD_MAX to get the maximum value
- Reword error message for delay value exceeding maximum
- Drop MASK_TO_VAL
- Link to v2:
https://lore.kernel.org/all/[email protected]/

Changes since v1:
- Dropped RFT tag
- Switched to generic (tx|rx)-internal-delay-ps
- dwmac-sun55i driver bits
- Changed dev_err() + return to dev_err_probe()
- Added check of return value from syscon regmap write
- Changed driver name to match file name
- sram driver bits
- Fixed check on return value
- Expanded commit message
- dtsi
- Fixed typo in tx-queues-config
- cubie a5e
- Add PHY regulator delay
- Link to v1:
https://lore.kernel.org/all/[email protected]/

This series adds support for the second Ethernet controller found on the Allwinner A523 SoC family. This controller, dubbed GMAC200, is a DWMAC4 core with an integration layer around it. The integration layer is similar to older Allwinner generations, but with an extra memory bus gate and separate power domain.

Patch 1 adds a new compatible string combo to the existing Allwinner EMAC binding.

Patch 2 adds a new driver for this core and integration combo.

Thanks
ChenYu

Chen-Yu Tsai (2):
dt-bindings: net: sun8i-emac: Add A523 GMAC200 compatible
net: stmmac: Add support for Allwinner A523 GMAC200

 .../net/allwinner,sun8i-a83t-emac.yaml        |  95 ++++++++++-
 drivers/net/ethernet/stmicro/stmmac/Kconfig   |  12 ++
 drivers/net/ethernet/stmicro/stmmac/Makefile  |   1 +
 .../ethernet/stmicro/stmmac/dwmac-sun55i.c    | 159 ++++++++++++++++++
 4 files changed, 265 insertions(+), 2 deletions(-)
 create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-sun55i.c
Signature · 1 line
2.47.3