]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'dpll-zl3073x-add-ref-sync-pair-support'
authorJakub Kicinski <kuba@kernel.org>
Sun, 12 Apr 2026 15:27:43 +0000 (08:27 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sun, 12 Apr 2026 15:27:44 +0000 (08:27 -0700)
commitd24b443429e071e4dad662c440e2ea56000accba
tree061c0104315caa2d1a03f4a4ce49971cea9a621e
parent3f3a2aefbc661b837c8e344f944982d61c2ae037
parent14f269ae699869ddaca7c29c9c6c52288e3bfb73
Merge branch 'dpll-zl3073x-add-ref-sync-pair-support'

Ivan Vecera says:

====================
dpll: zl3073x: add ref-sync pair support

This series adds Reference-Sync pair support to the ZL3073x DPLL driver.
A Ref-Sync pair consists of a clock reference and a low-frequency sync
signal (e.g. 1 PPS) where the DPLL locks to the clock reference but
phase-aligns to the sync reference.

Patches 1-3 are preparatory cleanups and helper additions:
- Clean up esync get/set callbacks with early returns and use the
  zl3073x_out_is_ndiv() helper
- Convert open-coded clear-and-set bitfield patterns to FIELD_MODIFY()
- Add ref sync control and output clock type accessor helpers

Patch 4 adds the 'ref-sync-sources' phandle-array property to the
dpll-pin device tree binding schema and updates the ZL3073x binding
examples.

Patch 5 implements the driver support:
- ref_sync_get/set callbacks with frequency validation
- Automatic sync source exclusion from reference selection
- Device tree based ref-sync pair registration

Tested and verified on Microchip EDS2 (pcb8385) development board.
====================

Link: https://patch.msgid.link/20260408102716.443099-1-ivecera@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>