]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
clk: renesas: rcar-gen3: Add boost support to Z clocks
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 26 Mar 2021 12:01:00 +0000 (13:01 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 11 May 2021 07:57:06 +0000 (09:57 +0200)
commit3a0e84845891eebccce767b4f8cd5ed1b9bffc14
tree7d4a2b2c9b1fb524e8ef634b98df8a935a34cb73
parent3f70795636853214fd941d3ffe0a9701176cb8ba
clk: renesas: rcar-gen3: Add boost support to Z clocks

Add support for switching the Z and Z2 clocks between normal and boost
modes, by requesting clock rate changes to parent PLLs.

Inspired by a patch in the BSP by Takeshi Kihara
<takeshi.kihara.df@renesas.com>.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20210326120100.1577596-8-geert+renesas@glider.be
drivers/clk/renesas/rcar-gen3-cpg.c