stmmac: adding DT parameter for LPI tx clock gating
This patch adds a new parameter to the stmmac DT: snps,en-tx-lpi-clockgating. It was ported from synopsys/dwc_eth_qos.c and it is useful if lpi tx clock gating is needed by stmmac users also. Signed-off-by:Joao Pinto <jpinto@synopsys.com> Tested-by:
Niklas Cassel <niklas.cassel@axis.com> Reviewed-by:
Lars Persson <larper@axis.com> Acked-by:
Alexandre TORGUE <alexandre.torgue@st.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- Documentation/devicetree/bindings/net/stmmac.txt 2 additions, 0 deletionsDocumentation/devicetree/bindings/net/stmmac.txt
- drivers/net/ethernet/stmicro/stmmac/common.h 2 additions, 1 deletiondrivers/net/ethernet/stmicro/stmmac/common.h
- drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c 4 additions, 1 deletiondrivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c
- drivers/net/ethernet/stmicro/stmmac/dwmac4.h 1 addition, 0 deletionsdrivers/net/ethernet/stmicro/stmmac/dwmac4.h
- drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c 5 additions, 1 deletiondrivers/net/ethernet/stmicro/stmmac/dwmac4_core.c
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 2 additions, 1 deletiondrivers/net/ethernet/stmicro/stmmac/stmmac_main.c
- drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c 3 additions, 0 deletionsdrivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
- include/linux/stmmac.h 1 addition, 0 deletionsinclude/linux/stmmac.h
Please register or sign in to comment