[RESEND PATCH net-next v2 00/14] net: stmmac: dwmac-qcom-ethqos: add support for EMAC4

From: Bartosz Golaszewski
Date: Mon Jun 19 2023 - 05:24:40 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

Extend the dwmac-qcom-ethqos driver to support EMAC4. While at it: rework the
code somewhat. The bindings have been reviewed by DT maintainers.

This is a sub-series of [1] with only the patches targetting the net subsystem
as they can go in independently.

[1] https://lore.kernel.org/lkml/20230617001644.4e093326@xxxxxxxxxx/T/

Bartosz Golaszewski (14):
net: stmmac: dwmac-qcom-ethqos: shrink clock code with devres
net: stmmac: dwmac-qcom-ethqos: rename a label in probe()
net: stmmac: dwmac-qcom-ethqos: tweak the order of local variables
net: stmmac: dwmac-qcom-ethqos: use a helper variable for &pdev->dev
net: stmmac: dwmac-qcom-ethqos: add missing include
net: stmmac: dwmac-qcom-ethqos: add a newline between headers
net: stmmac: dwmac-qcom-ethqos: remove stray space
net: stmmac: dwmac-qcom-ethqos: add support for the optional serdes
phy
net: stmmac: dwmac-qcom-ethqos: add support for the phyaux clock
net: stmmac: dwmac-qcom-ethqos: prepare the driver for more PHY modes
net: stmmac: dwmac-qcom-ethqos: add support for SGMII
net: stmmac: add new switch to struct plat_stmmacenet_data
dt-bindings: net: qcom,ethqos: add description for sa8775p
net: stmmac: dwmac-qcom-ethqos: add support for emac4 on sa8775p
platforms

.../devicetree/bindings/net/qcom,ethqos.yaml | 12 +-
.../devicetree/bindings/net/snps,dwmac.yaml | 3 +
.../stmicro/stmmac/dwmac-qcom-ethqos.c | 284 +++++++++++++-----
.../net/ethernet/stmicro/stmmac/stmmac_main.c | 2 +-
include/linux/stmmac.h | 1 +
5 files changed, 226 insertions(+), 76 deletions(-)

--
2.39.2