Files
Caio Felipe Cruz 2a227609b5 zl3073x: import upstream features, refactors, and fixes
This commit aggregates multiple upstream changes adding new
functionality, refactoring internal state management, and fixing several
issues in the ZL3073x DPLL driver and DPLL core. Minor downstream
adjustments were applied where required to ensure patch applicability
and compatibility with the current kernel baseline.

Upstream synchronization point:
  - Baseline tag: v6.19-rc1
  - Cutoff commit: 01e0e8b6a2d798e7403f4f636b15bcf644a7f110
  (dpll: zl3073x: Remove unused dev wrappers)

* Devlink flash and firmware loading support:

  - 0023-dpll-zl3073x-Add-functions-to-access-hardware-registers.patch
  - 0024-dpll-zl3073x-Add-low-level-flash-functions.patch
  - 0025-dpll-zl3073x-Add-firmware-loading-functionality.patch
  - 0026-dpll-zl3073x-Refactor-DPLL-initialization.patch
  - 0027-dpll-zl3073x-Implement-devlink-flash-callback.patch

* Phase offset averaging factor support:

  - 0029-dpll-add-phase-offset-avg-factor-device-attribute-to-netlink-spec.patch
  - 0031-dpll-add-phase_offset_avg_factor_get-set-callback-ops.patch
  - 0032-dpll-zl3073x-Allow-to-configure-phase-offset-averaging-factor.patch

* Phase adjustment granularity support:

  - 0037-dpll-add-phase-adjust-gran-pin-attribute.patch
  - 0038-dpll-zl3073x-Specify-phase-adjustment-granularity-for-pins.patch

* ZL3073x internal state management refactor:

  - 0039-dpll-zl3073x-Store-raw-register-values-instead-of-parsed-state.patch
  - 0040-dpll-zl3073x-Split-ref-out-and-synth-logic-from-core.patch
  - 0041-dpll-zl3073x-Cache-reference-monitor-status.patch
  - 0042-dpll-zl3073x-Cache-all-reference-properties-in-zl3073x_ref.patch
  - 0043-dpll-zl3073x-Cache-all-output-properties-in-zl3073x_out.patch
  - 0044-dpll-zl3073x-Remove-unused-dev-wrappers.patch

* Fixes and robustness improvements:

  - 0020-dpll-zl3073x-Fix-build-failure.patch
  - 0021-dpll-add-clock-quality-level-attribute-and-op.patch
  - 0022-dpll-fix-clock-quality-level-reporting.patch
  - 0033-dpll-zl3073x-Increase-maximum-size-of-flash-utility.patch
  -
    0034-dpll-zl3073x-Handle-missing-or-corrupted-flash-configuration.patch
  - 0035-dpll-zl3073x-Fix-output-pin-registration.patch

* Adjusts to fit dpll with current kernel:

  - 0028-dpll-add-phase-offset-monitor-feature-to-netlink-spec.patch
  - 0030-dpll-add-phase_offset_monitor_get-set-callback-ops.patch
  - 0036-dpll-add-reference-sync-netlink-attribute.patch

Test Plan:

PASS: Package builds correctly. Build of the modules succeeds for std
and rt.
PASS: Build the std/rt ISO and install.
PASS: Test netlink communication.
PASS: Test firmware update using devlink.
PASS: Test PTP regression.

Story: 2011659
Task: 53719

Change-Id: I7471e031283e050a78f654b5c1aade23b5fe77e8
Signed-off-by: Caio Felipe Cruz <caio.soaresdacruz@windriver.com>
2026-01-29 08:12:15 -04:00
..