All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jisheng Zhang <jszhang@kernel.org>
To: "David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Jose Abreu <joabreu@synopsys.com>,
	Maxime, Coquelin, Simon Horman <simon.horman@corigine.com>
Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-stm32@st-md-mailman.stormreply.com,
	linux-arm-kernel@lists.infradead.org,
	linux-riscv@lists.infradead.org
Subject: [PATCH net-next v2 0/3] add the dwmac driver for T-HEAD TH1520 SoC
Date: Sun, 27 Aug 2023 17:17:07 +0800	[thread overview]
Message-ID: <20230827091710.1483-1-jszhang@kernel.org> (raw)

Add the dwmac driver support for T-HEAD TH1520 SoC.

Since the clk part isn't mainlined, so SoC dts(i) changes are not
included in this series. However, it can be tested by using fixed-clock.

Since v1:
  - rebase on the lastest net-next
  - collect Reviewed-by tag
  - address Krzysztof's comment of the dt binding
  - fix "div is not initialised" issue pointed out by Simon

Jisheng Zhang (3):
  dt-bindings: net: snps,dwmac: allow dwmac-3.70a to set pbl properties
  dt-bindings: net: add T-HEAD dwmac support
  net: stmmac: add glue layer for T-HEAD TH1520 SoC

 .../devicetree/bindings/net/snps,dwmac.yaml   |   2 +
 .../devicetree/bindings/net/thead,dwmac.yaml  |  77 +++++
 drivers/net/ethernet/stmicro/stmmac/Kconfig   |  11 +
 drivers/net/ethernet/stmicro/stmmac/Makefile  |   1 +
 .../net/ethernet/stmicro/stmmac/dwmac-thead.c | 302 ++++++++++++++++++
 5 files changed, 393 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/thead,dwmac.yaml
 create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c

-- 
2.40.1


WARNING: multiple messages have this Message-ID (diff)
From: Jisheng Zhang <jszhang@kernel.org>
To: "David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Jose Abreu <joabreu@synopsys.com>,
	Maxime@vger.kernel.org, Coquelin@vger.kernel.org,
	Simon Horman <simon.horman@corigine.com>
Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-stm32@st-md-mailman.stormreply.com,
	linux-arm-kernel@lists.infradead.org,
	linux-riscv@lists.infradead.org
Subject: [PATCH net-next v2 0/3] add the dwmac driver for T-HEAD TH1520 SoC
Date: Sun, 27 Aug 2023 17:17:07 +0800	[thread overview]
Message-ID: <20230827091710.1483-1-jszhang@kernel.org> (raw)

Add the dwmac driver support for T-HEAD TH1520 SoC.

Since the clk part isn't mainlined, so SoC dts(i) changes are not
included in this series. However, it can be tested by using fixed-clock.

Since v1:
  - rebase on the lastest net-next
  - collect Reviewed-by tag
  - address Krzysztof's comment of the dt binding
  - fix "div is not initialised" issue pointed out by Simon

Jisheng Zhang (3):
  dt-bindings: net: snps,dwmac: allow dwmac-3.70a to set pbl properties
  dt-bindings: net: add T-HEAD dwmac support
  net: stmmac: add glue layer for T-HEAD TH1520 SoC

 .../devicetree/bindings/net/snps,dwmac.yaml   |   2 +
 .../devicetree/bindings/net/thead,dwmac.yaml  |  77 +++++
 drivers/net/ethernet/stmicro/stmmac/Kconfig   |  11 +
 drivers/net/ethernet/stmicro/stmmac/Makefile  |   1 +
 .../net/ethernet/stmicro/stmmac/dwmac-thead.c | 302 ++++++++++++++++++
 5 files changed, 393 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/thead,dwmac.yaml
 create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c

