Skip to content

Commit 34e869e

Browse files
Ovidiu Panaitgregkh
authored andcommitted
clk: renesas: r9a09g057: Add clock and reset entries for RTC
[ Upstream commit 7a03ef9 ] Add module clock and reset entries for the RTC module on the Renesas RZ/V2H (R9A09G057) SoC. Signed-off-by: Ovidiu Panait <ovidiu.panait.rb@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/20251021080705.18116-2-ovidiu.panait.rb@renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Stable-dep-of: 1b4f047 ("clk: renesas: r9a09g057: Remove entries for WDT{0,2,3}") Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 87534f2 commit 34e869e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/clk/renesas/r9a09g057-cpg.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ static const struct rzv2h_mod_clk r9a09g057_mod_clks[] __initconst = {
239239
BUS_MSTOP(5, BIT(13))),
240240
DEF_MOD("wdt_3_clk_loco", CLK_QEXTAL, 5, 2, 2, 18,
241241
BUS_MSTOP(5, BIT(13))),
242+
DEF_MOD("rtc_0_clk_rtc", CLK_PLLCM33_DIV16, 5, 3, 2, 19,
243+
BUS_MSTOP(3, BIT(11) | BIT(12))),
242244
DEF_MOD("rspi_0_pclk", CLK_PLLCLN_DIV8, 5, 4, 2, 20,
243245
BUS_MSTOP(11, BIT(0))),
244246
DEF_MOD("rspi_0_pclk_sfr", CLK_PLLCLN_DIV8, 5, 5, 2, 21,
@@ -401,6 +403,8 @@ static const struct rzv2h_reset r9a09g057_resets[] __initconst = {
401403
DEF_RST(7, 6, 3, 7), /* WDT_1_RESET */
402404
DEF_RST(7, 7, 3, 8), /* WDT_2_RESET */
403405
DEF_RST(7, 8, 3, 9), /* WDT_3_RESET */
406+
DEF_RST(7, 9, 3, 10), /* RTC_0_RST_RTC */
407+
DEF_RST(7, 10, 3, 11), /* RTC_0_RST_RTC_V */
404408
DEF_RST(7, 11, 3, 12), /* RSPI_0_PRESETN */
405409
DEF_RST(7, 12, 3, 13), /* RSPI_0_TRESETN */
406410
DEF_RST(7, 13, 3, 14), /* RSPI_1_PRESETN */

0 commit comments

Comments
 (0)