]> 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)
commit59e25482dd7119e095a3ee10a3852b0572ef6b9c
treee935fd5cc9a21917182107a4872895bf7ee63e7b
parentf57a3e7480c2534fb5b04ae21aa789f85e58c186
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