diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2016-12-06 18:00:42 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-07 11:13:48 -0500 |
commit | 4a88fb9565d418cf1c2bf41be7cfe156717b9c85 (patch) | |
tree | 61f61a8d2ec6c324cc474c5a4288f5cad7c5aa33 /drivers/net/ethernet/ti/cpsw.h | |
parent | 8a2c9a5ab4b933efd611af0a1313ec7892f5df1a (diff) | |
download | linux-4a88fb9565d418cf1c2bf41be7cfe156717b9c85.tar.gz linux-4a88fb9565d418cf1c2bf41be7cfe156717b9c85.tar.bz2 linux-4a88fb9565d418cf1c2bf41be7cfe156717b9c85.zip |
net: ethernet: ti: cpts: move dt props parsing to cpts driver
Move DT properties parsing into CPTS driver to simplify CPSW
code and CPTS driver porting on other SoC in the future
(like Keystone 2) - with this change it will not be required
to add the same DT parsing code in Keystone 2 NETCP driver.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw.h')
-rw-r--r-- | drivers/net/ethernet/ti/cpsw.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.h b/drivers/net/ethernet/ti/cpsw.h index 16b54c6f32c2..6c3037aa2cd3 100644 --- a/drivers/net/ethernet/ti/cpsw.h +++ b/drivers/net/ethernet/ti/cpsw.h @@ -31,8 +31,6 @@ struct cpsw_platform_data { u32 channels; /* number of cpdma channels (symmetric) */ u32 slaves; /* number of slave cpgmac ports */ u32 active_slave; /* time stamping, ethtool and SIOCGMIIPHY slave */ - u32 cpts_clock_mult; /* convert input clock ticks to nanoseconds */ - u32 cpts_clock_shift; /* convert input clock ticks to nanoseconds */ u32 ale_entries; /* ale table size */ u32 bd_ram_size; /*buffer descriptor ram size */ u32 mac_control; /* Mac control register */ |