Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: lizhi2@eswincomputing.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, netdev@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com,
	rmk+kernel@armlinux.org.uk, maxime.chevallier@bootlin.com,
	linux-stm32@st-md-mailman.stormreply.com,
	linux-arm-kernel@lists.infradead.org
Cc: ningyu@eswincomputing.com, linmin@eswincomputing.com,
	pinkesh.vaghela@einfochips.com, pritesh.patel@einfochips.com,
	weishangjuan@eswincomputing.com,
	Zhi Li <lizhi2@eswincomputing.com>
Subject: [PATCH net v2 0/5] net: stmmac: eic7700: fix delay calculation and initialization ordering
Date: Mon, 18 May 2026 10:19:19 +0800	[thread overview]
Message-ID: <20260518021919.404-1-lizhi2@eswincomputing.com> (raw)

From: Zhi Li <lizhi2@eswincomputing.com>

v1 -> v2:
  - Update eswin,eic7700-eth.yaml:
    - Limit the binding changes to adding optional TXD and RXD delay register
      offsets in eswin,hsp-sp-csr.
    - Restore the original enum-based definitions for rx-internal-delay-ps
      and tx-internal-delay-ps.
    - Keep rx-internal-delay-ps and tx-internal-delay-ps as required
      properties.
    - Restore the original example content, with only the additional optional
      TXD and RXD delay register offsets.
    - Restore Acked-by from Conor Dooley for the binding change, which was
      temporarily omitted in v1 during series restructuring and has been
      reinstated now that the change is stable and properly isolated.

  - Update dwmac-eic7700.c:
    - Split driver changes into smaller patches based on review feedback to
      improve reviewability and bisectability.
    - Keep the existing requirement that rx-internal-delay-ps and
      tx-internal-delay-ps must be present in the device tree.
    - Treat TXD/RXD delay register offsets as optional and only program them
      when provided by device tree.
    - Remove the previously proposed fix_mac_speed logic.

  - Link to v1:
    https://lore.kernel.org/lkml/20260507083037.152-1-lizhi2@eswincomputing.com/

Zhi Li (5):
  dt-bindings: ethernet: eswin: add optional TXD and RXD delay register
    offsets
  net: stmmac: eswin: fix HSP CSR init ordering after clock enable
  net: stmmac: eswin: clear TXD and RXD delay registers during
    initialization
  net: stmmac: eswin: correct RGMII delay granularity to 20 ps
  net: stmmac: eswin: validate RGMII delay values

 .../bindings/net/eswin,eic7700-eth.yaml       |  13 +-
 .../ethernet/stmicro/stmmac/dwmac-eic7700.c   | 126 +++++++++++++-----
 2 files changed, 101 insertions(+), 38 deletions(-)

-- 
2.25.1



             reply	other threads:[~2026-05-18  2:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-18  2:19 lizhi2 [this message]
2026-05-18  2:20 ` [PATCH net v2 1/5] dt-bindings: ethernet: eswin: add optional TXD and RXD delay register offsets lizhi2
2026-05-18  2:20 ` [PATCH net v2 2/5] net: stmmac: eswin: fix HSP CSR init ordering after clock enable lizhi2
2026-05-18  2:21 ` [PATCH net v2 3/5] net: stmmac: eswin: clear TXD and RXD delay registers during initialization lizhi2
2026-05-18  2:21 ` [PATCH net v2 4/5] net: stmmac: eswin: correct RGMII delay granularity to 20 ps lizhi2
2026-05-18  2:22 ` [PATCH net v2 5/5] net: stmmac: eswin: validate RGMII delay values lizhi2

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=20260518021919.404-1-lizhi2@eswincomputing.com \
    --to=lizhi2@eswincomputing.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andrew+netdev@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=linmin@eswincomputing.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=maxime.chevallier@bootlin.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=ningyu@eswincomputing.com \
    --cc=pabeni@redhat.com \
    --cc=pinkesh.vaghela@einfochips.com \
    --cc=pritesh.patel@einfochips.com \
    --cc=rmk+kernel@armlinux.org.uk \
    --cc=robh@kernel.org \
    --cc=weishangjuan@eswincomputing.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