Skip to content

dpll: zl3073x: Read clock ID from device property

Ivan Vecera linux-devicetree lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: dpll: Add clock ID propertyDocumentation/devicetree/bindings/dpll/dpll-device.yaml+5 -011 replies
2/2dpll: zl3073x: Initialize clock ID from device propertydrivers/dpll/zl3073x/core.c+27 -50 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchPrathosh Satish
1/2
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] dpll: zl3073x: Read clock ID from device property

The current ZL3073x firmware revisions do not provide any information unique for the particular chip that could be use to generate clock ID necessary for a DPLL device registration.

Currently the driver generates random clock ID during probe and a user have and option to change this value using devlink interface.

The situation is very similar to network controllers that do not have assigned a fixed MAC address.

The purpose of this series is to allow to specify the clock ID property through DT. If the property is not provided then the driver will use randomly generated value as fallback.

Patch breakdown:
Patch 1 - adds clock-id property to dpll-device DT schema Patch 2 - adds support for this DT property in zl3073x driver

Ivan Vecera (2):
dt-bindings: dpll: Add clock ID property
dpll: zl3073x: Initialize clock ID from device property

 .../devicetree/bindings/dpll/dpll-device.yaml |  5 +++
 drivers/dpll/zl3073x/core.c                   | 32 ++++++++++++++++---
 2 files changed, 32 insertions(+), 5 deletions(-)
Signature · 1 line
2.49.1