diff options
author | Vincent Cheng <vincent.cheng.xh@renesas.com> | 2021-02-17 08:42:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-18 00:49:25 +0300 |
commit | 797d3186544fcd5bfd7a03b9ef3e20c1db3802b8 (patch) | |
tree | e6e42ecdfd4a9c36826d3d68b201f081be2cfce4 /kernel/kexec_internal.h | |
parent | 857490807368026116a16306ab89e9b71cad60ab (diff) | |
download | linux-797d3186544fcd5bfd7a03b9ef3e20c1db3802b8.tar.xz |
ptp: ptp_clockmatrix: Add wait_for_sys_apll_dpll_lock.
Part of the device initialization aligns the rising edge of the output
clock to the internal 1 PPS clock. If the system APLL and DPLL is not
locked, then the alignment will fail and there will be a fixed offset
between the internal 1 PPS clock and the output clock.
After loading the device firmware, poll the system APLL and DPLL for
locked state prior to initialization, timing out after 2 seconds.
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>
Diffstat (limited to 'kernel/kexec_internal.h')
0 files changed, 0 insertions, 0 deletions