]> 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)
commit125ef59774c320c54a31ae002d861207ba8b7765
treec5aea8672b674a782b1ccce7f20c67cdf8e52db3
parentba71c5364f9c106b4410a3b82b7fdf037ecfa658
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