stmmac: adding DT parameter for LPI tx clock gating
authorjpinto <Joao.Pinto@synopsys.com>
Mon, 9 Jan 2017 12:35:08 +0000 (12:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2017 19:54:29 +0000 (14:54 -0500)
commitb4b7b772e8b018286482d8d1fba7804ceac56a64
tree4388fe9d8bd9cb3b868436c01c66e30b6986d318
parent3a7f75e532420edb375b8d0a1526c3c1b777c1f6
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>
Documentation/devicetree/bindings/net/stmmac.txt
drivers/net/ethernet/stmicro/stmmac/common.h
drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c
drivers/net/ethernet/stmicro/stmmac/dwmac4.h
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
include/linux/stmmac.h