Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clk: renesas: r9a09g047: Add CA55 core clocks

Add CA55 core clocks which are derived from PLLCA55.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/20241213123550.289193-4-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

authored by

Biju Das and committed by
Geert Uytterhoeven
3baf0273 bb6a9aaf

+16
+16
drivers/clk/renesas/r9a09g047-cpg.c
··· 37 37 MOD_CLK_BASE, 38 38 }; 39 39 40 + static const struct clk_div_table dtable_1_8[] = { 41 + {0, 1}, 42 + {1, 2}, 43 + {2, 4}, 44 + {3, 8}, 45 + {0, 0}, 46 + }; 47 + 40 48 static const struct clk_div_table dtable_2_64[] = { 41 49 {0, 2}, 42 50 {1, 4}, ··· 73 65 74 66 /* Core Clocks */ 75 67 DEF_FIXED("sys_0_pclk", R9A09G047_SYS_0_PCLK, CLK_QEXTAL, 1, 1), 68 + DEF_DDIV("ca55_0_coreclk0", R9A09G047_CA55_0_CORECLK0, CLK_PLLCA55, 69 + CDDIV1_DIVCTL0, dtable_1_8), 70 + DEF_DDIV("ca55_0_coreclk1", R9A09G047_CA55_0_CORECLK1, CLK_PLLCA55, 71 + CDDIV1_DIVCTL1, dtable_1_8), 72 + DEF_DDIV("ca55_0_coreclk2", R9A09G047_CA55_0_CORECLK2, CLK_PLLCA55, 73 + CDDIV1_DIVCTL2, dtable_1_8), 74 + DEF_DDIV("ca55_0_coreclk3", R9A09G047_CA55_0_CORECLK3, CLK_PLLCA55, 75 + CDDIV1_DIVCTL3, dtable_1_8), 76 76 DEF_FIXED("iotop_0_shclk", R9A09G047_IOTOP_0_SHCLK, CLK_PLLCM33_DIV16, 1, 1), 77 77 }; 78 78