mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jacky Chou <jacky_chou@aspeedtech.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Po-Yu Chuang <ratbert@faraday-tech.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: 回覆: [PATCH 0/5] net: ftgmac100: Add AST2700 support
Date: Tue, 29 Sep 2026 07:12:38 +0000	[thread overview]
Message-ID: <SEYPR06MB5134D5AEAD86D3E4C97D1DB99D8C2@SEYPR06MB5134.apcprd06.prod.outlook.com> (raw)
In-Reply-To: <14a281e2-c88e-42e3-acd3-b20f111a4c28@lunn.ch>

Hi Andrew,

Thank you for your reply.

> > AST2700 keeps using the FTGMAC100 MAC IP, but the enablement is not
> > limited to a new compatible string. The SoC can boot with the MAC on
> > ARM64, needs the Aspeed-specific RMII mode bit programmed when a port
> > is wired for RMII, and requires the driver to use the upper DMA
> > address fields in the ring base registers and packet descriptors.
> > Those fields expose a 35-bit DMA address range on AST2700, so the
> > driver must request a mask that matches the address bits the hardware can
> encode.
> >
> > The series first documents and wires up the aspeed,ast2700-mac
> > compatible. It then treats AST2700 as an Aspeed MAC in the driver,
> > enables the RMII mode programming, writes the AST2700 high
> > descriptor-ring base registers, carries the RX/TX descriptor high
> > address bits, rebuilds full DMA addresses before unmapping buffers,
> > and requests a 35-bit DMA mask. The high ring base registers are only
> > touched for AST2700 so older Aspeed device tree register windows
> > remain unchanged. With that in place, the FTGMAC100 Kconfig entry can
> > be made available on ARM64 while keeping the existing Aspeed MDIO
> > dependency for AST2600 and newer ARCH_ASPEED systems.
> 
> There is no mention of RGMII here or RGMII delays. Given the mess that the
> AST2600 is, i would expect to see some explanation how that has been solved.
> 

Currently, we provide our custom or user to configure RGMII delay in bootloader stage,
it is the same as AST2600 in bootloader. So, when booting to kernel, the RGMII delay will
be kept. The ftgmac100 driver with AST2600 and the next generation AST2700 does not
need to configure the RGMII delay.
I will add more descriptions about the RGMII delay configuration in this first mail in next
version.

Thanks,
Jacky


  reply	other threads:[~2026-09-29  7:12 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-27  7:16 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
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 [this message]
2026-09-29 17:08     ` 回覆: " Andrew Lunn
2026-09-30  1:53       ` 回覆: " Jacky Chou
2026-09-30 12:55         ` Andrew Lunn
2026-10-02  5:53           ` 回覆: " 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=SEYPR06MB5134D5AEAD86D3E4C97D1DB99D8C2@SEYPR06MB5134.apcprd06.prod.outlook.com \
    --to=jacky_chou@aspeedtech.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrew@lunn.ch \
    --cc=conor+dt@kernel.org \
    --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=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®