public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/4] Sandbox driver for DSA uclass
@ 2021-02-16 22:48 Vladimir Oltean
  2021-02-16 22:48 ` [PATCH 1/4] net: phy: fixed: be compatible with live OF tree Vladimir Oltean
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Vladimir Oltean @ 2021-02-16 22:48 UTC (permalink / raw)
  To: u-boot

From: Vladimir Oltean <vladimir.oltean@nxp.com>

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

-- 
2.25.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-03-12  7:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-16 22:48 [PATCH 0/4] Sandbox driver for DSA uclass Vladimir Oltean
2021-02-16 22:48 ` [PATCH 1/4] net: phy: fixed: be compatible with live OF tree Vladimir Oltean
2021-03-12  6:34   ` Bin Meng
2021-03-12  7:53     ` Bin Meng
2021-02-16 22:48 ` [PATCH 2/4] net: phy: drop #ifdef CONFIG_DM_ETH around phy_connect_fixed Vladimir Oltean
2021-03-11  9:37   ` Bin Meng
2021-02-16 22:48 ` [PATCH 3/4] net: mdio: teach dm_eth_phy_connect to connect to fixed PHY Vladimir Oltean
2021-03-12  3:29   ` Bin Meng
2021-02-16 22:48 ` [PATCH 4/4] sandbox: add a DSA sandbox driver and unit test Vladimir Oltean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox