]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: ocp: Separate the init and info logic
authorJonathan Lemon <jonathan.lemon@gmail.com>
Wed, 15 Sep 2021 02:16:29 +0000 (19:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Sep 2021 10:10:01 +0000 (11:10 +0100)
commit7b5faea22829aaf59e01165e30bdc6d29e018dda
treebdc0aaaf893d6bf31b196003c9e594d414b03119
parent7df432a6b525318cfc35d2ac897ccd19a1783e0f
ptp: ocp: Separate the init and info logic

On startup, parts of the FPGA need to be initialized - break these
out into their own functions, separate from the purely informational
blocks.

On startup, distrbute the UTC:TAI offset from the NMEA GNSS parser,
if it is available.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_ocp.c