]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: rockchip: Implement rockchip_clk_register_armclk_multi_pll()
authorElaine Zhang <zhangqing@rock-chips.com>
Tue, 11 Nov 2025 02:57:34 +0000 (10:57 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 20 Nov 2025 19:50:23 +0000 (20:50 +0100)
commit826eaa8f5bac6e919cf7c0b4161b2d783fdc45b3
tree73bfd298a5edabc46b2d40745c1c102a7d0507c7
parentca38f0f65eefd79889b409c89c6932d7e2fe0993
clk: rockchip: Implement rockchip_clk_register_armclk_multi_pll()

The current path will have an independent PLL(LPLL\BPLL)
exclusively for the CPU to use.
As follows:

            |-\
    --lpll--|  \
            |mux|--[gate]--[div]--clk_core--
    --gpll--|  /
            |-/

The new chip does not have a dedicated PLL for the cpu;
it is distributed nearby from the common PLL.
If there are special frequency requirements that require the
use of pvtpll, explanations will be submitted later.

The clock path of new soc CPU simplified as follows:

    --gpll--|--\
            |   \
            |    \
            |     \
   --v0pll--| mux |--[gate]--[div]--clk_core--
            |     /
            |    /
   --v1pll--|   /
            |--/

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Link: https://patch.msgid.link/20251111025738.869847-2-zhangqing@rock-chips.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-cpu.c
drivers/clk/rockchip/clk.c
drivers/clk/rockchip/clk.h