Skip to content

Commit 1b4f047

Browse files
Fabrizio Castrogeertu
authored andcommitted
clk: renesas: r9a09g057: Remove entries for WDT{0,2,3}
The HW user manual for the Renesas RZ/V2H(P) SoC specifies that only the WDT1 IP is supposed to be used by Linux, while the WDT{0,2,3} IPs are supposed to be used by the CM33 and CR8 cores. Remove the clock and reset entries for WDT{0,2,3} to prevent interfering with the CM33 and CR8 cores. This change is harmless as only WDT1 is used by Linux, there are no users for the WDT{0,2,3} cores. Fixes: 3aeccbe ("clk: renesas: r9a09g057: Add clock and reset entries for GTM/RIIC/SDHI/WDT") Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/20260203124247.7320-4-fabrizio.castro.jz@renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent dc71d92 commit 1b4f047

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

drivers/clk/renesas/r9a09g057-cpg.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -280,22 +280,10 @@ static const struct rzv2h_mod_clk r9a09g057_mod_clks[] __initconst = {
280280
BUS_MSTOP(11, BIT(15))),
281281
DEF_MOD("gtm_7_pclk", CLK_PLLCLN_DIV16, 4, 10, 2, 10,
282282
BUS_MSTOP(12, BIT(0))),
283-
DEF_MOD("wdt_0_clkp", CLK_PLLCM33_DIV16, 4, 11, 2, 11,
284-
BUS_MSTOP(3, BIT(10))),
285-
DEF_MOD("wdt_0_clk_loco", CLK_QEXTAL, 4, 12, 2, 12,
286-
BUS_MSTOP(3, BIT(10))),
287283
DEF_MOD("wdt_1_clkp", CLK_PLLCLN_DIV16, 4, 13, 2, 13,
288284
BUS_MSTOP(1, BIT(0))),
289285
DEF_MOD("wdt_1_clk_loco", CLK_QEXTAL, 4, 14, 2, 14,
290286
BUS_MSTOP(1, BIT(0))),
291-
DEF_MOD("wdt_2_clkp", CLK_PLLCLN_DIV16, 4, 15, 2, 15,
292-
BUS_MSTOP(5, BIT(12))),
293-
DEF_MOD("wdt_2_clk_loco", CLK_QEXTAL, 5, 0, 2, 16,
294-
BUS_MSTOP(5, BIT(12))),
295-
DEF_MOD("wdt_3_clkp", CLK_PLLCLN_DIV16, 5, 1, 2, 17,
296-
BUS_MSTOP(5, BIT(13))),
297-
DEF_MOD("wdt_3_clk_loco", CLK_QEXTAL, 5, 2, 2, 18,
298-
BUS_MSTOP(5, BIT(13))),
299287
DEF_MOD("rtc_0_clk_rtc", CLK_PLLCM33_DIV16, 5, 3, 2, 19,
300288
BUS_MSTOP(3, BIT(11) | BIT(12))),
301289
DEF_MOD("rspi_0_pclk", CLK_PLLCLN_DIV8, 5, 4, 2, 20,
@@ -598,10 +586,7 @@ static const struct rzv2h_reset r9a09g057_resets[] __initconst = {
598586
DEF_RST(7, 2, 3, 3), /* GTM_5_PRESETZ */
599587
DEF_RST(7, 3, 3, 4), /* GTM_6_PRESETZ */
600588
DEF_RST(7, 4, 3, 5), /* GTM_7_PRESETZ */
601-
DEF_RST(7, 5, 3, 6), /* WDT_0_RESET */
602589
DEF_RST(7, 6, 3, 7), /* WDT_1_RESET */
603-
DEF_RST(7, 7, 3, 8), /* WDT_2_RESET */
604-
DEF_RST(7, 8, 3, 9), /* WDT_3_RESET */
605590
DEF_RST(8, 1, 3, 18), /* RSCI0_PRESETN */
606591
DEF_RST(8, 2, 3, 19), /* RSCI0_TRESETN */
607592
DEF_RST(8, 3, 3, 20), /* RSCI1_PRESETN */

0 commit comments

Comments
 (0)