-- 
2.40.1


             reply	other threads:[~2023-08-27  9:29 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-27  9:17 Jisheng Zhang [this message]
2023-08-27  9:17 ` [PATCH net-next v2 0/3] add the dwmac driver for T-HEAD TH1520 SoC Jisheng Zhang
2023-08-27  9:17 ` [PATCH net-next v2 1/3] dt-bindings: net: snps,dwmac: allow dwmac-3.70a to set pbl properties Jisheng Zhang
2023-08-27  9:17   ` Jisheng Zhang
2023-08-27  9:17 ` [PATCH net-next v2 2/3] dt-bindings: net: add T-HEAD dwmac support Jisheng Zhang
2023-08-27  9:17   ` Jisheng Zhang
2023-08-28 13:13   ` Serge Semin
2023-08-28 13:13     ` Serge Semin
2023-08-28 13:13     ` Serge Semin
2023-08-28 15:17     ` Jisheng Zhang
2023-08-28 15:17       ` Jisheng Zhang
2023-08-28 15:17       ` Jisheng Zhang
2023-08-28 15:51       ` Serge Semin
2023-08-28 15:51         ` Serge Semin
2023-08-28 15:51         ` Serge Semin
2023-08-28 16:06         ` Jisheng Zhang
2023-08-28 16:06           ` Jisheng Zhang
2023-08-28 16:06           ` Jisheng Zhang
2023-08-28 17:55         ` Krzysztof Kozlowski
2023-08-28 17:55           ` Krzysztof Kozlowski
2023-08-28 17:55           ` Krzysztof Kozlowski
2023-08-29  3:02           ` Jisheng Zhang
2023-08-29  3:02             ` Jisheng Zhang
2023-08-29  3:02             ` Jisheng Zhang
2023-08-28 13:16   ` Serge Semin
2023-08-28 13:16     ` Serge Semin
2023-08-28 13:16     ` Serge Semin
2023-08-27  9:17 ` [PATCH net-next v2 3/3] net: stmmac: add glue layer for T-HEAD TH1520 SoC Jisheng Zhang
2023-08-27  9:17   ` Jisheng Zhang
2023-08-28 13:40   ` Serge Semin
2023-08-28 13:40     ` Serge Semin
2023-08-28 13:40     ` Serge Semin
2023-08-28 15:41     ` Jisheng Zhang
2023-08-28 15:41       ` Jisheng Zhang
2023-08-28 15:41       ` Jisheng Zhang
2023-08-28 16:56       ` Emil Renner Berthing
2023-08-28 16:56         ` Emil Renner Berthing
2023-08-28 16:56         ` Emil Renner Berthing
2023-08-28 17:30       ` Serge Semin
2023-08-28 17:30         ` Serge Semin
2023-08-28 17:30         ` Serge Semin
2023-08-29  3:17         ` Jisheng Zhang
2023-08-29  3:17           ` Jisheng Zhang
2023-08-29  3:17           ` Jisheng Zhang
2023-08-29 10:07           ` Serge Semin
2023-08-29 10:07             ` Serge Semin
2023-08-29 10:07             ` Serge Semin
2023-08-29 11:09             ` Jisheng Zhang
2023-08-29 11:09               ` Jisheng Zhang
2023-08-29 11:09               ` Jisheng Zhang
2023-08-28 15:58   ` Serge Semin
2023-08-28 15:58     ` Serge Semin
2023-08-28 15:58     ` Serge Semin
2023-08-28 16:13     ` Jisheng Zhang
2023-08-28 16:13       ` Jisheng Zhang
2023-08-28 16:13       ` Jisheng Zhang
2023-08-28 17:46       ` Serge Semin
2023-08-28 17:46         ` Serge Semin
2023-08-28 17:46         ` Serge Semin
2023-09-04  5:41 ` [PATCH net-next v2 0/3] add the dwmac driver " Jiexun Wang
2023-09-04  5:41   ` Jiexun Wang
2023-09-04  5:41   ` Jiexun Wang

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=20230827091710.1483-1-jszhang@kernel.org \
    --to=jszhang@kernel.org \
    --cc=alexandre.torgue@foss.st.com \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=joabreu@synopsys.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=peppe.cavallaro@st.com \
    --cc=robh+dt@kernel.org \
    --cc=simon.horman@corigine.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.