linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next v2 0/4] net: ftgmac100: Add SoC reset support for RMII mode
@ 2025-06-10  1:24 Jacky Chou
  2025-06-10  1:24 ` [net-next v2 1/4] dt-bindings: net: ftgmac100: Add resets property Jacky Chou
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Jacky Chou @ 2025-06-10  1:24 UTC (permalink / raw)
  To: netdev, devicetree, linux-kernel, linux-clk
  Cc: linux-arm-kernel, linux-aspeed, andrew+netdev, davem, edumazet,
	kuba, pabeni, robh, krzk+dt, conor+dt, joel, andrew, mturquette,
	sboyd, p.zabel, BMC-SW

This patch series adds support for an optional reset line to the
ftgmac100 ethernet controller, as used on Aspeed SoCs. On these SoCs,
the internal MAC reset is not sufficient to reset the RMII interface.
By providing a SoC-level reset via the device tree "resets" property,
the driver can properly reset both the MAC and RMII logic, ensuring
correct operation in RMII mode.

The series includes:
- Device tree binding update to document the new "resets" property.
- Addition of MAC1 and MAC2 reset definitions for AST2600.
- Device tree changes for AST2600 to use the new reset properties.
- Driver changes to assert/deassert the reset line as needed.

This improves reliability and initialization of the MAC in RMII mode
on Aspeed platforms.

Jacky Chou (4):
  dt-bindings: net: ftgmac100: Add resets property
  dt-bindings: clock: ast2600: Add reset definitions for MAC1 and MAC2
  ARM: dts: aspeed-g6: Add resets property for MAC controllers
  net: ftgmac100: Add optional reset control for RMII mode on Aspeed
    SoCs

 .../bindings/net/faraday,ftgmac100.yaml       | 19 ++++++++++++++
 arch/arm/boot/dts/aspeed/aspeed-g6.dtsi       |  4 +++
 drivers/net/ethernet/faraday/ftgmac100.c      | 26 +++++++++++++++++++
 include/dt-bindings/clock/ast2600-clock.h     |  2 ++
 4 files changed, 51 insertions(+)

---
v2:
  - Added restriction on resets property in faraday,ftgmac100.yaml.
---

-- 
2.34.1


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

end of thread, other threads:[~2025-06-19 20:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-10  1:24 [net-next v2 0/4] net: ftgmac100: Add SoC reset support for RMII mode Jacky Chou
2025-06-10  1:24 ` [net-next v2 1/4] dt-bindings: net: ftgmac100: Add resets property Jacky Chou
2025-06-10  2:30   ` Rob Herring (Arm)
2025-06-10  1:24 ` [net-next v2 2/4] dt-bindings: clock: ast2600: Add reset definitions for MAC1 and MAC2 Jacky Chou
2025-06-19 20:00   ` Stephen Boyd
2025-06-10  1:24 ` [net-next v2 3/4] ARM: dts: aspeed-g6: Add resets property for MAC controllers Jacky Chou
2025-06-10  1:24 ` [net-next v2 4/4] net: ftgmac100: Add optional reset control for RMII mode on Aspeed SoCs Jacky Chou
2025-06-10 14:39 ` [net-next v2 0/4] net: ftgmac100: Add SoC reset support for RMII mode 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;
as well as URLs for NNTP newsgroup(s).