diff options
author | Rusaimi Amira Ruslan <rusaimi.amira.rusaimi@intel.com> | 2020-09-28 18:12:12 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-28 18:43:57 -0700 |
commit | b4c5f83ae3f3e2b3239751c304e424eace62448b (patch) | |
tree | cf23ef2e88d5fe01ca0106a9ff45b4d4c127975e /include/linux/stmmac.h | |
parent | 3f53094ded4a78c87f9dada995e01cc491c196dd (diff) | |
download | linux-b4c5f83ae3f3e2b3239751c304e424eace62448b.tar.gz linux-b4c5f83ae3f3e2b3239751c304e424eace62448b.tar.bz2 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/linux/stmmac.h')
-rw-r--r-- | include/linux/stmmac.h | 1 |
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 |