[PATCH v2 0/4] net: stmmac: dwc-qos: Add FSD EQoS support

From: Sriranjani P
Date: Wed Jan 11 2023 - 03:39:54 EST


FSD platform has two instances of EQoS IP, one is in FSYS0 block and
another one is in PERIC block. This patch series add required DT binding,
DT file modifications and platform driver specific changes for the same.

This series needs following two patches [1,2] posted as part of SYSREG
controller support for FSD platform.

[1]: https://git.kernel.org/krzk/linux/c/7e03ca7429b23105b740eb79364dc410f214848b
[2]: https://git.kernel.org/krzk/linux/c/beaf55952d46fb14387d92de280bed7985ea85e5

Changes since v1:
1. Addressed all the review comments suggested by Krzysztof with respect to
DT files.
2. Updated dwc_eqos_setup_rxclock() function as per the review comments
given by Andrew.

Sriranjani P (4):
dt-bindings: net: Add FSD EQoS device tree bindings
net: stmmac: dwc-qos: Add FSD EQoS support
arm64: dts: fsd: Add Ethernet support for FSYS0 Block of FSD SoC
arm64: dts: fsd: Add Ethernet support for PERIC Block of FSD SoC

.../devicetree/bindings/net/snps,dwmac.yaml | 1 +
.../net/tesla,dwc-qos-ethernet-4.21.yaml | 103 ++++++++
arch/arm64/boot/dts/tesla/fsd-evb.dts | 18 ++
arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi | 112 +++++++++
arch/arm64/boot/dts/tesla/fsd.dtsi | 51 ++++
.../stmicro/stmmac/dwmac-dwc-qos-eth.c | 227 ++++++++++++++++++
.../net/ethernet/stmicro/stmmac/stmmac_main.c | 20 ++
include/linux/stmmac.h | 1 +
8 files changed, 533 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/tesla,dwc-qos-ethernet-4.21.yaml

--
2.17.1