Skip to content

Commit 275e2b5

Browse files
prabhakarladgeertu
authored andcommitted
clk: renesas: r9a09g077: Add PCLKL core clock
Add the Peripheral Module Clock L (PCLKL) for the RZ/T2H (R9A09G077) SoC. PCLKL is sourced from PLL1 and runs at 62.5MHz. It is used by various low-speed peripherals such as IIC and WDT. Also update LAST_DT_CORE_CLK to reflect the addition of PCLKL, ensuring correct enumeration of core clocks exposed to DT. Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent a9f57b8 commit 275e2b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/clk/renesas/r9a09g077-cpg.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ enum rzt2h_clk_types {
6666

6767
enum clk_ids {
6868
/* Core Clock Outputs exported to DT */
69-
LAST_DT_CORE_CLK = R9A09G077_CLK_PCLKM,
69+
LAST_DT_CORE_CLK = R9A09G077_CLK_PCLKL,
7070

7171
/* External Input Clocks */
7272
CLK_EXTAL,
@@ -140,6 +140,7 @@ static const struct cpg_core_clk r9a09g077_core_clks[] __initconst = {
140140
dtable_1_2),
141141
DEF_FIXED("PCLKGPTL", R9A09G077_CLK_PCLKGPTL, CLK_SEL_CLK_PLL1, 2, 1),
142142
DEF_FIXED("PCLKM", R9A09G077_CLK_PCLKM, CLK_SEL_CLK_PLL1, 8, 1),
143+
DEF_FIXED("PCLKL", R9A09G077_CLK_PCLKL, CLK_SEL_CLK_PLL1, 16, 1),
143144
};
144145

145146
static const struct mssr_mod_clk r9a09g077_mod_clks[] __initconst = {

0 commit comments

Comments
 (0)