]> 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)
commita62528b2e21c8a0fb10ca659566d6fdf0c013d09
tree8028a08231d43988d21fe7872b2a6b21dcabf1fb
parentadcc250d728dbe9d2550a558516e90c723eb3589
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