Skip to content

Commit 6132643

Browse files
Fabrizio Castrogeertu
authored andcommitted
clk: renesas: r9a09g057: Add entries for the RSPIs
Add clock and reset entries for the Renesas RZ/V2H(P) RSPI IPs. Signed-off-by: Fabrizio Castro <[email protected]> Reviewed-by: Biju Das <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent b7c26cb commit 6132643

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

drivers/clk/renesas/r9a09g057-cpg.c

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,24 @@ static const struct rzv2h_mod_clk r9a09g057_mod_clks[] __initconst = {
217217
BUS_MSTOP(5, BIT(13))),
218218
DEF_MOD("wdt_3_clk_loco", CLK_QEXTAL, 5, 2, 2, 18,
219219
BUS_MSTOP(5, BIT(13))),
220+
DEF_MOD("rspi_0_pclk", CLK_PLLCLN_DIV8, 5, 4, 2, 20,
221+
BUS_MSTOP(11, BIT(0))),
222+
DEF_MOD("rspi_0_pclk_sfr", CLK_PLLCLN_DIV8, 5, 5, 2, 21,
223+
BUS_MSTOP(11, BIT(0))),
224+
DEF_MOD("rspi_0_tclk", CLK_PLLCLN_DIV8, 5, 6, 2, 22,
225+
BUS_MSTOP(11, BIT(0))),
226+
DEF_MOD("rspi_1_pclk", CLK_PLLCLN_DIV8, 5, 7, 2, 23,
227+
BUS_MSTOP(11, BIT(1))),
228+
DEF_MOD("rspi_1_pclk_sfr", CLK_PLLCLN_DIV8, 5, 8, 2, 24,
229+
BUS_MSTOP(11, BIT(1))),
230+
DEF_MOD("rspi_1_tclk", CLK_PLLCLN_DIV8, 5, 9, 2, 25,
231+
BUS_MSTOP(11, BIT(1))),
232+
DEF_MOD("rspi_2_pclk", CLK_PLLCLN_DIV8, 5, 10, 2, 26,
233+
BUS_MSTOP(11, BIT(2))),
234+
DEF_MOD("rspi_2_pclk_sfr", CLK_PLLCLN_DIV8, 5, 11, 2, 27,
235+
BUS_MSTOP(11, BIT(2))),
236+
DEF_MOD("rspi_2_tclk", CLK_PLLCLN_DIV8, 5, 12, 2, 28,
237+
BUS_MSTOP(11, BIT(2))),
220238
DEF_MOD("scif_0_clk_pck", CLK_PLLCM33_DIV16, 8, 15, 4, 15,
221239
BUS_MSTOP(3, BIT(14))),
222240
DEF_MOD("riic_8_ckm", CLK_PLLCM33_DIV16, 9, 3, 4, 19,
@@ -349,6 +367,12 @@ static const struct rzv2h_reset r9a09g057_resets[] __initconst = {
349367
DEF_RST(7, 6, 3, 7), /* WDT_1_RESET */
350368
DEF_RST(7, 7, 3, 8), /* WDT_2_RESET */
351369
DEF_RST(7, 8, 3, 9), /* WDT_3_RESET */
370+
DEF_RST(7, 11, 3, 12), /* RSPI_0_PRESETN */
371+
DEF_RST(7, 12, 3, 13), /* RSPI_0_TRESETN */
372+
DEF_RST(7, 13, 3, 14), /* RSPI_1_PRESETN */
373+
DEF_RST(7, 14, 3, 15), /* RSPI_1_TRESETN */
374+
DEF_RST(7, 15, 3, 16), /* RSPI_2_PRESETN */
375+
DEF_RST(8, 0, 3, 17), /* RSPI_2_TRESETN */
352376
DEF_RST(9, 5, 4, 6), /* SCIF_0_RST_SYSTEM_N */
353377
DEF_RST(9, 8, 4, 9), /* RIIC_0_MRST */
354378
DEF_RST(9, 9, 4, 10), /* RIIC_1_MRST */

0 commit comments

Comments
 (0)