We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e57f93 commit 4d6320fCopy full SHA for 4d6320f
drivers/ptp/ptp_clockmatrix.c
@@ -2165,7 +2165,7 @@ static int configure_channel_pll(struct idtcm_channel *channel)
2165
2166
/*
2167
* Compensate for the PTP DCO input-to-output delay.
2168
- * This delay is 18 FOD cycles.
+ * This delay is 20 FOD cycles + 8ns.
2169
*/
2170
static u32 idtcm_get_dco_delay(struct idtcm_channel *channel)
2171
{
@@ -2196,7 +2196,7 @@ static u32 idtcm_get_dco_delay(struct idtcm_channel *channel)
2196
fodFreq = (u32)div_u64(m, n);
2197
2198
if (fodFreq >= 500000000)
2199
- return (u32)div_u64(18 * (u64)NSEC_PER_SEC, fodFreq);
+ return (u32)div_u64(20 * (u64)NSEC_PER_SEC, fodFreq) + 8;
2200
2201
return 0;
2202
}
0 commit comments