Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH_v2 0/3] clock-wizard fixups
@ 2026-06-29 20:53 Colin Foster
  2026-06-29 20:53 ` [PATCH_v2 1/3] clk: clocking-wizard: fix clock difference detection Colin Foster
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Colin Foster @ 2026-06-29 20:53 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel, linux-clk
  Cc: Shubhrajyoti Datta, Michal Simek, Brian Masney, Stephen Boyd,
	Michael Turquette

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-06-29 20:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-29 20:53 [PATCH_v2 0/3] clock-wizard fixups Colin Foster
2026-06-29 20:53 ` [PATCH_v2 1/3] clk: clocking-wizard: fix clock difference detection Colin Foster
2026-06-29 20:53 ` [PATCH_v2 2/3] clk: clocking-wizard: optimize clock search Colin Foster
2026-06-29 20:53 ` [PATCH_v2 3/3] clk: clocking-wizard: remove 20kHz restriction Colin Foster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox