Skip to content

Sandbox driver for DSA uclass

Vladimir Oltean u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: phy: fixed: be compatible with live OF treedrivers/net/phy/fixed.c drivers/net/phy/phy.c+37 -232 replies
2/4net: phy: drop #ifdef CONFIG_DM_ETH around phy_connect_fixeddrivers/net/phy/phy.c+0 -61 reply
3/4net: mdio: teach dm_eth_phy_connect to connect to fixed PHYdrivers/net/tsec.c net/mdio-uclass.c+11 -71 reply
4/4sandbox: add a DSA sandbox driver and unit testarch/Kconfig arch/sandbox/dts/test.dts drivers/net/Kconfig +6 more+329 -50 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchSimon GlassBin Meng
1/4R-b T-b
2/4R-b
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Sandbox driver for DSA uclass

From: Vladimir Oltean <[email protected]>

This is a spin-off of the larger patch series for DSA in U-Boot:
https://patchwork.ozlabs.org/project/uboot/cover/20210125122357.414742-1-olteanv at gmail.com/

There is currently an issue which prevents DSA from working properly with the sandbox: the sandbox uses CONFIG_OF_LIVE, and DSA has a dependency in CONFIG_FIXED_PHY which is broken with CONFIG_OF_LIVE.

At Tom Rini's request, the DSA patches were merged without support for sandbox, and here we are now, submitting them separately.

Claudiu Manoil (1):
sandbox: add a DSA sandbox driver and unit test

Vladimir Oltean (3):
net: phy: fixed: be compatible with live OF tree
net: phy: drop #ifdef CONFIG_DM_ETH around phy_connect_fixed
net: mdio: teach dm_eth_phy_connect to connect to fixed PHY

 arch/Kconfig              |   2 +
 arch/sandbox/dts/test.dts |  48 ++++++++++
 drivers/net/Kconfig       |   9 ++
 drivers/net/Makefile      |   1 +
 drivers/net/dsa_sandbox.c | 179 ++++++++++++++++++++++++++++++++++++++
 drivers/net/phy/fixed.c   |  30 +++++--
 drivers/net/phy/phy.c     |  36 ++++----
 drivers/net/tsec.c        |   6 +-
 include/configs/sandbox.h |   2 +
 net/mdio-uclass.c         |  12 ++-
 test/dm/Makefile          |   1 +
 test/dm/dsa.c             |  82 +++++++++++++++++
 test/dm/eth.c             |  10 +--
 13 files changed, 377 insertions(+), 41 deletions(-)
 create mode 100644 drivers/net/dsa_sandbox.c
 create mode 100644 test/dm/dsa.c
Signature · 1 line
2.25.1