Skip to content

Add driver support for Eswin eic7700 SoC ethernet controller

[email protected] linux-arm-kernel linux-devicetree lkml netdev 10 versions – Applied

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

  1. v8 Latest2 patches 2 repliesApplied 2/2
  2. v72 patches 9 repliesSuperseded
  3. v62 patches 4 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v52 patches4 repliesSuperseded
v4 posting 2/22 patches6 repliesSuperseded
v4 posting 1/20 of 2 patches0 repliesSuperseded
v3 posting 2/22 patches21 repliesSuperseded
v3 posting 1/20 of 2 patches0 repliesSuperseded
v22 patches8 repliesSuperseded
v12 patches9 repliesSuperseded

Changes in v8 from the cover letter

- Removed config option patch dependency from cover letter, because the patch was applied.
- Modify the theme style of patch 2.
- Remove unnecessary dependencies, such as CRC32 and MII
- Add "Reviewed-by" tag of "Andrew Lunn" for Patch 2.
- Update eswin,eic7700-eth.yaml
- Add new line character at the end of file
- Update dwmac-eic7700.c
- Provide callbacks for plat_dat->init/exit and plat_dat->suspend/resume
to optimize clock processing
- Use devm_stmmac_pltfr_probe() instead of stmmac_dvr_probe() in probe
- Remove eic7700_dwmac_remove()
- Link to v7: https://lore.kernel.org/all/[email protected]/

Patches in v8 All 2 applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: ethernet: eswin: Document for EIC7700 SoCDocumentation/devicetree/bindings/net/eswin,eic7700-eth.yaml+127 -02 repliesApplied
2/2net: stmmac: add Eswin EIC7700 glue driverdrivers/net/ethernet/stmicro/stmmac/Kconfig drivers/net/ethernet/stmicro/stmmac/Makefile drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c+245 -00 repliesApplied

Reviews trailers per patch

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

PatchKrzysztof KozlowskiAndrew Lunn
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [PATCH v8 0/2] Add driver support for Eswin eic7700 SoC ethernet controller

From: Shangjuan Wei <[email protected]>

Updates:

Changes in v8:
- Removed config option patch dependency from cover letter, because the patch was applied.
- Modify the theme style of patch 2.
- Remove unnecessary dependencies, such as CRC32 and MII
- Add "Reviewed-by" tag of "Andrew Lunn" for Patch 2.
- Update eswin,eic7700-eth.yaml
- Add new line character at the end of file
- Update dwmac-eic7700.c
- Provide callbacks for plat_dat->init/exit and plat_dat->suspend/resume
to optimize clock processing
- Use devm_stmmac_pltfr_probe() instead of stmmac_dvr_probe() in probe
- Remove eic7700_dwmac_remove()
- Link to v7: https://lore.kernel.org/all/[email protected]/

Changes in v7:
- Add "Reviewed-by" tag of "Krzysztof Kozlowski" for Patch 1.
- Update dwmac-eic7700.c
- Align the processing logic of required attributes in binding
- Link to v6: https://lore.kernel.org/all/[email protected]/

Changes in v6:
- Update driver patch's commit message
- Update eswin,eic7700-eth.yaml
- Modify the description content
- Update dwmac-eic7700.c
- Move three variables from priv to local scope
- Inline eic7700_apply_delay logic directly into the probe function
- Link to v5: https://lore.kernel.org/all/[email protected]/

Changes in v5:
- Updated eswin,eic7700-eth.yaml
- Use "items" instead "enum" for clock-names
- Arrange clocks description in correct order
- Delete redundant descriptions for eswin,hsp-sp-csr property
- Updated dwmac-eic7700.c
- Optimize the implementation of eic7700_ appy_delay
- Update comments and remove reg checking
- Use FIELD_PREP in eic7700_apply_delay function
- Use clk_bulk related APIs to manage clks
- Link to v4: https://lore.kernel.org/all/[email protected]/

Changes in v4:
- Updated eswin,eic7700-eth.yaml
- Modify reg:minItems:1 to reg:maxItems: 1
- Delete minItems and maxItems of clock and clock-names
- Delete phy-mode and phy-handle properties
- Add description for clock
- Add types of clock-names
- Delete descriptions for rx-internal-delay-ps and tx-internal-delay-ps
- Add enum value for rx-internal-delay-ps and tx-internal-delay-ps
- Modify description for eswin,hsp-sp-csr property
- Delete eswin,syscrg-csr and eswin,dly-hsp-reg properties
- Modify phy-mode="rgmii" to phy-mode="rgmii-id"
- Updated dwmac-eic7700.c
- Remove fix_mac_speed and configure different delays for different rates
- Merge the offset of the dly register into the eswin, hsp sp csr attributes for unified management
- Add missing Author and optimize the number of characters per
line to within 80
- Support default delay configuration and add the handling of vendor delay configuration
- Add clks_config for pm_runtime
- Modify the attribute format, such as eswin,hsp_sp_csr to eswin,hsp-sp-csr
- Link to v3: https://lore.kernel.org/all/[email protected]/

Changes in v3:
- Updated eswin,eic7700-eth.yaml
- Modify snps,dwmac to snps,dwmac-5.20
- Remove the description of reg
- Modify the value of clock minItems and maxItems
- Modify the value of clock-names minItems and maxItems
- Add descriptions of snps,write-questions, snps,read-questions
- Add rx-internal-delay-ps and tx-internal-delay-ps properties
- Modify descriptions for custom properties, such as eswin,hsp-sp-csr
- Delete snps,axi-config property
- Add snps,fixed-burst snps,aal snps,tso properties
- Delete snps,lpi_en property
- Modify format of custom properties
- 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
- Modify the description of reg
- Modify the number of clock-names
- Changed the names of reset-names and phy-mode
- Add description for custom properties, such as eswin,hsp_sp_csr
- Delete snps,blen snps,rd_osr_lmt snps,wr_osr_lmt properties
- 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
net: stmmac: add Eswin EIC7700 glue driver

 .../bindings/net/eswin,eic7700-eth.yaml       | 127 ++++++++++
 drivers/net/ethernet/stmicro/stmmac/Kconfig   |   9 +
 drivers/net/ethernet/stmicro/stmmac/Makefile  |   1 +
 .../ethernet/stmicro/stmmac/dwmac-eic7700.c   | 235 ++++++++++++++++++
 4 files changed, 372 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