Skip to content

Commit 05031de

Browse files
prabhakarladgeertu
authored andcommitted
clk: renesas: r9a09g057: Add clock and reset entries for GIC
Add clock and reset entries for GIC. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/20250102181839.352599-7-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent 7e3557b commit 05031de

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/clk/renesas/r9a09g057-cpg.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ static const struct cpg_core_clk r9a09g057_core_clks[] __initconst = {
117117
static const struct rzv2h_mod_clk r9a09g057_mod_clks[] __initconst = {
118118
DEF_MOD_CRITICAL("icu_0_pclk_i", CLK_PLLCM33_DIV16, 0, 5, 0, 5,
119119
BUS_MSTOP_NONE),
120+
DEF_MOD_CRITICAL("gic_0_gicclk", CLK_PLLDTY_ACPU_DIV4, 1, 3, 0, 19,
121+
BUS_MSTOP(3, BIT(5))),
120122
DEF_MOD("gtm_0_pclk", CLK_PLLCM33_DIV16, 4, 3, 2, 3,
121123
BUS_MSTOP(5, BIT(10))),
122124
DEF_MOD("gtm_1_pclk", CLK_PLLCM33_DIV16, 4, 4, 2, 4,
@@ -222,6 +224,8 @@ static const struct rzv2h_mod_clk r9a09g057_mod_clks[] __initconst = {
222224
static const struct rzv2h_reset r9a09g057_resets[] __initconst = {
223225
DEF_RST(3, 0, 1, 1), /* SYS_0_PRESETN */
224226
DEF_RST(3, 6, 1, 7), /* ICU_0_PRESETN_I */
227+
DEF_RST(3, 8, 1, 9), /* GIC_0_GICRESET_N */
228+
DEF_RST(3, 9, 1, 10), /* GIC_0_DBG_GICRESET_N */
225229
DEF_RST(6, 13, 2, 30), /* GTM_0_PRESETZ */
226230
DEF_RST(6, 14, 2, 31), /* GTM_1_PRESETZ */
227231
DEF_RST(6, 15, 3, 0), /* GTM_2_PRESETZ */

0 commit comments

Comments
 (0)