ptp: fix OCP routes and SJA1105 pin direction
Get series with b4
b4 am [email protected]Versions newest first
- v6 Latest8 patches 0 repliesNew
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | net: dsa: sja1105: keep pin function on EXTTS disabledrivers/ | +5 | 0 replies | |
| 2/8 | net: dsa: sja1105: keep pin function on PEROUT disabledrivers/ | +5 | 0 replies | |
| 3/8 | ptp: ocp: preserve timestamp routes on DPLL frequency changesdrivers/ | +42 | 0 replies | |
| 4/8 | ptp: ocp: restore disabled SMA inputs when bindingdrivers/ | +8 | 0 replies | |
| 5/8 | ptp: ocp: report disabled SMA inputs as zero Hzdrivers/ | +2 | 0 replies | |
| 6/8 | ptp: ocp: correct the DCF output frequencydrivers/ | +1 | 0 replies | |
| 7/8 | ptp: ocp: match ART DPLL frequencies to selectorsdrivers/ | +8 | 0 replies | |
| 8/8 | ptp: ocp: defer timestamp shutdown to clock unregisterdrivers/ | +0 | 0 replies |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by.
| Patch | Vadim Fedorenko |
|---|---|
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | R-b |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net v6 0/8] ptp: fix OCP routes and SJA1105 pin direction
This driver series contains the SJA1105 pin-direction fixes and OCP SMA/DPLL corrections. It is separate from the PTP core series as requested in review. The PTP core v6 series is a prerequisite; apply this series only after those core changes. This series contains no ptp_chardev.c or ptp_sysfs.c changes.
Prerequisite PTP core series:
https://lore.kernel.org/r/[email protected]/
The teardown follow-up removes ptp_ocp's early timestamp-disable loop so the new core unregister cleanup disables channels after user operations drain. The existing shared-PPS map shortcut is unchanged. The DCF correction is unchanged and retains Vadim's Reviewed-by tag; tags were not carried onto patches changed in this revision.
Validation: strict x86_64 object build for the PTP core, OCP driver and SJA1105 PTP object with W=1 KCFLAGS=-Werror; source-derived teardown and sysfs/ioctl race tests; SMA routing, DPLL get/set and ART capability tests; runtime mutations reject missing sysfs locks. Hardware register and IRQ operations were stubbed. No physical card or switch was tested.
A coding assistant helped identify the issues, develop the fixes and regression tests, and prepare changelog text.
Ahmad Byagowi (8):
net: dsa: sja1105: keep pin function on EXTTS disable
net: dsa: sja1105: keep pin function on PEROUT disable
ptp: ocp: preserve timestamp routes on DPLL frequency changes
ptp: ocp: restore disabled SMA inputs when binding
ptp: ocp: report disabled SMA inputs as zero Hz
ptp: ocp: correct the DCF output frequency
ptp: ocp: match ART DPLL frequencies to selectors
ptp: ocp: defer timestamp shutdown to clock unregister
drivers/net/dsa/sja1105/sja1105_ptp.c | 16 ++++-- drivers/ptp/ptp_ocp.c | 83 ++++++++++++++++++++------- 2 files changed, 71 insertions(+), 28 deletions(-)
base-commit: 4392bb809812ac79449cd0cf1f5e00469ee102d1
prerequisite-patch-id: 6bad78c955ada1724510b31a0276a3208ce76a5c
prerequisite-patch-id: dc638755165b24f907f718a498e20d4aa1c6190a
Signature · 1 line
2.54.0 (Apple Git-157)