[PATCH v1 0/3] clock-wizard fixups

From: Colin Foster

Date: Wed May 06 2026 - 16:06:11 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.

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