devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next v4 0/4] net: ftgmac100: Add SoC reset support for RMII mode
@ 2025-07-09  7:08 Jacky Chou
  2025-07-09  7:08 ` [net-next v4 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-07-09  7:08 UTC (permalink / raw)
  To: netdev, devicetree, linux-kernel, linux-clk, linux-arm-kernel,
	linux-aspeed, andrew+netdev, davem, edumazet, kuba, pabeni, robh,
	krzk+dt, conor+dt, joel, andrew, mturquette, sboyd, p.zabel,
	horms, jacob.e.keller, u.kleine-koenig, hkallweit1
  Cc: 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/2/3/4 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       | 21 ++++++++++++---
 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, 50 insertions(+), 3 deletions(-)

---
v4:
  - Added more useful commit messages to faraday,ftgmac100.yaml.
v3:
  - Fixed allOf in faraday,ftgmac100.yaml.
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-07-11  1:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-09  7:08 [net-next v4 0/4] net: ftgmac100: Add SoC reset support for RMII mode Jacky Chou
2025-07-09  7:08 ` [net-next v4 1/4] dt-bindings: net: ftgmac100: Add resets property Jacky Chou
2025-07-09  7:46   ` Krzysztof Kozlowski
2025-07-09  7:08 ` [net-next v4 2/4] dt-bindings: clock: ast2600: Add reset definitions for MAC1 and MAC2 Jacky Chou
2025-07-09  7:08 ` [net-next v4 3/4] ARM: dts: aspeed-g6: Add resets property for MAC controllers Jacky Chou
2025-07-09  7:08 ` [net-next v4 4/4] net: ftgmac100: Add optional reset control for RMII mode on Aspeed SoCs Jacky Chou
2025-07-09 13:23   ` Andrew Lunn
2025-07-11  1:20 ` [net-next v4 0/4] net: ftgmac100: Add SoC reset support for RMII mode patchwork-bot+netdevbpf

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).