[PATCH 0/2] net: stmmac: allow sharing MDIO lines

Bartosz Golaszewski
2023-08-07T19:31:39Z

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