Skip to content

clock-wizard fixups

Colin Foster linux-arm-kernel linux-clk lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

v2 from the cover letter

* Rebase to apply cleanly
* Add signoffs

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3clk: clocking-wizard: fix clock difference detectiondrivers/clk/xilinx/clk-xlnx-clock-wizard.c+1 -10 replies
2/3clk: clocking-wizard: optimize clock searchdrivers/clk/xilinx/clk-xlnx-clock-wizard.c+3 -00 replies
3/3clk: clocking-wizard: remove 20kHz restrictiondrivers/clk/xilinx/clk-xlnx-clock-wizard.c+1 -20 replies

Reviews trailers per patch

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

PatchShubhrajyoti DattaBrian Masney
1/3R-b R-b
2/3R-b R-b
3/3R-b R-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_v2 0/3] clock-wizard fixups

The clock-wizard driver had a hard-coded 20KHz minimum accuracy. This led to out-of-tree drivers silently failing to set clock rates instead of dealing with the best-effort.

Remove this 20KHz restriction to match the Versal clock wizard driver. There also was a bug in the difference calculation that is addressed in the first patch.

The second patch optimizes the search if an exact match is found.

The third removes the restriction.

v2:
* Rebase to apply cleanly
* Add signoffs

Colin Foster (3):
clk: clocking-wizard: fix clock difference detection
clk: clocking-wizard: optimize clock search
clk: clocking-wizard: remove 20kHz restriction

 drivers/clk/xilinx/clk-xlnx-clock-wizard.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.0