OSDN Git Service

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)
commit184ecc9eb260d5a3bcdddc5bebd18f285ac004e9
treee935fd5cc9a21917182107a4872895bf7ee63e7b
parent115506fea499f1cd9a80290b31eca4352e0559e9
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