clk: renesas: r8a77980: Add Z2 clock
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 16 Feb 2023 15:20:19 +0000 (16:20 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 10 Mar 2023 16:07:08 +0000 (17:07 +0100)
Add support for the Z2 (Cortex-A53 System CPU) clock on R-Car V3H, which
uses a fixed SYS-CPU divider.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/aad9eaa57acf65cbe43e4d374066a72d760d54d8.1676560357.git.geert+renesas@glider.be
drivers/clk/renesas/r8a77980-cpg-mssr.c

index 6dc63eaf115566f96672abeb535ce6556be0ea5c..bac92c606d0bf808e6b399e86892418098bd1c16 100644 (file)
@@ -72,6 +72,7 @@ static const struct cpg_core_clk r8a77980_core_clks[] __initconst = {
        DEF_RATE(".oco",        CLK_OCO,           32768),
 
        /* Core Clock Outputs */
+       DEF_FIXED("z2",         R8A77980_CLK_Z2,    CLK_PLL2,       4, 1),
        DEF_FIXED("ztr",        R8A77980_CLK_ZTR,   CLK_PLL1_DIV2,  6, 1),
        DEF_FIXED("ztrd2",      R8A77980_CLK_ZTRD2, CLK_PLL1_DIV2, 12, 1),
        DEF_FIXED("zt",         R8A77980_CLK_ZT,    CLK_PLL1_DIV2,  4, 1),