Skip to content

Commit e200b06

Browse files
claudiubezneageertu
authored andcommitted
clk: renesas: r9a08g045: Add power domain for RTC
The RTC and VBATTB don't share the MSTOP control bit (but only the bus clock and the reset signal). As the MSTOP control is modeled though power domains add power domain support for the RTC device 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 ba73f1e commit e200b06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/clk/renesas/r9a08g045-cpg.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,8 @@ static const struct rzg2l_cpg_pm_domain_init_data r9a08g045_pm_domains[] = {
309309
DEF_PD("vbat", R9A08G045_PD_VBAT,
310310
DEF_REG_CONF(CPG_BUS_MCPU3_MSTOP, BIT(8)),
311311
GENPD_FLAG_ALWAYS_ON),
312+
DEF_PD("rtc", R9A08G045_PD_RTC,
313+
DEF_REG_CONF(CPG_BUS_MCPU3_MSTOP, BIT(7)), 0),
312314
};
313315

314316
const struct rzg2l_cpg_info r9a08g045_cpg_info = {

0 commit comments

Comments
 (0)