From: "Marek Behún" <kabel@kernel.org>
To: Joe Hershberger <joe.hershberger@ni.com>,
Ramon Fried <rfried.dev@gmail.com>
Cc: u-boot@lists.denx.de, "Marek Behún" <marek.behun@nic.cz>
Subject: [PATCH u-boot-net v3 00/14] u-boot-net refactors, fixes, cleanups
Date: Tue, 29 Mar 2022 22:08:31 +0200 [thread overview]
Message-ID: <20220329200845.13435-1-kabel@kernel.org> (raw)
From: Marek Behún <marek.behun@nic.cz>
Hello,
this is v3 of https://patchwork.ozlabs.org/project/uboot/list/?series=290889.
Changes since v2:
- added UT tests for ofnode_get_phy_node() and ofnode_get_phy_mode(), as
requested by Simon
Marek Behún (14):
net: mdio-uclass: fix type for phy_mode_str and phy_handle_str
net: mdio-uclass: use ARRAY_SIZE()
net: introduce helpers to get PHY ofnode from MAC
net: mdio-uclass: add wrappers for read/write/reset operations
treewide: use dm_mdio_read/write/reset() wrappers
net: phy: fix parsing wrong property
net: introduce helpers to get PHY interface mode from a device/ofnode
treewide: Rename PHY_INTERFACE_MODE_COUNT to PHY_INTERFACE_MODE_MAX
treewide: Rename PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA
phy: Move PHY_INTERFACE_MODE_NA to the beginning of the enum
definition
net: phy: xilinx: Check interface type in ->config(), not ->probe()
net: phy: use ->is_c45 instead of is_10g_interface()
bcmgenet, sun8i_emac: Don't connect PHY two times
net: phy: don't require PHY interface mode during PHY creation
arch/sandbox/dts/test.dts | 12 ++
board/CZ.NIC/turris_mox/turris_mox.c | 2 +-
board/boundary/nitrogen6x/nitrogen6x.c | 2 +-
board/freescale/corenet_ds/eth_hydra.c | 2 +-
board/freescale/corenet_ds/eth_superhydra.c | 4 +-
board/freescale/t104xrdb/eth.c | 4 +-
board/gdsys/a38x/controlcenterdc.c | 7 +-
board/gdsys/a38x/ihs_phys.c | 6 +-
board/st/stm32f746-disco/stm32f746-disco.c | 13 +--
drivers/core/ofnode.c | 44 ++++++++
drivers/core/read.c | 10 ++
drivers/net/ag7xxx.c | 9 +-
drivers/net/altera_tse.c | 17 +--
drivers/net/bcm6348-eth.c | 8 +-
drivers/net/bcmgenet.c | 12 +-
drivers/net/designware.c | 10 +-
drivers/net/dwc_eth_qos.c | 40 +------
drivers/net/ethoc.c | 4 +-
drivers/net/fec_mxc.c | 15 +--
drivers/net/fm/b4860.c | 8 +-
drivers/net/fm/eth.c | 13 +--
drivers/net/fm/init.c | 8 +-
drivers/net/fm/ls1043.c | 6 +-
drivers/net/fm/ls1046.c | 8 +-
drivers/net/fm/p1023.c | 4 +-
drivers/net/fm/p4080.c | 6 +-
drivers/net/fm/p5020.c | 6 +-
drivers/net/fm/p5040.c | 6 +-
drivers/net/fm/t1024.c | 4 +-
drivers/net/fm/t1040.c | 4 +-
drivers/net/fm/t2080.c | 6 +-
drivers/net/fm/t4240.c | 6 +-
drivers/net/fsl_enetc.c | 13 +--
drivers/net/ftgmac100.c | 11 +-
drivers/net/higmacv300.c | 9 +-
drivers/net/ldpaa_eth/ldpaa_eth.c | 28 +----
drivers/net/ldpaa_eth/ldpaa_wriop.c | 10 +-
drivers/net/ldpaa_eth/ls1088a.c | 4 +-
drivers/net/ldpaa_eth/ls2080a.c | 4 +-
drivers/net/ldpaa_eth/lx2160a.c | 4 +-
drivers/net/macb.c | 10 +-
drivers/net/mdio_mux_sandbox.c | 6 +-
drivers/net/mscc_eswitch/jr2_switch.c | 2 +-
drivers/net/mscc_eswitch/luton_switch.c | 2 +-
drivers/net/mscc_eswitch/ocelot_switch.c | 2 +-
drivers/net/mscc_eswitch/serval_switch.c | 2 +-
drivers/net/mscc_eswitch/servalt_switch.c | 2 +-
drivers/net/mt7620-eth.c | 45 +++-----
drivers/net/mtk_eth.c | 8 +-
drivers/net/mvgbe.c | 7 +-
drivers/net/mvneta.c | 11 +-
drivers/net/mvpp2.c | 9 +-
drivers/net/pch_gbe.c | 4 +-
drivers/net/phy/aquantia.c | 2 +-
drivers/net/phy/phy.c | 115 +++++++-------------
drivers/net/phy/xilinx_gmii2rgmii.c | 14 +--
drivers/net/pic32_eth.c | 11 +-
drivers/net/qe/dm_qe_uec.c | 11 +-
drivers/net/ravb.c | 19 +---
drivers/net/sh_eth.c | 19 +---
drivers/net/sni_ave.c | 16 +--
drivers/net/sni_netsec.c | 10 +-
drivers/net/sun8i_emac.c | 13 +--
drivers/net/sunxi_emac.c | 5 +-
drivers/net/ti/am65-cpsw-nuss.c | 15 +--
drivers/net/ti/cpsw.c | 10 +-
drivers/net/ti/keystone_net.c | 24 ++--
drivers/net/tsec.c | 9 +-
drivers/net/xilinx_axi_emac.c | 10 +-
drivers/net/zynq_gem.c | 9 +-
include/_exports.h | 3 +-
include/dm/ofnode.h | 27 +++++
include/dm/read.h | 36 ++++++
include/exports.h | 3 +-
include/fm_eth.h | 2 +-
include/miiphy.h | 31 ++++++
include/phy.h | 32 ++----
include/phy_interface.h | 11 +-
include/vsc9953.h | 2 +-
net/mdio-mux-uclass.c | 16 +--
net/mdio-uclass.c | 96 ++++++++--------
test/dm/mdio.c | 18 +--
test/dm/mdio_mux.c | 16 +--
test/dm/ofnode.c | 22 ++++
84 files changed, 503 insertions(+), 623 deletions(-)
--
2.34.1
next reply other threads:[~2022-03-29 20:09 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-29 20:08 Marek Behún [this message]
2022-03-29 20:08 ` [PATCH u-boot-net v3 01/14] net: mdio-uclass: fix type for phy_mode_str and phy_handle_str Marek Behún
2022-04-06 13:12 ` Vladimir Oltean
2022-03-29 20:08 ` [PATCH u-boot-net v3 02/14] net: mdio-uclass: use ARRAY_SIZE() Marek Behún
2022-04-06 13:13 ` Vladimir Oltean
2022-03-29 20:08 ` [PATCH u-boot-net v3 03/14] net: introduce helpers to get PHY ofnode from MAC Marek Behún
2022-03-29 20:08 ` [PATCH u-boot-net v3 04/14] net: mdio-uclass: add wrappers for read/write/reset operations Marek Behún
2022-04-06 13:14 ` Vladimir Oltean
2022-03-29 20:08 ` [PATCH u-boot-net v3 05/14] treewide: use dm_mdio_read/write/reset() wrappers Marek Behún
2022-04-06 13:15 ` Vladimir Oltean
2022-03-29 20:08 ` [PATCH u-boot-net v3 06/14] net: phy: fix parsing wrong property Marek Behún
2022-04-06 13:16 ` Vladimir Oltean
2022-03-29 20:08 ` [PATCH u-boot-net v3 07/14] net: introduce helpers to get PHY interface mode from a device/ofnode Marek Behún
2022-04-06 14:03 ` Patrice CHOTARD
2022-03-29 20:08 ` [PATCH u-boot-net v3 08/14] treewide: Rename PHY_INTERFACE_MODE_COUNT to PHY_INTERFACE_MODE_MAX Marek Behún
2022-04-06 13:22 ` Vladimir Oltean
2022-03-29 20:08 ` [PATCH u-boot-net v3 09/14] treewide: Rename PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA Marek Behún
2022-04-06 13:24 ` Vladimir Oltean
2022-03-29 20:08 ` [PATCH u-boot-net v3 10/14] phy: Move PHY_INTERFACE_MODE_NA to the beginning of the enum definition Marek Behún
2022-03-29 20:08 ` [PATCH u-boot-net v3 11/14] net: phy: xilinx: Check interface type in ->config(), not ->probe() Marek Behún
2022-03-29 20:08 ` [PATCH u-boot-net v3 12/14] net: phy: use ->is_c45 instead of is_10g_interface() Marek Behún
2022-03-29 20:08 ` [PATCH u-boot-net v3 13/14] bcmgenet, sun8i_emac: Don't connect PHY two times Marek Behún
2022-03-29 20:08 ` [PATCH u-boot-net v3 14/14] net: phy: don't require PHY interface mode during PHY creation Marek Behún
2022-04-06 13:38 ` Vladimir Oltean
2022-04-01 19:39 ` [PATCH u-boot-net v3 00/14] u-boot-net refactors, fixes, cleanups Ramon Fried
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=20220329200845.13435-1-kabel@kernel.org \
--to=kabel@kernel.org \
--cc=joe.hershberger@ni.com \
--cc=marek.behun@nic.cz \
--cc=rfried.dev@gmail.com \
--cc=u-boot@lists.denx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.