[PATCH 00/20] ppc: qemu: Add eTSEC support
Bin Meng
bmeng.cn at gmail.com
Tue Mar 2 16:34:31 CET 2021
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
More information about the U-Boot
mailing list