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>
Cc: <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>,
<BMC-SW@aspeedtech.com>
Subject: [net-next v2 1/4] dt-bindings: net: ftgmac100: Add resets property
Date: Tue, 10 Jun 2025 09:24:03 +0800 [thread overview]
Message-ID: <20250610012406.3703769-2-jacky_chou@aspeedtech.com> (raw)
In-Reply-To: <20250610012406.3703769-1-jacky_chou@aspeedtech.com>
Add optional resets property for Aspeed SoCs to reset the MAC and
RGMII/RMII.
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
---
.../bindings/net/faraday,ftgmac100.yaml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
index 55d6a8379025..8b9688c5b985 100644
--- a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
+++ b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
@@ -35,6 +35,11 @@ properties:
- description: MAC IP clock
- description: RMII RCLK gate for AST2500/2600
+ resets:
+ maxItems: 1
+ description:
+ Optional reset control for the MAC controller
+
clock-names:
minItems: 1
items:
@@ -74,6 +79,20 @@ required:
- reg
- interrupts
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - aspeed,ast2600-mac
+ then:
+ properties:
+ resets: true
+ else:
+ properties:
+ resets: false
+
unevaluatedProperties: false
examples:
--
2.34.1
next prev parent reply other threads:[~2025-06-10 1:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Jacky Chou [this message]
2025-06-10 2:30 ` [net-next v2 1/4] dt-bindings: net: ftgmac100: Add resets property 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)
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=20250610012406.3703769-2-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=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 \
/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