devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] net: stmmac: allow sharing MDIO lines
@ 2023-08-07 19:31 Bartosz Golaszewski
  2023-08-07 19:31 ` [PATCH 1/2] dt-bindings: net: snps,dwmac: document the snps,shared-mdio property Bartosz Golaszewski
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2023-08-07 19:31 UTC (permalink / raw)
  To: David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alexandre Torgue,
	Jose Abreu, Maxime Coquelin, Andrew Halaney, Alex Elder,
	Srini Kandagatla
  Cc: netdev, devicetree, linux-kernel, linux-stm32, linux-arm-kernel,
	Bartosz Golaszewski

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Two MACs may share MDIO lines to the PHYs. Let's allow that in the
stmmac driver by providing a new device-tree property allowing one MAC
node to reference the MDIO bus defined on a second MAC node.

Bartosz Golaszewski (2):
  dt-bindings: net: snps,dwmac: document the snps,shared-mdio property
  net: stmmac: support shared MDIO

 Documentation/devicetree/bindings/net/snps,dwmac.yaml | 6 ++++++
 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c     | 8 ++++++++
 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 6 ++++++
 include/linux/stmmac.h                                | 1 +
 4 files changed, 21 insertions(+)

-- 
2.39.2


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

end of thread, other threads:[~2023-08-08 21:14 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-07 19:31 [PATCH 0/2] net: stmmac: allow sharing MDIO lines Bartosz Golaszewski
2023-08-07 19:31 ` [PATCH 1/2] dt-bindings: net: snps,dwmac: document the snps,shared-mdio property Bartosz Golaszewski
2023-08-07 19:31 ` [PATCH 2/2] net: stmmac: support shared MDIO Bartosz Golaszewski
2023-08-07 19:50 ` [PATCH 0/2] net: stmmac: allow sharing MDIO lines Andrew Lunn
2023-08-08  8:13   ` Bartosz Golaszewski
2023-08-08 13:09     ` Andrew Lunn
2023-08-08 13:26     ` Russell King (Oracle)
2023-08-08 14:09       ` Bartosz Golaszewski
2023-08-08 14:25         ` Andrew Lunn
2023-08-08 14:30           ` Bartosz Golaszewski
2023-08-08 14:44             ` Andrew Halaney
2023-08-08 15:10               ` Russell King (Oracle)
2023-08-08 15:15               ` Andrew Lunn
2023-08-08 15:27                 ` Russell King (Oracle)
2023-08-08 18:26                 ` Bartosz Golaszewski
2023-08-08 18:38                   ` Russell King (Oracle)
2023-08-08 14:30         ` Russell King (Oracle)

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).