public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] net: stmmac: socfpga: support both stmmaceth-ocp and ahb reset names
@ 2026-01-08 13:08 Dinh Nguyen
  2026-01-08 13:08 ` [PATCH v3 1/3] net: stmmac: socfpga: add call to assert/deassert ahb reset line Dinh Nguyen
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Dinh Nguyen @ 2026-01-08 13:08 UTC (permalink / raw)
  To: Maxime Chevallier, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Maxime Coquelin, Alexandre Torgue,
	Philipp Zabel, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Mamta Shukla, Ahmad Fatoum
  Cc: bsp-development.geo, Pengutronix Kernel Team, netdev, linux-stm32,
	linux-arm-kernel, linux-kernel, devicetree, Dinh Nguyen

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.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
---
Changes in v3:
- Edit dt-bindings patch to just remove TODO note
- Link to v2: https://lore.kernel.org/r/20260105-remove_ocp-v2-0-4fa2bda09521@kernel.org

Changes in v2:
- Added a dt-binding patch to mark 'stmmaceth-ocp' as deprecated
- Link to v1: https://lore.kernel.org/r/20251229-remove_ocp-v1-0-594294e04bd4@kernel.org

---
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,
-- 
Dinh Nguyen <dinguyen@kernel.org>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-01-14 16:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-08 13:08 [PATCH v3 0/3] net: stmmac: socfpga: support both stmmaceth-ocp and ahb reset names Dinh Nguyen
2026-01-08 13:08 ` [PATCH v3 1/3] net: stmmac: socfpga: add call to assert/deassert ahb reset line Dinh Nguyen
2026-01-08 13:22   ` Philipp Zabel
2026-01-08 16:10   ` Russell King (Oracle)
2026-01-13 21:37     ` Dinh Nguyen
2026-01-14 14:09       ` SHUKLA Mamta
2026-01-14 16:16         ` Russell King (Oracle)
2026-01-08 13:08 ` [PATCH v3 2/3] Revert "arm: dts: socfpga: use reset-name "stmmaceth-ocp" instead of "ahb"" Dinh Nguyen
2026-01-08 13:08 ` [PATCH v3 3/3] dt-bindings: net: altr,socfpga-stmmac: remove TODO note Dinh Nguyen
2026-01-13 22:57   ` Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox