public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jacky Chou <jacky_chou@aspeedtech.com>
To: <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>,
	<p.zabel@pengutronix.de>, <netdev@vger.kernel.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: <jacky_chou@aspeedtech.com>, Conor Dooley <conor.dooley@microchip.com>
Subject: [PATCH net-next v4 1/7] dt-bindings: net: ftgmac100: support for AST2700
Date: Thu, 5 Dec 2024 15:20:42 +0800	[thread overview]
Message-ID: <20241205072048.1397570-2-jacky_chou@aspeedtech.com> (raw)
In-Reply-To: <20241205072048.1397570-1-jacky_chou@aspeedtech.com>

The AST2700 is the 7th generation SoC from Aspeed.
Add compatible support and resets property for AST2700 in
yaml.

Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
---
 .../bindings/net/faraday,ftgmac100.yaml         | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
index 9bcbacb6640d..3bba8eee83d6 100644
--- a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
+++ b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
@@ -21,6 +21,7 @@ properties:
               - aspeed,ast2400-mac
               - aspeed,ast2500-mac
               - aspeed,ast2600-mac
+              - aspeed,ast2700-mac
           - const: faraday,ftgmac100
 
   reg:
@@ -33,7 +34,7 @@ properties:
     minItems: 1
     items:
       - description: MAC IP clock
-      - description: RMII RCLK gate for AST2500/2600
+      - description: RMII RCLK gate for AST2500/2600/2700
 
   clock-names:
     minItems: 1
@@ -73,6 +74,20 @@ required:
 
 unevaluatedProperties: false
 
+if:
+  properties:
+    compatible:
+      contains:
+        const: aspeed,ast2700-mac
+then:
+  properties:
+    resets:
+      maxItems: 1
+      items:
+        - description: MAC IP reset for AST2700
+  required:
+    - resets
+
 examples:
   - |
     ethernet@1e660000 {
-- 
2.25.1


  reply	other threads:[~2024-12-05  7:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-05  7:20 [PATCH net-next v4 0/7] Add Aspeed G7 FTGMAC100 support Jacky Chou
2024-12-05  7:20 ` Jacky Chou [this message]
2024-12-05  8:17   ` [PATCH net-next v4 1/7] dt-bindings: net: ftgmac100: support for AST2700 Rob Herring (Arm)
2024-12-06  1:52     ` 回覆: " Jacky Chou
2024-12-05  9:23   ` Krzysztof Kozlowski
2024-12-06  1:57     ` 回覆: " Jacky Chou
2024-12-05  9:24   ` Krzysztof Kozlowski
2024-12-05  7:20 ` [PATCH net-next v4 2/7] net: faraday: Add ARM64 in FTGMAC100 " Jacky Chou
2024-12-05  7:20 ` [PATCH net-next v4 3/7] net: ftgmac100: Add reset toggling for Aspeed SOCs Jacky Chou
2024-12-09 16:49   ` Simon Horman
2024-12-11  3:06     ` 回覆: " Jacky Chou
2024-12-05  7:20 ` [PATCH net-next v4 4/7] net: ftgmac100: Add support for AST2700 Jacky Chou
2024-12-05  7:20 ` [PATCH net-next v4 5/7] net: ftgmac100: add pin strap configuration " Jacky Chou
2024-12-05  7:20 ` [PATCH net-next v4 6/7] net: ftgmac100: Add 64-bit DMA support " Jacky Chou
2024-12-05  7:20 ` [PATCH net-next v4 7/7] net: ftgmac100: remove extra newline symbols 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=20241205072048.1397570-2-jacky_chou@aspeedtech.com \
    --to=jacky_chou@aspeedtech.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=conor.dooley@microchip.com \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=pabeni@redhat.com \
    --cc=robh@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