Skip to content

Commit 44d13e1

Browse files
Fabrizio Castrogeertu
authored andcommitted
clk: renesas: r9a09g057: Add clock and reset entries for ICU
Add clock and reset entries for the Renesas RZ/V2H(P) ICU IP block. Signed-off-by: Lad Prabhakar <[email protected]> Signed-off-by: Fabrizio Castro <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 8cce33a commit 44d13e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/clk/renesas/r9a09g057-cpg.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ static const struct cpg_core_clk r9a09g057_core_clks[] __initconst = {
9494
};
9595

9696
static const struct rzv2h_mod_clk r9a09g057_mod_clks[] __initconst = {
97+
DEF_MOD_CRITICAL("icu_0_pclk_i", CLK_PLLCM33_DIV16, 0, 5, 0, 5),
9798
DEF_MOD("gtm_0_pclk", CLK_PLLCM33_DIV16, 4, 3, 2, 3),
9899
DEF_MOD("gtm_1_pclk", CLK_PLLCM33_DIV16, 4, 4, 2, 4),
99100
DEF_MOD("gtm_2_pclk", CLK_PLLCLN_DIV16, 4, 5, 2, 5),
@@ -135,6 +136,7 @@ static const struct rzv2h_mod_clk r9a09g057_mod_clks[] __initconst = {
135136
};
136137

137138
static const struct rzv2h_reset r9a09g057_resets[] __initconst = {
139+
DEF_RST(3, 6, 1, 7), /* ICU_0_PRESETN_I */
138140
DEF_RST(6, 13, 2, 30), /* GTM_0_PRESETZ */
139141
DEF_RST(6, 14, 2, 31), /* GTM_1_PRESETZ */
140142
DEF_RST(6, 15, 3, 0), /* GTM_2_PRESETZ */

0 commit comments

Comments
 (0)