]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: ocp: Add NMEA output
authorJonathan Lemon <jonathan.lemon@gmail.com>
Wed, 15 Sep 2021 02:16:31 +0000 (19:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Sep 2021 10:10:01 +0000 (11:10 +0100)
commit45c1672c57731f8eedeb2619c049a83dbb3c39b7
treec5aea8672b674a782b1ccce7f20c67cdf8e52db3
parent1c496b81ff5c10571cb39872945c5353841203e5
ptp: ocp: Add NMEA output

The timecard can provide a NMEA-1083 ZDA (time and date) output
string on a serial port, which can be used to drive other devices.

Add the NMEA resources, and the serial port as a sysfs attribute.

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