Skip to content

net: ftgmac100: Add SoC reset support for RMII mode

Jacky Chou linux-arm-kernel linux-aspeed linux-clk linux-devicetree lkml netdev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 2 repliesIn review 3 of 4 applied
  2. v34 patches 2 repliesSuperseded
  3. v24 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches6 repliesSuperseded

Changes in v4 from the cover letter

- Added more useful commit messages to faraday,ftgmac100.yaml.

Patches in v4 3 of 4 applied

#Subject and filesSizeRepliesApplied
1/4dt-bindings: net: ftgmac100: Add resets propertyDocumentation/devicetree/bindings/net/faraday,ftgmac100.yaml+18 -31 replyApplied
2/4dt-bindings: clock: ast2600: Add reset definitions for MAC1 and MAC2include/dt-bindings/clock/ast2600-clock.h+2 -00 repliesApplied
3/4ARM: dts: aspeed-g6: Add resets property for MAC controllersarch/arm/boot/dts/aspeed/aspeed-g6.dtsi+4 -00 replies
4/4net: ftgmac100: Add optional reset control for RMII mode on Aspeed SoCsdrivers/net/ethernet/faraday/ftgmac100.c+26 -01 replyApplied

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchConor DooleyStephen BoydKrzysztof KozlowskiAndrew Lunn
1/4R-b
2/4A-b A-b
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [net-next v4 0/4] net: ftgmac100: Add SoC reset support for RMII mode

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

Signature · 1 line
2.34.1