]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: Add adjphase function to support phase offset control.
authorVincent Cheng <vincent.cheng.xh@renesas.com>
Sat, 2 May 2020 03:35:36 +0000 (23:35 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 May 2020 23:31:44 +0000 (16:31 -0700)
commit9c3e0a7e1bab9db1167d61bd6ee35b7eb45acc4a
treee935fd5cc9a21917182107a4872895bf7ee63e7b
parent0873287ee430fb1b3cc306d2f1f0176b5f917eee
ptp: Add adjphase function to support phase offset control.

Adds adjust phase function to take advantage of a PHC
clock's hardware filtering capability that uses phase offset
control word instead of frequency offset control word.

Signed-off-by: Vincent Cheng <vincent.cheng.xh@renesas.com>
Reviewed-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_clock.c
include/linux/ptp_clock_kernel.h