diff options
| author | 2026-10-11 08:12:09 +0200 | |
|---|---|---|
| committer | 2026-10-16 18:01:14 -0700 | |
| commit | 456027325c9cd2be94229687f2c412ae6f351bd8 (patch) | |
| tree | b3c5226ec608872296944ba5db225d84efd0be36 /scripts/Makefile.thinlto | |
| parent | dpll: zl3073x: reject inexact frequencies for N-divided outputs (diff) | |
dpll: zl3073x: reject output frequencies with too small divisor
The output divisor has to be at least 2: a divisor of 1 bypasses the
divider and the hardware then ignores the pulse width and eSync
registers. For the N-pin of an N-divided output the N divider (>= 2)
applies on top, so its effective divisor has to be at least 4.
zl3073x_pin_check_freq() only checked that the frequency divides the
synth frequency. Require also the minimum divisor. For N-divided
outputs this is necessary but not sufficient, the rest is checked by
the frequency set callback.
Hit during development: an N-pin frequency that needs an N divider of 1
was accepted, and with esync_n_period = 1 the N-pin produced no output
on an oscilloscope.
Fixes: a99a9f0ebdaa ("dpll: zl3073x: Read DPLL types and pin properties from system firmware")
Reviewed-by: Petr Oros <poros@redhat.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Link: https://patch.msgid.link/20261011061211.448373-4-ivecera@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
