Skip to contentSkip to conversation

Add driver support for Eswin eic7700 SoC ethernet controller

PATCH Superseded [email protected] 1 participant 1 message Jul 3, 2025

Subsystems (2)

v3 of 8 Superseded Latest is v8 →

lore
Share & tools
lore
#0 lore raw

v3 cover Add driver support for Eswin eic7700 SoC ethernet controller

From: Shangjuan Wei <[email protected]>

This patch depends on the vendor prefix patch:
https://lore.kernel.org/all/[email protected]/

Updates:

Changes in v3:
- Updated eswin,eic7700-eth.yaml
- Add descriptions of snps,write-questions, snps,read-questions, snps,burst-map attributes
- Remove the description of reg
- Delete snps,axi-config
- Updated dwmac-eic7700.c
- Simplify drivers and remove unnecessary API and DTS attribute configurations
- Increase the mapping from tx/rx_delay_ps to private dly
- Link to v2: https://lore.kernel.org/all/[email protected]/

Changes in v2:
- Updated eswin,eic7700-eth.yaml
- Add snps,dwmac in binding file
- Chang the names of reset-names and phy-mode
- Updated dwmac-eic7700.c
- Remove the code related to PHY LED configuration from the MAC driver
- Adjust the code format and driver interfaces, such as replacing kzalloc with devm_kzalloc, etc.
- Use phylib instead of the GPIO API in the driver to implement the PHY
reset function
- Link to v1: https://lore.kernel.org/all/[email protected]/

Shangjuan Wei (2):
dt-bindings: ethernet: eswin: Document for EIC7700 SoC
ethernet: eswin: Add eic7700 ethernet driver

 .../bindings/net/eswin,eic7700-eth.yaml       | 175 ++++++++++++
 drivers/net/ethernet/stmicro/stmmac/Kconfig   |  11 +
 drivers/net/ethernet/stmicro/stmmac/Makefile  |   1 +
 .../ethernet/stmicro/stmmac/dwmac-eic7700.c   | 257 ++++++++++++++++++
 4 files changed, 444 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/eswin,eic7700-eth.yaml
 create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c
Signature · 1 line
2.17.1