mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: netdev-bot+sashiko@kernel.org
To: jacky_chou@aspeedtech.com
Cc: 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,
	ratbert@faraday-tech.com, netdev@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/5] dt-bindings: net: ftgmac100: Add AST2700 compatible
Date: Wed, 30 Sep 2026 21:17:57 +0000	[thread overview]
Message-ID: <179080307768.434549.3941838523484447374@kernel.org> (raw)
In-Reply-To: <20260927-support_ast2700-v1-1-9f03f29d2c82@aspeedtech.com>

Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.

Low priority / nit picks for your consideration:

- [Low] Concern: at this commit, "aspeed,ast2700-mac" is in
  Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml…

--

dt-bindings: net: ftgmac100: Add AST2700 compatible

This commit adds aspeed,ast2700-mac to the compatible list in the FTGMAC100
binding. It also extends the RMII RCLK clock description to cover AST2700,
and it allows the resets property for AST2700 the same way it is allowed
for AST2600.

> diff --git a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
> index d14410018bcf6..bee9570a6f63f 100644
> --- a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
> +++ b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
> @@ -18,6 +18,7 @@ properties:
>                - aspeed,ast2400-mac
>                - aspeed,ast2500-mac
>                - aspeed,ast2600-mac
> +              - aspeed,ast2700-mac
>            - const: faraday,ftgmac100

[Severity: Low]
At this commit, ftgmac100_of_match[] in
drivers/net/ethernet/faraday/ftgmac100.c has no entry for
aspeed,ast2700-mac. Would an AST2700 node bind through the
faraday,ftgmac100 fallback and be treated as FTGMAC100_FARADAY?

If it did:

  - is_aspeed would stay false.
  - EDORR/EDOTR would use BIT(15) instead of BIT(30).
  - ftgmac100_setup_clk() would never run.
  - The in-MAC MDIO would be set up.
  - The RMII reset path would be skipped.

Later patches in the series seem to fix this. The patch "net: ftgmac100:
Add AST2700 compatible support" adds:

	{ .compatible = "aspeed,ast2700-mac",
	  .data = &ftgmac100_match_data_ast2700 },

The same patch adds FTGMAC100_AST2700 to the Aspeed branch in
ftgmac100_probe(), which sets BIT(30) and is_aspeed. Separately, "net:
ftgmac100: Add AST2700 upper DMA address support" adds the high address
bits.

No in-tree AST2700 DTS under arch/arm64/boot/dts/aspeed/ has an ethernet
node. So nothing in the tree should be affected between the binding patch
and the driver patch.

One small leftover: this patch changes the binding text to "RMII RCLK
gate for AST2500/2600/2700". The rclk comment in struct ftgmac100 still
says:

	/* AST2500/AST2600 RMII ref clock gate */

Could that comment be updated to include AST2700 too?

[ ... ]

-- 
Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260927-support_ast2700-v1-0-9f03f29d2c82%40aspeedtech.com

  parent reply	other threads:[~2026-09-30 21:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-27  7:16 [PATCH 0/5] net: ftgmac100: Add AST2700 support Jacky Chou
2026-09-27  7:16 ` [PATCH 1/5] dt-bindings: net: ftgmac100: Add AST2700 compatible Jacky Chou
2026-09-30 10:06   ` Krzysztof Kozlowski
2026-09-30 21:17   ` netdev-bot+sashiko [this message]
2026-09-27  7:16 ` [PATCH 2/5] net: ftgmac100: Add AST2700 compatible support Jacky Chou
2026-09-30 21:17   ` netdev-bot+sashiko
2026-09-27  7:16 ` [PATCH 3/5] net: ftgmac100: Enable AST2700 RMII support Jacky Chou
2026-09-30 21:18   ` netdev-bot+sashiko
2026-09-27  7:16 ` [PATCH 4/5] net: ftgmac100: Add AST2700 upper DMA address support Jacky Chou
2026-09-30 21:18   ` netdev-bot+sashiko
2026-09-27  7:16 ` [PATCH 5/5] net: ftgmac100: Allow building on ARM64 Jacky Chou
2026-09-30 21:18   ` netdev-bot+sashiko
2026-09-27 17:39 ` [PATCH 0/5] net: ftgmac100: Add AST2700 support Andrew Lunn
2026-09-29  7:12   ` 回覆: " Jacky Chou
2026-09-29 17:08     ` Andrew Lunn
2026-09-30  1:53       ` 回覆: " Jacky Chou
2026-09-30 12:55         ` Andrew Lunn

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=179080307768.434549.3941838523484447374@kernel.org \
    --to=netdev-bot+sashiko@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=jacky_chou@aspeedtech.com \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=ratbert@faraday-tech.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

all inboxes | Powered by JetHome®