]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: renesas: r9a09g077: Propagate rate changes through mux parents
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Fri, 21 Nov 2025 09:08:53 +0000 (09:08 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 15 Dec 2025 10:49:10 +0000 (11:49 +0100)
commite68100006bedc361197e6cb9da1cced87ee3e5b0
tree9f4c9561e470ec5a7e0d72ca129b5967a29df219
parentec74d201e697503d8460597e2c3cc5ade222c4fb
clk: renesas: r9a09g077: Propagate rate changes through mux parents

Enable CLK_SET_RATE_PARENT for mux clocks so that rate changes can properly
propagate to their parent clocks. Several clocks in the R9A09G077 CPG tree
depend on upstream PLL or divider outputs being recalculated when a child
requests a new frequency. Without this flag, rate adjustments stop at the
mux layer, leaving parent rates unchanged and preventing the clock tree
from converging on the intended values.

Set the flag in DEF_MUX to ensure that parent clocks participate in rate
negotiation, which is required for correct operation of the display and
peripheral related clocks being added for RZ/T2H support.

Fixes: 065fe720eec6e ("clk: renesas: Add support for R9A09G077 SoC")
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20251121090853.5220-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/r9a09g077-cpg.c