qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: Priyanka Jain <priyanka.jain@nxp.com>,
	Simon Glass <sjg@chromium.org>,
	u-boot@lists.denx.de
Cc: Vladimir Oltean <vladimir.oltean@nxp.com>,
	qemu-devel@nongnu.org, Sean Anderson <seanga2@gmail.com>,
	Joe Hershberger <joe.hershberger@ni.com>,
	Stefan Roese <sr@denx.de>, Tom Rini <trini@konsulko.com>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Michal Simek <michal.simek@xilinx.com>,
	Amit Singh Tomar <amittomer25@gmail.com>,
	Ramon Fried <rfried.dev@gmail.com>, Joel Stanley <joel@jms.id.au>,
	Alex Nemirovsky <alex.nemirovsky@cortina-access.com>,
	Jean-Jacques Hiblot <jjhiblot@ti.com>,
	Dario Binacchi <dariobin@libero.it>,
	Madalin Bucur <madalin.bucur@oss.nxp.com>,
	Andre Przywara <andre.przywara@arm.com>,
	Hou Zhiqiang <Zhiqiang.Hou@nxp.com>,
	Claudiu Manoil <claudiu.manoil@nxp.com>,
	Alexander Graf <agraf@csgraf.de>, Dan Murphy <dmurphy@ti.com>,
	Florin Chiculita <florinlaurentiu.chiculita@nxp.com>,
	Abbie Chang <abbie.chang@cortina-access.com>,
	Bin Meng <bmeng.cn@gmail.com>,
	Samuel Mendoza-Jonas <sam@mendozajonas.com>,
	Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>,
	Patrick Delaunay <patrick.delaunay@foss.st.com>,
	Etienne Carriere <etienne.carriere@linaro.org>
Subject: [PATCH 00/20] ppc: qemu: Add eTSEC support
Date: Tue,  2 Mar 2021 23:34:31 +0800	[thread overview]
Message-ID: <20210302153451.19440-1-bmeng.cn@gmail.com> (raw)

QEMU ppce500 machine can dynamically instantiate an eTSEC device
if "-device eTSEC" is given to QEMU.

This series updates the fixed-link ethernet PHY driver as well as
the Freescale eTSEC driver to support the QEMU ppce500 board.

Based-on:
http://patchwork.ozlabs.org/project/uboot/list/?series=230985

This series is avaiable at u-boot-x86/eTSEC for testing.


Bin Meng (20):
  net: phy: xilinx: Remove non-DM prototype of phy_connect_gmii2rgmii()
  net: phy: xilinx: Convert to use APIs which support live DT
  net: phy: fixed: Remove non-DM prototype of phy_connect_fixed()
  net: phy: fixed: Convert to use APIs which support live DT
  dt-bindings: net: Add the old DT bindings for "fixed-link"
  of: extra: Introduce ofnode_phy_is_fixed_link() API
  test: dm: Add a case to test ofnode_phy_is_fixed_link()
  dm: mdio: Use ofnode_phy_is_fixed_link() API
  net: tsec: Use ofnode_phy_is_fixed_link() API
  net: phy: Simplify the logic of phy_connect_fixed()
  net: phy: fixed: Make driver ops static
  net: phy: fixed: Add the missing ending newline
  net: phy: fixed: Support the old DT binding
  dt-bindings: net: Update Freescale TSEC to support "queue-group"
  net: tsec: Support <reg> property from the subnode "queue-group"
  dm: core: Correctly read <ranges> of simple-bus
  test: dm: Add a test case for simple-bus <ranges>
  ppc: qemu: Create a virtual memory mapping of the platform bus
  ppc: qemu: Enable eTSEC support
  doc: board: qemu-ppce500: Document eTSEC usage

 arch/sandbox/dts/test.dts                     | 11 ++++
 board/emulation/qemu-ppce500/Kconfig          |  6 +++
 board/emulation/qemu-ppce500/qemu-ppce500.c   | 18 +++++++
 configs/qemu-ppce500_defconfig                |  4 ++
 doc/board/emulation/qemu-ppce500.rst          |  5 ++
 doc/device-tree-bindings/net/fixed-link.txt   | 47 ++++++++++++-----
 doc/device-tree-bindings/net/fsl-tsec-phy.txt | 15 +++++-
 drivers/core/of_extra.c                       | 26 ++++++++++
 drivers/core/simple-bus.c                     | 15 ++++--
 drivers/net/phy/Kconfig                       |  1 +
 drivers/net/phy/fixed.c                       | 37 ++++++++++---
 drivers/net/phy/phy.c                         | 52 ++++++-------------
 drivers/net/tsec.c                            | 30 +++++++++--
 include/dm/of_extra.h                         | 18 +++++++
 include/dm/simple_bus.h                       |  6 +--
 net/mdio-uclass.c                             |  3 +-
 test/dm/Makefile                              |  1 +
 test/dm/of_extra.c                            | 18 +++++++
 test/dm/simple-bus.c                          | 33 ++++++++++++
 19 files changed, 276 insertions(+), 70 deletions(-)
 create mode 100644 test/dm/simple-bus.c

-- 
2.25.1



                 reply	other threads:[~2021-03-02 15:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20210302153451.19440-1-bmeng.cn@gmail.com \
    --to=bmeng.cn@gmail.com \
    --cc=Zhiqiang.Hou@nxp.com \
    --cc=abbie.chang@cortina-access.com \
    --cc=agraf@csgraf.de \
    --cc=alex.nemirovsky@cortina-access.com \
    --cc=amittomer25@gmail.com \
    --cc=andre.przywara@arm.com \
    --cc=claudiu.manoil@nxp.com \
    --cc=dariobin@libero.it \
    --cc=dmurphy@ti.com \
    --cc=etienne.carriere@linaro.org \
    --cc=florinlaurentiu.chiculita@nxp.com \
    --cc=jjhiblot@ti.com \
    --cc=joe.hershberger@ni.com \
    --cc=joel@jms.id.au \
    --cc=madalin.bucur@oss.nxp.com \
    --cc=meenakshi.aggarwal@nxp.com \
    --cc=michal.simek@xilinx.com \
    --cc=patrick.delaunay@foss.st.com \
    --cc=priyanka.jain@nxp.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rfried.dev@gmail.com \
    --cc=sam@mendozajonas.com \
    --cc=seanga2@gmail.com \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vladimir.oltean@nxp.com \
    --cc=xypron.glpk@gmx.de \
    /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).