Re: [PATCH 2/2] clk: meson: regmap: use the current divisor for read-only clocks

From: Jerome Brunet

Date: Thu Oct 29 2026 - 07:10:39 EST


> None of the Meson clocks using clk_regmap_divider_ro_ops set
> CLK_DIVIDER_READ_ONLY. Without that flag, the shared rounding callback
> can choose a new divisor even though these ops cannot program it. The
> clock core may then adjust child clocks using the wrong parent rate.
>
> Make the read-only ops always round using the current hardware divisor.
> Parent rate changes remain allowed with CLK_SET_RATE_PARENT.
>
> Signed-off-by: Carlo Caione <ccaione@xxxxxxxxxxxx>

Fixes tag maybe ?

With this

Reviewed-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx>

--
Jerome