netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Apeksha Gupta <apeksha.gupta@nxp.com>
To: qiangqing.zhang@nxp.com, davem@davemloft.net, kuba@kernel.org
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-devel@linux.nxdi.nxp.com, LnxRevLi@nxp.com,
	sachin.saxena@nxp.com, hemant.agrawal@nxp.com,
	nipun.gupta@nxp.com, Apeksha Gupta <apeksha.gupta@nxp.com>
Subject: [PATCH 0/5] drivers/net: add NXP FEC-UIO driver
Date: Wed, 10 Nov 2021 11:18:33 +0530	[thread overview]
Message-ID: <20211110054838.27907-1-apeksha.gupta@nxp.com> (raw)

This patch series introduce the fec-uio driver, supported for the inbuilt
NIC found in the NXP i.MX 8M Mini SoC. Basic hardware initialization is
performed in kernel via userspace input/output(UIO) to support FEC
ethernet device detection in user space.

Userspace PMD uses standard UIO interface to access kernel for PHY
initialisation and for mapping the allocated memory of register &
buffer descriptor with DPDK which gives access to non-cacheable memory
for buffer descriptor.

Module fec-uio.ko will get generated.
imx8mm-evk-dpdk.dtb is required to support fec-uio driver.

Apeksha Gupta (5):
  dt-bindings: add binding for fec-uio
  net: fec: fec-uio driver
  ARM64: defconfig: Add config for fec-uio
  MAINTAINERS: add new file
  arm64: dts: imx8mm-evk-dpdk: dts for fec-uio driver

 .../devicetree/bindings/net/fsl,fec-uio.yaml  |  32 ++
 MAINTAINERS                                   |   6 +
 arch/arm64/boot/dts/freescale/Makefile        |   1 +
 .../boot/dts/freescale/imx8mm-evk-dpdk.dts    |  10 +
 arch/arm64/configs/defconfig                  |   1 +
 drivers/net/ethernet/freescale/Kconfig        |  10 +
 drivers/net/ethernet/freescale/Makefile       |   7 +-
 drivers/net/ethernet/freescale/fec_uio.c      | 437 ++++++++++++++++++
 8 files changed, 501 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/fsl,fec-uio.yaml
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-evk-dpdk.dts
 create mode 100644 drivers/net/ethernet/freescale/fec_uio.c

-- 
2.17.1


             reply	other threads:[~2021-11-10  5:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10  5:48 Apeksha Gupta [this message]
2021-11-10  5:48 ` [PATCH 1/5] dt-bindings: add binding for fec-uio Apeksha Gupta
2021-11-10  5:48 ` [PATCH 2/5] net: fec: fec-uio driver Apeksha Gupta
2021-11-10 22:06   ` Andrew Lunn
2021-11-10  5:48 ` [PATCH 3/5] ARM64: defconfig: Add config for fec-uio Apeksha Gupta
2021-11-10  5:48 ` [PATCH 4/5] MAINTAINERS: add new file Apeksha Gupta
2021-11-10  5:48 ` [PATCH 5/5] arm64: dts: imx8mm-evk-dpdk: dts for fec-uio driver Apeksha Gupta
2021-11-10 22:11   ` Andrew Lunn
2021-11-11 11:06 ` [PATCH 0/5] drivers/net: add NXP FEC-UIO driver Michael Walle

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=20211110054838.27907-1-apeksha.gupta@nxp.com \
    --to=apeksha.gupta@nxp.com \
    --cc=LnxRevLi@nxp.com \
    --cc=davem@davemloft.net \
    --cc=hemant.agrawal@nxp.com \
    --cc=kuba@kernel.org \
    --cc=linux-devel@linux.nxdi.nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nipun.gupta@nxp.com \
    --cc=qiangqing.zhang@nxp.com \
    --cc=sachin.saxena@nxp.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).