Skip to content

Commit d28b1e0

Browse files
prabhakarladgeertu
authored andcommitted
clk: renesas: r9a07g044: Add entry for fixed clock P0_DIV2
Add entry for fixed core clock P0_DIV2 and assign LAST_DT_CORE_CLK to R9A07G044_CLK_P0_DIV2. Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Biju Das <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 9800190 commit d28b1e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/clk/renesas/r9a07g044-cpg.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
enum clk_ids {
1818
/* Core Clock Outputs exported to DT */
19-
LAST_DT_CORE_CLK = R9A07G044_OSCCLK,
19+
LAST_DT_CORE_CLK = R9A07G044_CLK_P0_DIV2,
2020

2121
/* External Input Clocks */
2222
CLK_EXTAL,
@@ -77,6 +77,7 @@ static const struct cpg_core_clk r9a07g044_core_clks[] __initconst = {
7777
DEF_FIXED("I", R9A07G044_CLK_I, CLK_PLL1, 1, 1),
7878
DEF_DIV("P0", R9A07G044_CLK_P0, CLK_PLL2_DIV16, DIVPL2A,
7979
dtable_1_32, CLK_DIVIDER_HIWORD_MASK),
80+
DEF_FIXED("P0_DIV2", R9A07G044_CLK_P0_DIV2, R9A07G044_CLK_P0, 1, 2),
8081
DEF_FIXED("TSU", R9A07G044_CLK_TSU, CLK_PLL2_DIV20, 1, 1),
8182
DEF_DIV("P1", R9A07G044_CLK_P1, CLK_PLL3_DIV2_4,
8283
DIVPL3B, dtable_1_32, CLK_DIVIDER_HIWORD_MASK),

0 commit comments

Comments
 (0)