Skip to content

dpll: Add support for phase adjustment granularity

Ivan Vecera linux-doc lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesApplied 2/2
  2. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2dpll: add phase-adjust-gran pin attributeDocumentation/driver-api/dpll.rst Documentation/netlink/specs/dpll.yaml drivers/dpll/dpll_netlink.c +2 more+40 -172 repliesApplied
2/2dpll: zl3073x: Specify phase adjustment granularity for pinsdrivers/dpll/zl3073x/dpll.c drivers/dpll/zl3073x/prop.c+25 -441 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMichal SchmidtPetr OrosPrathosh SatishJiri PirkoArkadiusz Kubalewski
1/2R-b R-b T-b R-b R-b
2/2R-b R-b T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

Cover letter [PATCH net-next v2 0/2] dpll: Add support for phase adjustment granularity

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(-)
Signature · 1 line
2.51.0