diff options
author | Ivan Vecera <ivecera@redhat.com> | 2025-09-27 10:49:12 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-29 18:57:41 -0700 |
commit | 9363b4837659d1b7ee04cfa714373ce4b4b8269f (patch) | |
tree | 62051a47e9889f0c2e17904b084ac407cb70e23a /rust/helpers/rcu.c | |
parent | e28d5a68b6519ec6b2118a3f604295b5534eeb51 (diff) |
dpll: zl3073x: Allow to configure phase offset averaging factor
The DPLL phase measurement block uses an exponential moving average with
a configurable averaging factor. Measurements are taken at approximately
40 Hz or at the reference frequency, whichever is lower.
Currently, factor=2 is used to prioritize fast response for dynamic
phase changes. For applications needing a stable, precise average phase
offset where rapid changes are unlikely, a higher factor is recommended.
Implement the .phase_offset_avg_factor_get/set callbacks to allow a user
to adjust this factor.
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20250927084912.2343597-4-ivecera@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/rcu.c')
0 files changed, 0 insertions, 0 deletions