netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] dpll: add phase offset averaging factor
@ 2025-09-27  8:49 Ivan Vecera
  2025-09-27  8:49 ` [PATCH net-next v2 1/3] dpll: add phase-offset-avg-factor device attribute to netlink spec Ivan Vecera
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Ivan Vecera @ 2025-09-27  8:49 UTC (permalink / raw)
  To: netdev
  Cc: Vadim Fedorenko, Arkadiusz Kubalewski, Jiri Pirko,
	Jonathan Corbet, Donald Hunter, Jakub Kicinski, David S. Miller,
	Eric Dumazet, Paolo Abeni, Simon Horman, Prathosh Satish,
	Chuck Lever, linux-doc, linux-kernel, Michal Schmidt, Petr Oros

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-09-30  2:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-27  8:49 [PATCH net-next v2 0/3] dpll: add phase offset averaging factor Ivan Vecera
2025-09-27  8:49 ` [PATCH net-next v2 1/3] dpll: add phase-offset-avg-factor device attribute to netlink spec Ivan Vecera
2025-09-27 14:09   ` Vadim Fedorenko
2025-09-27  8:49 ` [PATCH net-next v2 2/3] dpll: add phase_offset_avg_factor_get/set callback ops Ivan Vecera
2025-09-27  8:49 ` [PATCH net-next v2 3/3] dpll: zl3073x: Allow to configure phase offset averaging factor Ivan Vecera
2025-09-27 22:52 ` [PATCH net-next v2 0/3] dpll: add " Vadim Fedorenko
2025-09-30  2:30 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).