[PATCH v2 0/9] net: stmmac: Fixes and Tegra186 support

From: Thierry Reding
Date: Fri Mar 10 2017 - 11:35:18 EST


From: Thierry Reding <treding@xxxxxxxxxx>

Hi everyone,

This series of patches start with a few cleanups that I ran across while
adding Tegra186 support to the stmmac driver. It then adds code for FIFO
size parsing from feature registers and finally enables support for the
incarnation of the Synopsys DWC QOS IP found on NVIDIA Tegra186 SoCs.

This is based on next-20170310.

Changes in v2:
- address review comments by Mikko and Joao
- add two additional cleanup patches

Thanks,
Thierry

Thierry Reding (9):
net: stmmac: Rename clk_ptp_ref clock to ptp_ref
net: stmmac: Stop PHY and remove TX timer on error
net: stmmac: Disable PTP reference clock on error
net: stmmac: Balance PTP reference clock enable/disable
net: stmmac: Check for DMA mapping errors
net: stmmac: Parse FIFO sizes from feature registers
net: stmmac: Program RX queue size and flow control
net: stmmac: dwc-qos: Split out ->probe() and ->remove()
net: stmmac: dwc-qos: Add Tegra186 support

Documentation/devicetree/bindings/net/stmmac.txt | 6 +-
drivers/net/ethernet/stmicro/stmmac/common.h | 3 +
.../ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c | 371 +++++++++++++++++++--
drivers/net/ethernet/stmicro/stmmac/dwmac4.h | 15 +
drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c | 57 +++-
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 23 +-
.../net/ethernet/stmicro/stmmac/stmmac_platform.c | 3 +-
7 files changed, 444 insertions(+), 34 deletions(-)

--
2.12.0