[PATCH v3 0/2] Add driver support for Eswin eic7700 SoC ethernet controller
From: weishangjuan
Date: Thu Jul 03 2025 - 05:19:00 EST
From: Shangjuan Wei <weishangjuan@xxxxxxxxxxxxxxxxxx>
This patch depends on the vendor prefix patch:
https://lore.kernel.org/all/20250616112316.3833343-4-pinkesh.vaghela@xxxxxxxxxxxxxx/
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/aDad+8YHEFdOIs38@xxxxxxxxxxxxxxxxxxxxx/
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/20250516010849.784-1-weishangjuan@xxxxxxxxxxxxxxxxxx/
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
--
2.17.1