linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] dpll: Add support for phase adjustment granularity
@ 2025-10-29 15:32 Ivan Vecera
  2025-10-29 15:32 ` [PATCH net-next v2 1/2] dpll: add phase-adjust-gran pin attribute Ivan Vecera
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Ivan Vecera @ 2025-10-29 15:32 UTC (permalink / raw)
  To: netdev
  Cc: Vadim Fedorenko, Arkadiusz Kubalewski, Jiri Pirko,
	Jonathan Corbet, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Simon Horman, Donald Hunter, Prathosh Satish,
	linux-doc, linux-kernel

Phase-adjust values are currently limited only by a min-max range. Some
hardware requires, for certain pin types, that values be multiples of
a specific granularity, as in the zl3073x driver.

Patch 1: Adds 'phase-adjust-gran' pin attribute and an appropriate
         handling
Patch 2: Adds a support for this attribute into zl3073x driver

Changes:
v2:
* changed type for the attribute to u32 and added explicit cast to s32 during
  remainder computation (per Jiri's request) 

Ivan Vecera (2):
  dpll: add phase-adjust-gran pin attribute
  dpll: zl3073x: Specify phase adjustment granularity for pins

 Documentation/driver-api/dpll.rst     | 36 +++++++++--------
 Documentation/netlink/specs/dpll.yaml |  7 ++++
 drivers/dpll/dpll_netlink.c           | 12 +++++-
 drivers/dpll/zl3073x/dpll.c           | 58 +++++++--------------------
 drivers/dpll/zl3073x/prop.c           | 11 +++++
 include/linux/dpll.h                  |  1 +
 include/uapi/linux/dpll.h             |  1 +
 7 files changed, 65 insertions(+), 61 deletions(-)

-- 
2.51.0


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

end of thread, other threads:[~2025-11-01  1:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-29 15:32 [PATCH net-next v2 0/2] dpll: Add support for phase adjustment granularity Ivan Vecera
2025-10-29 15:32 ` [PATCH net-next v2 1/2] dpll: add phase-adjust-gran pin attribute Ivan Vecera
2025-10-31 11:11   ` Jiri Pirko
2025-10-31 11:51   ` Kubalewski, Arkadiusz
2025-10-29 15:32 ` [PATCH net-next v2 2/2] dpll: zl3073x: Specify phase adjustment granularity for pins Ivan Vecera
2025-10-31 11:57   ` Kubalewski, Arkadiusz
2025-11-01  1:10 ` [PATCH net-next v2 0/2] dpll: Add support for phase adjustment granularity 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).