]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: ocp: Add sysfs attribute utc_tai_offset
authorJonathan Lemon <jonathan.lemon@gmail.com>
Wed, 15 Sep 2021 02:16:28 +0000 (19:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Sep 2021 10:10:01 +0000 (11:10 +0100)
commit7df432a6b525318cfc35d2ac897ccd19a1783e0f
tree45b4b141053425dfa56a50832c2a30fa94b9d797
parenteef9bc70ce8632b0ffa9ae7a888225436c66c582
ptp: ocp: Add sysfs attribute utc_tai_offset

IRIG and DCF output time in UTC, but the timecard operates
on TAI internally.  Add an attribute node which allows adding
an offset to these modes before output.

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