ptp: add pulse signal loopback support for debugging
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesApplied 3/3
- v13 patches 10 repliesSuperseded
Changes in v2 from the cover letter
1. The value of "enable" is restricted to 0 or 1.
2. Fix the typo: covert --> convert
3. Improve the cover-letter
---
Patches in v2 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ptp: add debugfs interfaces to loop back the periodic output signaldrivers/ include/ | +79 | 0 replies | Applied |
| 2/3 | ptp: netc: add the periodic output signal loopback supportdrivers/ | +25 | 0 replies | Applied |
| 3/3 | ptp: qoriq: convert to use generic interfaces to set loopback modeMAINTAINERS drivers/ drivers/ +3 more | +24 | 0 replies | Applied |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Vladimir Oltean |
|---|---|
| 1/3 | |
| 2/3 | R-b |
| 3/3 | R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 net-next 0/3] ptp: add pulse signal loopback support for debugging
Some PTP devices support looping back the periodic pulse signal for debugging. For example, the PTP device of QorIQ platform and the NETC v4 Timer has the ability to loop back the pulse signal and record the extts events for the loopback signal. So we can make sure that the pulse intervals and their phase alignment are correct from the perspective of the emitting PHC's time base. In addition, we can use this loopback feature as a built-in extts event generator when we have no external equipment which does that. Therefore, add the generic debugfs interfaces to the ptp_clock driver. The first two patch are separated from the previous patch set [1]. The third patch is new added.
[1]: https://lore.kernel.org/imx/[email protected]/ #patch 3 and 9
---
v2 changes:
1. The value of "enable" is restricted to 0 or 1.
2. Fix the typo: covert --> convert
3. Improve the cover-letter
---
Wei Fang (3):
ptp: add debugfs interfaces to loop back the periodic output signal
ptp: netc: add the periodic output signal loopback support
ptp: qoriq: convert to use generic interfaces to set loopback mode
MAINTAINERS | 1 - drivers/ptp/Kconfig | 2 +- drivers/ptp/Makefile | 4 +- drivers/ptp/ptp_clock.c | 69 +++++++++++++++++++++ drivers/ptp/ptp_netc.c | 25 ++++++++ drivers/ptp/ptp_qoriq.c | 24 +++++++- drivers/ptp/ptp_qoriq_debugfs.c | 101 ------------------------------- include/linux/fsl/ptp_qoriq.h | 10 --- include/linux/ptp_clock_kernel.h | 10 +++ 9 files changed, 128 insertions(+), 118 deletions(-) delete mode 100644 drivers/ptp/ptp_qoriq_debugfs.c
Signature · 1 line
2.34.1