Re: [PATCH v1 0/3] clock-wizard fixups

From: Datta, Shubhrajyoti

Date: Thu May 07 2026 - 08:00:19 EST



On 5/7/2026 1:35 AM, Colin Foster wrote:
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.

LGTM


Reviewed-by: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxx>



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