mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
cpts: specify the input clock frequency via DT
This patch adds a way to configure the CPTS input clock scaling factors via the device tree. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
78ca0b2873
commit
00ab94eeaf
@@ -34,6 +34,8 @@ struct cpsw_platform_data {
|
||||
u32 slaves; /* number of slave cpgmac ports */
|
||||
struct cpsw_slave_data *slave_data;
|
||||
u32 cpts_active_slave; /* time stamping slave */
|
||||
u32 cpts_clock_mult; /* convert input clock ticks to nanoseconds */
|
||||
u32 cpts_clock_shift; /* convert input clock ticks to nanoseconds */
|
||||
|
||||
u32 ale_reg_ofs; /* address lookup engine reg offset */
|
||||
u32 ale_entries; /* ale table size */
|
||||
|
||||
Reference in New Issue
Block a user