]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
clk: mvebu: armada-37xx-periph: prepare cpu clk to be used with DVFS
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 30 Nov 2017 13:40:28 +0000 (14:40 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 21 Dec 2017 23:09:42 +0000 (15:09 -0800)
commit9818a7a4fd10f72537cdf2a5ec3402f2c245ea24
treed882fa041b7dd9665bff5fb8a1462fdc8b6116dc
parentadf4e289dd7f801c3fe12e0e6b491e11e548cd3d
clk: mvebu: armada-37xx-periph: prepare cpu clk to be used with DVFS

When DVFS will be enabled then the cpu clk will use a different set of
register at run time. That means that we won't be able to use the common
callback and need to use our own ones.

This patch prepares this change by switching on our own set of callbacks
without modifying the behavior of the clocks.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/mvebu/armada-37xx-periph.c