ptp: ptp_clockmatrix: Add alignment of 1 PPS to idtcm_perout_enable.
authorVincent Cheng <vincent.cheng.xh@renesas.com>
Wed, 17 Feb 2021 05:42:13 +0000 (00:42 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2021 21:49:25 +0000 (13:49 -0800)
commite8b4d8b542b167b101aaaa308dc3be39da9f59d0
treef3ed96f7af6f29cb049892e8655437268504f9ef
parent797d3186544fcd5bfd7a03b9ef3e20c1db3802b8
ptp: ptp_clockmatrix: Add alignment of 1 PPS to idtcm_perout_enable.

When enabling output using PTP_CLK_REQ_PEROUT, need to align the output
clock to the internal 1 PPS clock.

Signed-off-by: Vincent Cheng <vincent.cheng.xh@renesas.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_clockmatrix.c