Thread (6 messages) 6 messages, 3 authors, 2025-09-08

Re: [PATCH v2] clk: scmi: migrate round_rate() to determine_rate()

From: Brian Masney <bmasney@redhat.com>
Date: 2025-09-08 17:12:47
Also in: arm-scmi, linux-clk, lkml

On Wed, Aug 27, 2025 at 01:12:07PM -0400, Brian Masney wrote:
This driver implements both the determine_rate() and round_rate() clk
ops, and the round_rate() clk ops is deprecated. When both are defined,
clk_core_determine_round_nolock() from the clk core will only use the
determine_rate() clk ops.

The existing scmi_clk_determine_rate() is a noop implementation that
lets the firmware round the rate as appropriate. Drop the existing
determine_rate implementation and convert the existing round_rate()
implementation over to determine_rate().

scmi_clk_determine_rate() was added recently when the clock parent
support was added, so it's not expected that this change will regress
anything.

Signed-off-by: Brian Masney <bmasney@redhat.com>
I included this patch in this pull request to Stephen:
https://lore.kernel.org/linux-clk/aL8MXYrR5uoBa4cB@x1/T/#u (local)

Brian

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help