linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 00/13] net: stmmac: convert glue drivers to use stmmac_get_phy_intf_sel()
@ 2025-11-11  8:11 Russell King (Oracle)
  2025-11-11  8:11 ` [PATCH net-next v2 01/13] net: stmmac: loongson1: use PHY_INTF_SEL_x Russell King (Oracle)
                   ` (13 more replies)
  0 siblings, 14 replies; 23+ messages in thread
From: Russell King (Oracle) @ 2025-11-11  8:11 UTC (permalink / raw)
  To: Andrew Lunn, Heiner Kallweit
  Cc: Alexandre Torgue, Andrew Lunn, AngeloGioacchino Del Regno,
	David S. Miller, Emil Renner Berthing, Eric Dumazet,
	Jakub Kicinski, Keguang Zhang, linux-arm-kernel, linux-mediatek,
	linux-mips, linux-stm32, Matthias Brugger, Maxime Coquelin,
	Minda Chen, netdev, Nobuhiro Iwamatsu, Paolo Abeni

This series converts the remaining glue drivers that support
multi-interface to use stmmac_get_phy_intf_sel(). The reason these
drivers are not converted to the set_phy_intf_sel() method is
because it is unclear whether there are ordering dependencies that
would prevent it.

For example, reading the stm32mp2 documentation, it is required to
set the ETH1_SEL field while the dwmac core is in reset and before
clocks are enabled. This requirement can not be satsified at the
moment (but could with further changes.)

v2:
- sending meson8b seperately
- updated a number of commit descriptions: PHY_INTF_SEL_xxx ->
  PHY_INTF_SEL_x, added note where GMII no longer errors out.

 .../net/ethernet/stmicro/stmmac/dwmac-loongson1.c  | 18 ++---
 .../net/ethernet/stmicro/stmmac/dwmac-mediatek.c   | 77 ++++++++--------------
 .../net/ethernet/stmicro/stmmac/dwmac-starfive.c   | 24 ++-----
 drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c  | 44 +++++++------
 .../net/ethernet/stmicro/stmmac/dwmac-visconti.c   | 26 ++------
 5 files changed, 70 insertions(+), 119 deletions(-)

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!


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

end of thread, other threads:[~2025-11-13  2:21 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-11  8:11 [PATCH net-next v2 00/13] net: stmmac: convert glue drivers to use stmmac_get_phy_intf_sel() Russell King (Oracle)
2025-11-11  8:11 ` [PATCH net-next v2 01/13] net: stmmac: loongson1: use PHY_INTF_SEL_x Russell King (Oracle)
2025-11-12 15:46   ` Maxime Chevallier
2025-11-11  8:11 ` [PATCH net-next v2 02/13] net: stmmac: loongson1: use PHY_INTF_SEL_x directly Russell King (Oracle)
2025-11-12 15:47   ` Maxime Chevallier
2025-11-11  8:11 ` [PATCH net-next v2 03/13] net: stmmac: loongson1: use stmmac_get_phy_intf_sel() Russell King (Oracle)
2025-11-12 15:47   ` Maxime Chevallier
2025-11-11  8:12 ` [PATCH net-next v2 04/13] net: stmmac: mediatek: use PHY_INTF_SEL_x Russell King (Oracle)
2025-11-12 15:48   ` Maxime Chevallier
2025-11-11  8:12 ` [PATCH net-next v2 05/13] net: stmmac: mediatek: use stmmac_get_phy_intf_sel() Russell King (Oracle)
2025-11-12 15:50   ` Maxime Chevallier
2025-11-11  8:12 ` [PATCH net-next v2 06/13] net: stmmac: mediatek: simplify set_interface() methods Russell King (Oracle)
2025-11-12 15:52   ` Maxime Chevallier
2025-11-11  8:12 ` [PATCH net-next v2 07/13] net: stmmac: starfive: use PHY_INTF_SEL_x to select PHY interface Russell King (Oracle)
2025-11-12 11:42   ` Emil Renner Berthing
2025-11-11  8:12 ` [PATCH net-next v2 08/13] net: stmmac: starfive: use stmmac_get_phy_intf_sel() Russell King (Oracle)
2025-11-12 11:43   ` Emil Renner Berthing
2025-11-11  8:12 ` [PATCH net-next v2 09/13] net: stmmac: stm32: use PHY_INTF_SEL_x to select PHY interface Russell King (Oracle)
2025-11-11  8:12 ` [PATCH net-next v2 10/13] net: stmmac: stm32: use PHY_INTF_SEL_x directly Russell King (Oracle)
2025-11-11  8:12 ` [PATCH net-next v2 11/13] net: stmmac: stm32: use stmmac_get_phy_intf_sel() Russell King (Oracle)
2025-11-11  8:12 ` [PATCH net-next v2 12/13] net: stmmac: visconti: use PHY_INTF_SEL_x to select PHY interface Russell King (Oracle)
2025-11-11  8:12 ` [PATCH net-next v2 13/13] net: stmmac: visconti: use stmmac_get_phy_intf_sel() Russell King (Oracle)
2025-11-13  2:20 ` [PATCH net-next v2 00/13] net: stmmac: convert glue drivers to " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).