aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/stmmac.h
diff options
context:
space:
mode:
authorjpinto <Joao.Pinto@synopsys.com>2017-01-09 12:35:08 +0000
committerDavid S. Miller <davem@davemloft.net>2017-01-09 14:54:29 -0500
commitb4b7b772e8b018286482d8d1fba7804ceac56a64 (patch)
tree4388fe9d8bd9cb3b868436c01c66e30b6986d318 /include/linux/stmmac.h
parentalx: add feature flag for rx checksumming (diff)
downloadlinux-dev-b4b7b772e8b018286482d8d1fba7804ceac56a64.tar.xz
linux-dev-b4b7b772e8b018286482d8d1fba7804ceac56a64.zip
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>
Diffstat (limited to 'include/linux/stmmac.h')
-rw-r--r--include/linux/stmmac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index 889e0e9a3f1c..e3cd7588623d 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -142,5 +142,6 @@ struct plat_stmmacenet_data {
int has_gmac4;
bool tso_en;
int mac_port_sel_speed;
+ bool en_tx_lpi_clockgating;
};
#endif