Skip to content

Commit 5599c7c

Browse files
claudiubezneageertu
authored andcommitted
clk: renesas: r9a08g045: Add clocks, resets and power domain support for the TSU IP
Add clocks, resets and power domains for the TSU IP available on the Renesas RZ/G3S SoC. Signed-off-by: Claudiu Beznea <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent f6f73b8 commit 5599c7c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/clk/renesas/r9a08g045-cpg.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ static const struct rzg2l_mod_clk r9a08g045_mod_clks[] = {
241241
DEF_MOD("gpio_hclk", R9A08G045_GPIO_HCLK, R9A08G045_OSCCLK, 0x598, 0),
242242
DEF_MOD("adc_adclk", R9A08G045_ADC_ADCLK, R9A08G045_CLK_TSU, 0x5a8, 0),
243243
DEF_MOD("adc_pclk", R9A08G045_ADC_PCLK, R9A08G045_CLK_TSU, 0x5a8, 1),
244+
DEF_MOD("tsu_pclk", R9A08G045_TSU_PCLK, R9A08G045_CLK_TSU, 0x5ac, 0),
244245
DEF_MOD("vbat_bclk", R9A08G045_VBAT_BCLK, R9A08G045_OSCCLK, 0x614, 0),
245246
};
246247

@@ -279,6 +280,7 @@ static const struct rzg2l_reset r9a08g045_resets[] = {
279280
DEF_RST(R9A08G045_GPIO_SPARE_RESETN, 0x898, 2),
280281
DEF_RST(R9A08G045_ADC_PRESETN, 0x8a8, 0),
281282
DEF_RST(R9A08G045_ADC_ADRST_N, 0x8a8, 1),
283+
DEF_RST(R9A08G045_TSU_PRESETN, 0x8ac, 0),
282284
DEF_RST(R9A08G045_VBAT_BRESETN, 0x914, 0),
283285
};
284286

@@ -353,6 +355,8 @@ static const struct rzg2l_cpg_pm_domain_init_data r9a08g045_pm_domains[] = {
353355
DEF_REG_CONF(CPG_BUS_MCPU3_MSTOP, BIT(4)), 0),
354356
DEF_PD("adc", R9A08G045_PD_ADC,
355357
DEF_REG_CONF(CPG_BUS_MCPU2_MSTOP, BIT(14)), 0),
358+
DEF_PD("tsu", R9A08G045_PD_TSU,
359+
DEF_REG_CONF(CPG_BUS_MCPU2_MSTOP, BIT(15)), 0),
356360
DEF_PD("vbat", R9A08G045_PD_VBAT,
357361
DEF_REG_CONF(CPG_BUS_MCPU3_MSTOP, BIT(8)),
358362
GENPD_FLAG_ALWAYS_ON),

0 commit comments

Comments
 (0)