netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: fugang.duan@nxp.com
To: davem@davemloft.net, andrew@lunn.ch, peppe.cavallaro@st.com,
	alexandre.torgue@st.com, joabreu@synopsys.com, kuba@kernel.org
Cc: netdev@vger.kernel.org, mcoquelin.stm32@gmail.com,
	p.zabel@pengutronix.de, fugang.duan@nxp.com
Subject: [PATCH v2 net 0/3] net: ethernet: dwmac: add ethernet glue logic for NXP imx8 chip
Date: Thu, 28 May 2020 16:26:22 +0800	[thread overview]
Message-ID: <20200528082625.27218-1-fugang.duan@nxp.com> (raw)

From: Fugang Duan <fugang.duan@nxp.com>

NXP imx8 family like imx8mp/imx8dxl chips support Synopsys
MAC 5.10a IP, the patch set is to add ethernet DWMAC glue
layer including clocks, dwmac address width, phy interface
mode selection and rgmii txclk rate adjustment in runtime.

v1 -> v2:
- suggested by Andrew: add the "snps,dwmac-5.10a" compatible
  string into NXP binding documentation.
- suggested by David: adjust code sequences in order to have
  reverse christmas tree local variable ordering.

Thanks Andrew and David for the review.

Fugang Duan (3):
  stmmac: platform: add "snps, dwmac-5.10a" IP compatible string
  net: ethernet: dwmac: add ethernet glue logic for NXP imx8 chip
  dt-bindings: net: imx-dwmac: Add NXP imx8 DWMAC glue layer

 .../devicetree/bindings/net/imx-dwmac.txt     |  56 ++++
 drivers/net/ethernet/stmicro/stmmac/Kconfig   |  13 +
 drivers/net/ethernet/stmicro/stmmac/Makefile  |   1 +
 .../net/ethernet/stmicro/stmmac/dwmac-imx.c   | 315 ++++++++++++++++++
 .../ethernet/stmicro/stmmac/stmmac_platform.c |   3 +-
 5 files changed, 387 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/net/imx-dwmac.txt
 create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c

-- 
2.17.1


             reply	other threads:[~2020-05-28  8:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-28  8:26 fugang.duan [this message]
2020-05-28  8:26 ` [PATCH v2 net 1/3] stmmac: platform: add "snps, dwmac-5.10a" IP compatible string fugang.duan
2020-05-28  8:26 ` [PATCH v2 net 2/3] net: ethernet: dwmac: add ethernet glue logic for NXP imx8 chip fugang.duan
2020-05-28  8:26 ` [PATCH v2 net 3/3] dt-bindings: net: imx-dwmac: Add NXP imx8 DWMAC glue layer fugang.duan
2020-05-30  0:02 ` [PATCH v2 net 0/3] net: ethernet: dwmac: add ethernet glue logic for NXP imx8 chip David Miller

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=20200528082625.27218-1-fugang.duan@nxp.com \
    --to=fugang.duan@nxp.com \
    --cc=alexandre.torgue@st.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=joabreu@synopsys.com \
    --cc=kuba@kernel.org \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=peppe.cavallaro@st.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;
as well as URLs for NNTP newsgroup(s).