Netdev List
 help / color / mirror / Atom feed
From: Ahmad Byagowi <ahmadexp@gmail.com>
To: netdev@vger.kernel.org
Cc: andrew+netdev@lunn.ch, arkadiusz.kubalewski@intel.com,
	davem@davemloft.net, edumazet@kernel.org, jiri@resnulli.us,
	jonathan.lemon@gmail.com, kuba@kernel.org,
	linux-kernel@vger.kernel.org, milena.olech@intel.com,
	olteanv@gmail.com, pabeni@redhat.com, richardcochran@gmail.com,
	vadim.fedorenko@linux.dev
Subject: [PATCH net v7 0/7] ptp: fix OCP routes and SJA1105 pin direction
Date: Fri, 27 Nov 2026 11:22:55 -0800	[thread overview]
Message-ID: <20261127-timecard-driver-v7-0-ahmadexp@gmail.com> (raw)

These driver fixes apply without the PTP-core series. The OCP detach
path and the shared-PPS shortcut are unchanged.

Changes since v6:
  - Drop patch 8. Removing OCP's early timestamp disable needs the core
    cleanup change and separate validation before it can be proposed.
  - Serialize OCP route changes across sysfs, PTP pin configuration
    and DPLL. Reject unrepresentable 10 MHz plus auxiliary routes
    without writing the mux. Document the selector encoding and the
    nominal-frequency readback rules, including ART.
  - Decode both input and output enable bits when binding configurable
    FB and ADVA pins. Leave fixed-direction boards unchanged.
  - Put SJA1105 PEROUT pin selection inside the existing enable block.
    Existing SJA1105 enable and timer lifecycle concerns are not part
    of these enable-only mux fixes.
  - Correct the disabled-selector explanation, align the author name,
    use contiguous trailers, and retain the DCF Reviewed-by on the
    unchanged code.

Validation (local fixtures): strict PTP and SJA1105 PTP builds on x86_64
and i386, allmodconfig and allyesconfig. Source-derived tests exercise
serialized selector changes, nominal-frequency readback, rejected and
accepted 10 MHz requests, 768 rebind states and SJA1105 pin behavior.
No physical card or switch test was performed.

Coding-assistant support was used to review the reports, refine the
SMA changes and tests, and prepare changelogs.

v6: https://lore.kernel.org/r/20261126-timecard-driver-v6-0-ahmadexp@gmail.com/

Ahmad Byagowi (7):
  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: recover SMA direction from both enable bits on bind
  ptp: ocp: report disabled SMA inputs as zero Hz
  ptp: ocp: correct the DCF output frequency
  ptp: ocp: match ART DPLL frequencies to selectors

             reply	other threads:[~2026-11-27 19:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 19:22 Ahmad Byagowi [this message]
2026-11-27 19:22 ` [PATCH net v7 1/7] net: dsa: sja1105: keep pin function on EXTTS disable Ahmad Byagowi
2026-11-27 19:22 ` [PATCH net v7 2/7] net: dsa: sja1105: keep pin function on PEROUT disable Ahmad Byagowi
2026-11-27 19:22 ` [PATCH net v7 3/7] ptp: ocp: preserve timestamp routes on DPLL frequency changes Ahmad Byagowi
2026-11-27 19:22 ` [PATCH net v7 4/7] ptp: ocp: recover SMA direction from both enable bits on bind Ahmad Byagowi
2026-11-27 19:23 ` [PATCH net v7 5/7] ptp: ocp: report disabled SMA inputs as zero Hz Ahmad Byagowi
2026-11-27 19:23 ` [PATCH net v7 6/7] ptp: ocp: correct the DCF output frequency Ahmad Byagowi
2026-11-27 19:23 ` [PATCH net v7 7/7] ptp: ocp: match ART DPLL frequencies to selectors Ahmad Byagowi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261127-timecard-driver-v7-0-ahmadexp@gmail.com \
    --to=ahmadexp@gmail.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=arkadiusz.kubalewski@intel.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=jiri@resnulli.us \
    --cc=jonathan.lemon@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=milena.olech@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=olteanv@gmail.com \
    --cc=pabeni@redhat.com \
    --cc=richardcochran@gmail.com \
    --cc=vadim.fedorenko@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox