summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRusaimi Amira Ruslan <rusaimi.amira.rusaimi@intel.com>2020-09-28 12:12:12 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-29 03:43:57 +0200
commitb4c5f83ae3f3e2b3239751c304e424eace62448b (patch)
treecf23ef2e88d5fe01ca0106a9ff45b4d4c127975e /include
parentMerge branch 'net-ipa-miscellaneous-cleanups' (diff)
downloadlinux-b4c5f83ae3f3e2b3239751c304e424eace62448b.tar.xz
linux-b4c5f83ae3f3e2b3239751c304e424eace62448b.zip
stmmac: intel: Adding ref clock 1us tic for LPI cntr
Adding reference clock (1us tic) for all LPI timer on Intel platforms. The reference clock is derived from ptp clk. This also enables all LPI counter. Signed-off-by: Rusaimi Amira Ruslan <rusaimi.amira.rusaimi@intel.com> Signed-off-by: Voon Weifeng <weifeng.voon@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-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 00e83c877496..628e28903b8b 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -200,5 +200,6 @@ struct plat_stmmacenet_data {
int has_xgmac;
bool vlan_fail_q_en;
u8 vlan_fail_q;
+ unsigned int eee_usecs_rate;
};
#endif