Skip to content

Commit 755cb95

Browse files
claudiubezneageertu
authored andcommitted
clk: renesas: r9a08g045: Add IA55 pclk and its reset
An IA55 interrupt controller is available on the RZ/G3S SoC. Add the IA55 pclk and its reset. Signed-off-by: Claudiu Beznea <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 5f9e29b commit 755cb95

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/clk/renesas/r9a08g045-cpg.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ static const struct cpg_core_clk r9a08g045_core_clks[] __initconst = {
188188

189189
static const struct rzg2l_mod_clk r9a08g045_mod_clks[] = {
190190
DEF_MOD("gic_gicclk", R9A08G045_GIC600_GICCLK, R9A08G045_CLK_P1, 0x514, 0),
191+
DEF_MOD("ia55_pclk", R9A08G045_IA55_PCLK, R9A08G045_CLK_P2, 0x518, 0),
191192
DEF_MOD("ia55_clk", R9A08G045_IA55_CLK, R9A08G045_CLK_P1, 0x518, 1),
192193
DEF_MOD("dmac_aclk", R9A08G045_DMAC_ACLK, R9A08G045_CLK_P3, 0x52c, 0),
193194
DEF_MOD("sdhi0_imclk", R9A08G045_SDHI0_IMCLK, CLK_SD0_DIV4, 0x554, 0),
@@ -209,6 +210,7 @@ static const struct rzg2l_mod_clk r9a08g045_mod_clks[] = {
209210
static const struct rzg2l_reset r9a08g045_resets[] = {
210211
DEF_RST(R9A08G045_GIC600_GICRESET_N, 0x814, 0),
211212
DEF_RST(R9A08G045_GIC600_DBG_GICRESET_N, 0x814, 1),
213+
DEF_RST(R9A08G045_IA55_RESETN, 0x818, 0),
212214
DEF_RST(R9A08G045_SDHI0_IXRST, 0x854, 0),
213215
DEF_RST(R9A08G045_SDHI1_IXRST, 0x854, 1),
214216
DEF_RST(R9A08G045_SDHI2_IXRST, 0x854, 2),
@@ -220,6 +222,7 @@ static const struct rzg2l_reset r9a08g045_resets[] = {
220222

221223
static const unsigned int r9a08g045_crit_mod_clks[] __initconst = {
222224
MOD_CLK_BASE + R9A08G045_GIC600_GICCLK,
225+
MOD_CLK_BASE + R9A08G045_IA55_PCLK,
223226
MOD_CLK_BASE + R9A08G045_IA55_CLK,
224227
MOD_CLK_BASE + R9A08G045_DMAC_ACLK,
225228
};

0 commit comments

Comments
 (0)