linux/drivers/net/ethernet/ti
Grygorii Strashko 88f0f0b0be net: ethernet: ti: cpts: calc mult and shift from refclk freq
The cyclecounter mult and shift values can be calculated based on the
CPTS rfclk frequency and timekeepnig framework provides required algos
and API's.

Hence, calc mult and shift basing on CPTS rfclk frequency if both
cpts_clock_shift and cpts_clock_mult properties are not provided in DT (the
basis of calculation algorithm is borrowed from
__clocksource_update_freq_scale() commit 7d2f944a2b ("clocksource:
Provide a generic mult/shift factor calculation")). After this change
cpts_clock_shift and cpts_clock_mult DT properties will become optional.

Cc: John Stultz <john.stultz@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-07 11:13:48 -05:00
..
Kconfig net: ethernet: ti: allow cpts to be built separately 2016-12-07 11:13:46 -05:00
Makefile net: ethernet: ti: allow cpts to be built separately 2016-12-07 11:13:46 -05:00
cpmac.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
cpsw-common.c net: cpsw: Fix ethernet regression for dm814x 2015-11-20 10:46:33 -05:00
cpsw-phy-sel.c net: ethernet: ti: cpsw: fix device and of_node leaks 2016-11-07 13:17:30 -05:00
cpsw.c net: ethernet: ti: cpts: move dt props parsing to cpts driver 2016-12-07 11:13:48 -05:00
cpsw.h net: ethernet: ti: cpts: move dt props parsing to cpts driver 2016-12-07 11:13:48 -05:00
cpsw_ale.c net: cpsw: remove two unused global functions 2015-05-25 18:19:09 -04:00
cpsw_ale.h net: cpsw: remove two unused global functions 2015-05-25 18:19:09 -04:00
cpts.c net: ethernet: ti: cpts: calc mult and shift from refclk freq 2016-12-07 11:13:48 -05:00
cpts.h net: ethernet: ti: cpts: move dt props parsing to cpts driver 2016-12-07 11:13:48 -05:00
davinci_cpdma.c net: ethernet: ti: davinci_cpdma: add missing EXPORTs 2016-12-03 15:27:38 -05:00
davinci_cpdma.h net: ethernet: ti: davinci_cpdma: add set rate for a channel 2016-11-30 14:37:13 -05:00
davinci_emac.c net: ethernet: ti: davinci_emac: fix fixed-link phydev and of-node leaks 2016-11-29 23:17:02 -05:00
davinci_mdio.c drivers: net: davinci_mdio: enable pm runtime auto for ti cpsw-mdio 2016-06-28 08:57:19 -04:00
netcp.h netcp: add more __le32 annotations 2015-12-11 19:34:39 -05:00
netcp_core.c net: netcp: replace IS_ERR_OR_NULL by IS_ERR 2016-11-16 23:26:36 -05:00
netcp_ethss.c net: ti: netcp_ethss: use new api ethtool_{get|set}_link_ksettings 2016-10-12 01:40:25 -04:00
netcp_sgmii.c net: netcp: Fixes SGMII reset on network interface shutdown 2015-07-27 01:14:26 -07:00
netcp_xgbepcsr.c net: netcp: Enhance GBE driver to support 10G Ethernet 2015-01-19 15:07:39 -05:00
tlan.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-10-14 10:00:27 -04:00
tlan.h tlan: Don't scream if no link 2014-07-07 17:06:52 -07:00