From: Jacky Chou <jacky_chou@aspeedtech.com>
To: <netdev@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <linux-clk@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-aspeed@lists.ozlabs.org>, <andrew+netdev@lunn.ch>,
<davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
<pabeni@redhat.com>, <robh@kernel.org>, <krzk+dt@kernel.org>,
<conor+dt@kernel.org>, <joel@jms.id.au>,
<andrew@codeconstruct.com.au>, <mturquette@baylibre.com>,
<sboyd@kernel.org>, <p.zabel@pengutronix.de>, <horms@kernel.org>,
<jacob.e.keller@intel.com>, <u.kleine-koenig@baylibre.com>,
<hkallweit1@gmail.com>
Cc: <BMC-SW@aspeedtech.com>
Subject: [net-next v3 0/4] net: ftgmac100: Add SoC reset support for RMII mode
Date: Tue, 8 Jul 2025 14:55:40 +0800 [thread overview]
Message-ID: <20250708065544.201896-1-jacky_chou@aspeedtech.com> (raw)
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 | 23 +++++++++++++---
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, 52 insertions(+), 3 deletions(-)
---
v3:
- Fixed allOf in faraday,ftgmac100.yaml.
v2:
- Added restriction on resets property in faraday,ftgmac100.yaml.
---
--
2.34.1
next reply other threads:[~2025-07-12 3:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-08 6:55 Jacky Chou [this message]
2025-07-08 6:55 ` [net-next v3 1/4] dt-bindings: net: ftgmac100: Add resets property Jacky Chou
2025-07-08 7:50 ` Krzysztof Kozlowski
2025-07-09 5:52 ` 回覆: " Jacky Chou
2025-07-08 6:55 ` [net-next v3 2/4] dt-bindings: clock: ast2600: Add reset definitions for MAC1 and MAC2 Jacky Chou
2025-07-08 6:55 ` [net-next v3 3/4] ARM: dts: aspeed-g6: Add resets property for MAC controllers Jacky Chou
2025-07-08 6:55 ` [net-next v3 4/4] net: ftgmac100: Add optional reset control for RMII mode on Aspeed SoCs Jacky Chou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250708065544.201896-1-jacky_chou@aspeedtech.com \
--to=jacky_chou@aspeedtech.com \
--cc=BMC-SW@aspeedtech.com \
--cc=andrew+netdev@lunn.ch \
--cc=andrew@codeconstruct.com.au \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=horms@kernel.org \
--cc=jacob.e.keller@intel.com \
--cc=joel@jms.id.au \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=netdev@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=u.kleine-koenig@baylibre.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).