[PATCH_v2 0/3] clock-wizard fixups

From: Colin Foster

Date: Mon Jun 29 2026 - 16:54:01 EST


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(-)

--
2.43.0