[PATCH AUTOSEL 6.17-6.12] clk: scmi: migrate round_rate() to determine_rate()
Sasha Levin
sashal at kernel.org
Tue Oct 28 10:47:42 PDT 2025
On Sun, Oct 26, 2025 at 07:16:13PM -0400, Brian Masney wrote:
>Hi Sasha,
>
>On Sun, Oct 26, 2025 at 10:49:17AM -0400, Sasha Levin wrote:
>> From: Brian Masney <bmasney at redhat.com>
>>
>> [ Upstream commit 80cb2b6edd8368f7e1e8bf2f66aabf57aa7de4b7 ]
>>
>> 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.
>>
>> Reviewed-by: Sudeep Holla <sudeep.holla at arm.com>
>> Reviewed-by: Peng Fan <peng.fan at nxp.com>
>> Tested-by: Peng Fan <peng.fan at nxp.com> #i.MX95-19x19-EVK
>> Signed-off-by: Brian Masney <bmasney at redhat.com>
>> Signed-off-by: Sasha Levin <sashal at kernel.org>
>
>Please drop this commit from all stable backports.
Ack, thanks for the review!
--
Thanks,
Sasha
More information about the linux-arm-kernel
mailing list