Re: [PATCH net-next 1/3] ptp: Add adjphase function to support phase offset control.

2020-05-01 Thread Vincent Cheng
On Thu, Apr 30, 2020 at 11:37:34PM EDT, Richard Cochran wrote: >On Wed, Apr 29, 2020 at 08:28:23PM -0400, vincent.cheng...@renesas.com wrote: >> diff --git a/drivers/ptp/ptp_clock.c b/drivers/ptp/ptp_clock.c >> index acabbe7..c46ff98 100644 >> --- a/drivers/ptp/ptp_clock.c >> +++ b/drivers/ptp/ptp_

Re: [PATCH net-next 1/3] ptp: Add adjphase function to support phase offset control.

2020-04-30 Thread Richard Cochran
On Wed, Apr 29, 2020 at 08:28:23PM -0400, vincent.cheng...@renesas.com wrote: > diff --git a/drivers/ptp/ptp_clock.c b/drivers/ptp/ptp_clock.c > index acabbe7..c46ff98 100644 > --- a/drivers/ptp/ptp_clock.c > +++ b/drivers/ptp/ptp_clock.c > @@ -146,6 +146,8 @@ static int ptp_clock_adjtime(struct po

[PATCH net-next 1/3] ptp: Add adjphase function to support phase offset control.

2020-04-29 Thread vincent.cheng.xh
From: Vincent Cheng 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 --- drivers/ptp/ptp_clock.c | 2 ++ include/linux/ptp_clock_kernel