From: Chen-Yu Tsai <wens@csie.org>
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/20250923140247.2622602-1-wens@kernel.org/
Changes since v6:
- Collected acks for DT binding patch
- Rebased onto next-20250922
- Link to v6
https://lore.kernel.org/all/20250913101349.3932677-1-wens@kernel.org/
Changes since v5:
- Use plat->phy_interface instead of plat->mac_interface (Russell)
- Link to v5
https://lore.kernel.org/all/20250911174032.3147192-1-wens@kernel.org/
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/20250908181059.1785605-1-wens@kernel.org/
Changes since v3:
- driver
- Fixed printf format specifier warning
- Link to v3
https://lore.kernel.org/all/20250906041333.642483-1-wens@kernel.org/
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/20250813145540.2577789-1-wens@kernel.org/
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/20250701165756.258356-1-wens@kernel.org/
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
--
2.47.3