[PATCH net-next 0/3] dpll: add phase offset averaging factor
From: Ivan Vecera <ivecera@redhat.com>
Date: 2025-09-26 14:22:00
Also in:
linux-doc, lkml
From: Ivan Vecera <ivecera@redhat.com>
Date: 2025-09-26 14:22:00
Also in:
linux-doc, lkml
For some hardware, the phase shift may result from averaging previous values and the newly measured value. In this case, the averaging is controlled by a configurable averaging factor. Add new device level attribute phase-offset-avg-factor, appropriate callbacks and implement them in zl3073x driver. Ivan Vecera (3): dpll: add phase-offset-avg-factor device attribute to netlink spec dpll: add phase_offset_avg_factor_get/set callback ops dpll: zl3073x: Allow to configure phase offset averaging factor Documentation/driver-api/dpll.rst | 18 ++++++- Documentation/netlink/specs/dpll.yaml | 6 +++ drivers/dpll/dpll_netlink.c | 76 ++++++++++++++++++++++++--- drivers/dpll/dpll_nl.c | 5 +- drivers/dpll/zl3073x/core.c | 38 ++++++++++++-- drivers/dpll/zl3073x/core.h | 15 +++++- drivers/dpll/zl3073x/dpll.c | 59 +++++++++++++++++++++ drivers/dpll/zl3073x/dpll.h | 2 + include/linux/dpll.h | 6 +++ include/uapi/linux/dpll.h | 1 + 10 files changed, 210 insertions(+), 16 deletions(-) -- 2.49.1