Skip to content

net: stmmac: socfpga: support both stmmaceth-ocp and ahb reset names

Dinh Nguyen linux-arm-kernel linux-devicetree lkml netdev 3 versions – In review

Get series with b4
b4 am [email protected] change-id 20251229-remove_ocp-44786389b052

Versions newest first

  1. v3 Latest3 patches 6 repliesIn review
  2. v23 patches 2 repliesSuperseded
  3. v12 patches 1 replySuperseded

Changes in v3 from the cover letter

- Edit dt-bindings patch to just remove TODO note
- Link to v2: https://lore.kernel.org/r/[email protected]

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: stmmac: socfpga: add call to assert/deassert ahb reset linedrivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c+4 -05 replies
2/3Revert "arm: dts: socfpga: use reset-name "stmmaceth-ocp" instead of "ahb""arch/arm/boot/dts/intel/socfpga/socfpga_arria10.dtsi+3 -30 replies
3/3dt-bindings: net: altr,socfpga-stmmac: remove TODO noteDocumentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml+0 -21 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRob Herring (Arm)
1/3
2/3
3/3R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] net: stmmac: socfpga: support both stmmaceth-ocp and ahb reset names

The dwmac-socfpga stmmac ethernet controller supports 2 standard reset lines, named "stmmaceth" and "stmmaceth-ocp". At the time of upstreaming support for the platform, the "stmmaceth-ocp" name was used for the 2nd reset name. We later realized that the "stmmaceth-ocp" reset name is the same as the "ahb" name that is used by the standard stmmac driver. But since the "stmmaceth-ocp" name support has already been introduced to the wild, it cannot just be removed from the driver, thus we can modify the driver to support both "stmmaceth-ocp" and "ahb", with the idea that "ahb" will be used going forward.

This series add the support to call reset assert/de-assert both "abh" and "stmmaceth-ocp" to the dwmac-socfpga platform driver, then reverts the patch that uses the DTS "stmmaceth-ocp" reset name.

---
Changes in v3:
- Edit dt-bindings patch to just remove TODO note
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Added a dt-binding patch to mark 'stmmaceth-ocp' as deprecated
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Dinh Nguyen (3):
net: stmmac: socfpga: add call to assert/deassert ahb reset line Revert "arm: dts: socfpga: use reset-name "stmmaceth-ocp" instead of "ahb""
dt-bindings: net: altr,socfpga-stmmac: remove TODO note

 Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml | 2 --
 arch/arm/boot/dts/intel/socfpga/socfpga_arria10.dtsi           | 6 +++---
 drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c            | 4 ++++
 3 files changed, 7 insertions(+), 5 deletions(-)

---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251229-remove_ocp-44786389b052

Best regards,

Signature · 1 line
Dinh Nguyen <[email protected]>