Skip to content

ppc: qemu: Add eTSEC support

Bin Meng qemu-devel u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20net: phy: xilinx: Remove non-DM prototype of phy_connect_gmii2rgmii()drivers/net/phy/Kconfig drivers/net/phy/phy.c+1 -62 replies
2/20net: phy: xilinx: Convert to use APIs which support live DTdrivers/net/phy/phy.c+7 -122 replies
2/20net: phy: xilinx: Convert to use APIs which support live DT+0 -01 reply
2/20net: phy: xilinx: Convert to use APIs which support live DT+0 -01 reply
2/20net: phy: xilinx: Convert to use APIs which support live DT+0 -01 reply
3/20net: phy: fixed: Remove non-DM prototype of phy_connect_fixed()drivers/net/phy/phy.c+0 -61 reply
4/20net: phy: fixed: Convert to use APIs which support live DTdrivers/net/phy/phy.c+7 -61 reply
5/20dt-bindings: net: Add the old DT bindings for "fixed-link"doc/device-tree-bindings/net/fixed-link.txt+35 -121 reply
6/20of: extra: Introduce ofnode_phy_is_fixed_link() APIdrivers/core/of_extra.c include/dm/of_extra.h+44 -01 reply
6/20of: extra: Introduce ofnode_phy_is_fixed_link() API+0 -00 replies
7/20test: dm: Add a case to test ofnode_phy_is_fixed_link()arch/sandbox/dts/test.dts test/dm/of_extra.c+29 -01 reply
8/20dm: mdio: Use ofnode_phy_is_fixed_link() APInet/mdio-uclass.c+2 -11 reply
9/20net: tsec: Use ofnode_phy_is_fixed_link() APIdrivers/net/tsec.c+2 -21 reply
10/20net: phy: Simplify the logic of phy_connect_fixed()drivers/net/phy/phy.c+6 -121 reply
11/20net: phy: fixed: Make driver ops staticdrivers/net/phy/fixed.c+3 -31 reply
12/20net: phy: fixed: Add the missing ending newlinedrivers/net/phy/fixed.c+1 -11 reply
13/20net: phy: fixed: Support the old DT bindingdrivers/net/phy/fixed.c+26 -31 reply
14/20dt-bindings: net: Update Freescale TSEC to support "queue-group"doc/device-tree-bindings/net/fsl-tsec-phy.txt+14 -11 reply
15/20net: tsec: Support <reg> property from the subnode "queue-group"drivers/net/tsec.c+24 -21 reply
16/20dm: core: Correctly read <ranges> of simple-busdrivers/core/simple-bus.c include/dm/simple_bus.h+13 -81 reply
17/20test: dm: Add a test case for simple-bus <ranges>test/dm/Makefile test/dm/simple-bus.c+34 -01 reply
18/20ppc: qemu: Create a virtual memory mapping of the platform busboard/emulation/qemu-ppce500/Kconfig board/emulation/qemu-ppce500/qemu-ppce500.c+24 -00 replies
19/20ppc: qemu: Enable eTSEC supportconfigs/qemu-ppce500_defconfig+4 -00 replies
20/20doc: board: qemu-ppce500: Document eTSEC usagedoc/board/emulation/qemu-ppce500.rst+5 -00 replies

Reviews trailers per patch

20 of 24 patches have a Reviewed-by or Acked-by.

PatchMichal SimekRamon FriedSimon Glass
1/20A-b R-b
2/20R-b
2/20R-b
2/20R-b
2/20R-b
3/20R-b
4/20R-b
5/20R-b
6/20R-b
6/20R-b
7/20R-b
8/20R-b
9/20R-b
10/20R-b
11/20R-b
12/20R-b
13/20R-b
14/20R-b
15/20R-b
16/20
17/20R-b
18/20
19/20
20/20

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/20] ppc: qemu: Add eTSEC support

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
Signature · 1 line
2.25.1