]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: ocp: fix PPS source selector debugfs reporting
authorJonathan Lemon <jonathan.lemon@gmail.com>
Thu, 19 May 2022 21:21:52 +0000 (14:21 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 24 May 2022 18:39:54 +0000 (11:39 -0700)
commita341328364e857bca224183f86a0f99a19c6c929
tree8028a08231d43988d21fe7872b2a6b21dcabf1fb
parent02dfddcf56982a715077fdca7a3f95fa88378874
ptp: ocp: fix PPS source selector debugfs reporting

The NTL timecard design has a PPS1 selector which selects the
the PPS source automatically, according to Section 1.9 of the
documentation.

  If there is a SMA PPS input detected:
     - send signal to MAC and PPS slave selector.

  If there is a MAC PPS input detected:
     - send GNSS1 to the MAC
     - send MAC to the PPS slave

  If there is a GNSS1 input detected:
     - send GNSS1 to the MAC
     - send GNSS1 to the PPS slave.MAC

Change the debugfs summary so it reflects the correct mapping,
for assistance in debugging.  No functional change.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/ptp/ptp_ocp.c