[PATCH net-next v2 0/3] dpll: add phase offset averaging factor

Ivan Vecera posted 3 patches 4 days, 12 hours ago
Documentation/driver-api/dpll.rst     | 18 +++++++-
Documentation/netlink/specs/dpll.yaml |  6 +++
drivers/dpll/dpll_netlink.c           | 66 ++++++++++++++++++++++++---
drivers/dpll/dpll_nl.c                |  5 +-
drivers/dpll/zl3073x/core.c           | 38 +++++++++++++--
drivers/dpll/zl3073x/core.h           | 15 +++++-
drivers/dpll/zl3073x/dpll.c           | 58 +++++++++++++++++++++++
drivers/dpll/zl3073x/dpll.h           |  2 +
include/linux/dpll.h                  |  6 +++
include/uapi/linux/dpll.h             |  1 +
10 files changed, 199 insertions(+), 16 deletions(-)
[PATCH net-next v2 0/3] dpll: add phase offset averaging factor
Posted by Ivan Vecera 4 days, 12 hours ago
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           | 66 ++++++++++++++++++++++++---
 drivers/dpll/dpll_nl.c                |  5 +-
 drivers/dpll/zl3073x/core.c           | 38 +++++++++++++--
 drivers/dpll/zl3073x/core.h           | 15 +++++-
 drivers/dpll/zl3073x/dpll.c           | 58 +++++++++++++++++++++++
 drivers/dpll/zl3073x/dpll.h           |  2 +
 include/linux/dpll.h                  |  6 +++
 include/uapi/linux/dpll.h             |  1 +
 10 files changed, 199 insertions(+), 16 deletions(-)

-- 
2.49.1
Re: [PATCH net-next v2 0/3] dpll: add phase offset averaging factor
Posted by Vadim Fedorenko 3 days, 22 hours ago
On 27.09.2025 09:49, Ivan Vecera wrote:
> 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           | 66 ++++++++++++++++++++++++---
>   drivers/dpll/dpll_nl.c                |  5 +-
>   drivers/dpll/zl3073x/core.c           | 38 +++++++++++++--
>   drivers/dpll/zl3073x/core.h           | 15 +++++-
>   drivers/dpll/zl3073x/dpll.c           | 58 +++++++++++++++++++++++
>   drivers/dpll/zl3073x/dpll.h           |  2 +
>   include/linux/dpll.h                  |  6 +++
>   include/uapi/linux/dpll.h             |  1 +
>   10 files changed, 199 insertions(+), 16 deletions(-)

For the series:
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>