Skip to content

Commit f0b62b0

Browse files
bijudasgeertu
authored andcommitted
clk: renesas: r9a07g044: Add GPU clock and reset entries
Add GPU clock and reset entries to CPG driver. Signed-off-by: Biju Das <[email protected]> Reviewed-by: Lad Prabhakar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 7ef9c45 commit f0b62b0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

drivers/clk/renesas/r9a07g044-cpg.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,12 @@ static struct rzg2l_mod_clk r9a07g044_mod_clks[] = {
198198
0x554, 6),
199199
DEF_MOD("sdhi1_aclk", R9A07G044_SDHI1_ACLK, R9A07G044_CLK_P1,
200200
0x554, 7),
201+
DEF_MOD("gpu_clk", R9A07G044_GPU_CLK, R9A07G044_CLK_G,
202+
0x558, 0),
203+
DEF_MOD("gpu_axi_clk", R9A07G044_GPU_AXI_CLK, R9A07G044_CLK_P1,
204+
0x558, 1),
205+
DEF_MOD("gpu_ace_clk", R9A07G044_GPU_ACE_CLK, R9A07G044_CLK_P1,
206+
0x558, 2),
201207
DEF_MOD("ssi0_pclk", R9A07G044_SSI0_PCLK2, R9A07G044_CLK_P0,
202208
0x570, 0),
203209
DEF_MOD("ssi0_sfr", R9A07G044_SSI0_PCLK_SFR, R9A07G044_CLK_P0,
@@ -285,6 +291,9 @@ static struct rzg2l_reset r9a07g044_resets[] = {
285291
DEF_RST(R9A07G044_SPI_RST, 0x850, 0),
286292
DEF_RST(R9A07G044_SDHI0_IXRST, 0x854, 0),
287293
DEF_RST(R9A07G044_SDHI1_IXRST, 0x854, 1),
294+
DEF_RST(R9A07G044_GPU_RESETN, 0x858, 0),
295+
DEF_RST(R9A07G044_GPU_AXI_RESETN, 0x858, 1),
296+
DEF_RST(R9A07G044_GPU_ACE_RESETN, 0x858, 2),
288297
DEF_RST(R9A07G044_SSI0_RST_M2_REG, 0x870, 0),
289298
DEF_RST(R9A07G044_SSI1_RST_M2_REG, 0x870, 1),
290299
DEF_RST(R9A07G044_SSI2_RST_M2_REG, 0x870, 2),

0 commit comments

Comments
 (0)