From: Ivan Vecera <ivecera@redhat.com>
To: netdev@vger.kernel.org
Cc: Vadim Fedorenko <vadim.fedorenko@linux.dev>,
Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>,
Jiri Pirko <jiri@resnulli.us>, Jonathan Corbet <corbet@lwn.net>,
Donald Hunter <donald.hunter@gmail.com>,
Jakub Kicinski <kuba@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
Prathosh Satish <Prathosh.Satish@microchip.com>,
Chuck Lever <chuck.lever@oracle.com>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
Michal Schmidt <mschmidt@redhat.com>,
Petr Oros <poros@redhat.com>
Subject: [PATCH net-next 0/3] dpll: add phase offset averaging factor
Date: Fri, 26 Sep 2025 16:21:37 +0200 [thread overview]
Message-ID: <20250926142140.691592-1-ivecera@redhat.com> (raw)
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
next reply other threads:[~2025-09-26 14:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-26 14:21 Ivan Vecera [this message]
2025-09-26 14:21 ` [PATCH net-next 1/3] dpll: add phase-offset-avg-factor device attribute to netlink spec Ivan Vecera
2025-09-26 14:21 ` [PATCH net-next 2/3] dpll: add phase_offset_avg_factor_get/set callback ops Ivan Vecera
2025-09-26 15:25 ` Vadim Fedorenko
2025-09-26 14:21 ` [PATCH net-next 3/3] dpll: zl3073x: allow to configure phase offset averaging factor Ivan Vecera
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250926142140.691592-1-ivecera@redhat.com \
--to=ivecera@redhat.com \
--cc=Prathosh.Satish@microchip.com \
--cc=arkadiusz.kubalewski@intel.com \
--cc=chuck.lever@oracle.com \
--cc=corbet@lwn.net \
--cc=davem@davemloft.net \
--cc=donald.hunter@gmail.com \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mschmidt@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=poros@redhat.com \
--cc=vadim.fedorenko@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).